Member
Member
hucste   03-04-2011, 09:51
#1

This version correct a litte bug with quantity and rewrite HTML Code for the element table that permit to view the price list...

http://zenphoto.dev.stephane-huc.net/pages/ZenPaypal-Plugin-EN
http://zenphoto.dev.stephane-huc.net/pages/ZenPaypal-Plugin-FR

Member
Member
Member
wdiggles   05-05-2011, 16:35
#3

Is there a zipped version that can be opened on a powermac w/osx 10.4? There is no software available to open a .tar.xz for an older mac. Also my host is godaddy and their ftp program will not unarchive a .tar.xz file.

Thank you,
Warren

Administrator
Administrator
acrylian   05-05-2011, 16:51
#4

That is not exactly true.
http://code.google.com/p/theunarchiver/

The latest still does run on PowerMac with 10.4 (I have one!) and is able to extract.

Member
Member
wdiggles   05-05-2011, 19:58
#5

Thank you! It worked, I stand corrected ;-)

Member
Member
wdiggles   07-05-2011, 04:33
#6

Would love to see the feature of displaying the filename in a paypal receipt instead of the imageTitle. I could just use the filename for the title.. but that is not best for seo, I want to use imageTitle as the title of my page that a image resides on which more flexible and best for seo.

That being said, using the actual filename would be best in a paypal sales receipt. I tried using getFileName in lines 403 and 404 of your zenpaypal plugin but it didn't work. Is there a way to achieve this?

Member
Member
wdiggles   07-05-2011, 23:16
#7

Still trying to figure this out, code from zenPaypal.php

if(function_exists('getAlbumTitle')) $item_name = gettext('Album: ').getAlbumTitle();
if(function_exists('getImageTitle')) $item_name .= gettext('; Image: ').getImageTitle();

If I exchange getImageTitle text for getFileName shouldn't the FileName show up on the Paypal checkout? When I do this it only displays the AlbumTitle.

Looked through documentation but can't figure it out..

Any help appreciated

Member
Member
micheall   08-05-2011, 00:31
#8

Add this to the beginning of the function:
global $_zp_gallery, $_zp_current_album, $_zp_current_image, $_zp_current_zenpage_news, $_zp_current_zenpage_page, $_zp_gallery_page, $_zp_current_category, $_zp_authority;
Then change your getImageTitle line to this:
if(is_object($_zp_current_image)) $item_name .= gettext('; Photo: ').$_zp_current_image->getFileName();

Member
Member
wdiggles   08-05-2011, 02:10
#9

Thank you! Works like a charm :-)

[i]From Paypal cart[/i]

[b]Album: Architectural Homes Interiors; Title: Brannen Homes - Northern Colorado Luxury Homes; Filename: A8EW0942.jpg[/b]

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.