Hi all,
There is a new version of the slideshow_flash plugin available, which should be compatible with Zenphoto v1.2.7+ (new plugin folder structure etc).
Download v1.2.0 here
If people with v1.2.7 or later of Zenphoto installed can give this a try and check it works I'd be grateful, as although I've had time to fix up the code, I haven't had a chance to upgrade my own Zenphoto install yet to test it. Feedback gratefully received!
Thanks all - and thanks to the people in this thread who identified the problems and how to fix.
Thanks,
Mark
Hi Mark,
I haven't been able to get this to work. ZenPhoto 1.2.8. With the files all in their places, I get a plain page:
FullScreenSlideshow
Alternative content
With a button to download Flash.
I have tested this on OS X and Linux (thinking Flash wasn't set up right on linux), and they behave similarly.
If you'd like to test, here's a URL with the plugin enabled:
http://imagegallery.t3hmikez0r.com/2005/Photo%20Class/
I have the other slideshow enabled also - but even with it disabled, this shows the same behavior.
If it helps, I have exactly the same problem as msarahan when trying to test with the Zenphoto 1.2.8.
Cheers.
http://www.standring.info/zenphoto/
Thanks Mark, that's fixed it. Tested on Firefox, IE8 and Google Chrome.
Cheers, Russell
Mark,
Three comments:
I had to make the following change in order to get this to work on zenphoto 1.2.8 (With the new plugin folder location) change all instances of:
"
to:
"
Long captions do not wrap in the flash viewer, can this be changed?
Thanks for sharing this, it is much better than the default flash slideshow plugin!
Third party plugins like this should actually be placed in the root plugins folder not zp-core/zp-extensions. Therefore the line ?php echo WEBPATH . '/' . USER_PLUGIN_FOLDER; ?>.
Btw. the default flash slideshow is actually not really a slideshow but a videoplayer showing images...;-)
@acrylian - curious, i tried placing the plugin in the root plugin folder but i didn't think it loaded, which is when i placed it in the other location. but looking back i think i forgot to upload the main php file the first time. thanks for the info!
@mr. sheep - after commenting i realized that the flash editor you were using was open source, so i downloaded the source and made the changes that i wanted. if possible i would like to get these changes moved into the trunk, either as defaults or as an option that can be enabled. Please let me know how we can best do this!
Re plugin location: not sure what the problem is exactly but would like to replicate and fix it if possible, as I thought I had put everything correct for the new user plugins folder in 1.2.8! It worked on my test install following the instructions I wrote, but I may have done something to fix it subconciously without realising!
Re source update: very happy to merge your changes in, unfortunately because of the way my web host does subversion hosting, I only have one login for it so can't share that, however if you'd like to drop me a patch/instructions/updated sources, I'll happily merge them in on your behalf, test it out, and assuming all works, merge it into the trunk for a new release.
Mark
@mr. sheep - here is a zip of the modifications i made against revision 50. http://dahmage.com/trunk.r50-withBorderOptionAndMultiline.zip
Can anyone get the slideshow_flash plugin to work with version 1.3?? Then I install it, when I got the zenphoto gallery on my website, I just get a blank page, then I remove the plugin it starts working again.
I get this error message in my severs logs...
[Fri Jul 23 10:58:54 2010] [error] [client ...] PHP Fatal error: Only variables can be passed by reference in /var/www/vhosts/gordon-valentine.com/httpdocs/photos2/plugins/slideshow_flash.php on line 73
Thanks let me know how you get on!
Hi again,
I've fixed the problem by changing "printSlideShowFlashLink" function like this:
`$hint = '';
$show = true ;
if (checkForPassword($hint,$show)) return;`
This works fine with V1.3 but should not work with 1.2.x because it seems "checkForPassword" function has 2 arguments in V1.3.
Tell me if it works for you!