i've writing a new version of zenpaypal plugin.
it's run as cart (panel) ... also, it's possible to adding few objects in the cart before billing.
To install it, please read the install.txt in the archive zip
The archive is downloadable here : http://dev.stephane-huc.net/share/zenphoto/zenpaypal.zip
The cart sounds very intriguing. I was thinking of trying to build something like that myself. I look forward to playing with your plugin. Thanks!
I've modified :
New archive : http://dev.stephane-huc.net/share/zenphoto/zenpaypal.zip
Thanks for the quick work on those hucste, only thing I can see now is that the pricelist doesn't appear at all. I've tried toggling the pricelist to true in the zenpaypal.php to no effect. Perhaps I'm missing something. I don't see any options in admin to display it or not, so not sure where it's going wrong. I'll check the cgi error log and let you know if it displays any errors.
Edit: not seeing any errors in the cgi log, so not sure...
@hucste: Thanks for taking over that one, the eZenphoto solution the original developer moved to is a little to big for many and also sadly technically speaking not optimal (it's a hack of Zenphoto 1.2.4 and not even a plugin...).
It would be great if you could make a small project page for that plugin with changelog and download that we can link to from our plugins section. Thanks!
@acrylian: project page : http://zenphoto.dev.stephane-huc.net/pages/ZenPaypal-Plugin-EN !
@micheall: dl the archive ;-)
I dropped the folder into plugins, but it's not showing up under administration > plugins so I can activate it. Am I missing something? This is in 1.2.6.
By the way, the instructions refer to"plugins" as "extensions". Should be updated.
plugins in zp-extensions: is for 1.2.7, no ?!
http://www.zenphoto.org/2008/06/zenphoto-plugins/
Quote:Optional plugins need to be placed within the zp-core/plugins folder.
Note: In the coming 1.2.7 release they will need to be place within the plugins folder within the root of your Zenphoto installation. Included standard plugins are located in zp-core/zp-extensions.
The text means that, in 1.2.7, the plugins distributed with zenphoto should be in zp-core/zp-extensions. Any other plugins (third-party or otherwise) should be placed in the plugins directory in the root of the zenphoto installation.
Just a note on that, I placed it in root/plugins folder from the get-go and it's worked flawlessly. And everything looks good hucste. I'll poke around a bit more to see if I can find anything else broken but otherwise I think you've covered everything that everyone could need with it.
Edit: One thing that might be worth adding as an option is to include the Album name for paypal as well. I know my images are normally the camera-named images and seeing Image: DSCN123124.jpg and having to sort through might be a pain.
Something like:
$zenPaypalHTML .= "\t"."\t"."\t".'form_paypal.item_name.value = "'.gettext('Album: ').getBareAlbumTitle().gettext(' - Photo: ').getImageTitle().gettext(' - Size: ').$itemparts0.gettext(' - Media: ').$itemparts1.'";'."\n";
@micheall: ty. good idea for the album. Now this is modifiable in section "Administration" ;-)
New archive :