ZenPaypal Plugin new version !

13»

Comments

  • hucste Member
    Promise, this afternoon ...
    it's an alpha version ...

    If you want know a viewing, compare :
    - this page : http://zenphoto.dev.stephane-huc.net/galerie-1/capture_galerie.stephane-huc.net.png.html (where are generals options, managed in administration)
    - this page : http://zenphoto.dev.stephane-huc.net/galerie-1/ego3_130x194px.jpg.html (where are individuals options, managed with files text)

    igual, seeing code source html ;-)
  • hucste Member
    Hello all, so good !

    the version 1.1.6.alpha is here : http://zenphoto.dev.stephane-huc.net/uploaded/zenPayPal-1.1.6.alpha.zip
    file md5 : http://zenphoto.dev.stephane-huc.net/uploaded/zenPayPal-1.1.6.alpha.md5
    file sha1 : http://zenphoto.dev.stephane-huc.net/uploaded/zenPayPal-1.1.6.alpha.sha1

    please, uncompress the archive. read the file 'install.txt'.

    the oldiers instructions for 'nopaypal' are not good. Not necessary to modify script image.php. read the file 'install.txt'.

    Now, for setting individuals options, use the field Image Custom Datas ;-) (no files text :p)

    I've a pb with my gallery, but this possible to viewing directly here :
    http://zenphoto.dev.stephane-huc.net/galerie-1/capture_galerie.stephane-huc.net.png.html
  • Thank you hucste, I'll give a try

    Regards
    Laurent
  • hucste Member
    Hello all ...

    The final version 1.1.6 is out !!! (the 1.1.6.alpha is bugged :p ... sorry)

    To use correctly this version, see http://zenphoto.dev.stephane-huc.net/pages/ZenPaypal-Plugin-EN and specialy the chapiter 'Configuration' > 'Custom Data: use specific options zenpaypal' !

    To download files: http://zenphoto.dev.stephane-huc.net/uploaded/zenPayPal-1.1.6.zip
    md5: http://zenphoto.dev.stephane-huc.net/uploaded/zenpaypal.md5
    sha1: http://zenphoto.dev.stephane-huc.net/uploaded/zenpaypal.sha1

    (for the frenchies : http://zenphoto.dev.stephane-huc.net/pages/ZenPaypal-Plugin-FR )
  • With all due respect to Mr. hucste - a lot of work involved with his coding project - I cannot get this plugin to work on ANY theme. Anyone care to assist?

    And I am happy to document the changes needed - to help others.

    New 1.3 install - all the standard themes work perfectly with 20 test images. (this is my sandbox - I have used zenphoto for a year now.)

    I download and extract, and install zenpaypal 1.1.6 into /plugins/
    I see a zenpaypal folder within the /plugins/ that has a file called zenpaypal.php
    I see inside this same folder - /plugins/zenpaypal/: changelog, install, todo, zenpaypal.css

    I edit and verify that the themes/zenpage/images.php file on the godaddy server has the mod:
    <div id="narrow">
    <?php if(function_exists('zenPaypal')) zenPaypal(); ?>
    <p><?php printImageDesc(true); ?></p>
    <?php printTags('links', gettext('Tags:').' ', 'taglist', ', '); ?>
    <br style="clear:both;" />
    <?php if (function_exists('printSlideShowLink')) {
    echo '<span id="slideshowlink">';
    printSlideShowLink(gettext('View Slideshow'));
    echo '</span>';
    }
    ?>

    I close and re-open my admin account to zenphoto, and I can find zero reference to zenpaypal within any theme, option or plugin "section" - yet I see the images.php file as modified by the install recommendations.

    Obviously I am doing something boneheaded - help?
  • hucste Member
    I don't know why !

    If you have put the plugin in dir /plugins, after uncompress it ... normally, this is displaying in the administration's panel, in the section 'plugins', at the page's bottom. Click and save the choice ...
    after, you can administrate this on section 'options' > 'plugin' ...

    and if you want use zenpaypal's individuals options on item (album, or image), you can modify the field 'Custom data' on this item.

    I've test the plugin on differents defaults themes ... i've not problems.
  • acrylian Administrator, Developer
    @Jonsccot. Did you enable the plugin at all? It does not do that by itself..;-)
  • @jonsccot
    You said you have your /plugins folder with a /plugins/zenpaypal/zenpaypal.php along with install,todo,zenpaypal.css

    Move the zenpaypal.php out of the zenpaypal folder and put it in the root /plugins/ folder.
  • @micheall

    Wonderful - I copied to the root/plugins/ - and all works fine. Sorry, But I was confused by the install instructions. It was my mistake, as I assumed that extracting the archive would create the proper folder structure.

    Many thanks!
  • hucste Member
    @dazlerd :

    If you are viewing the HTML code, you seeing item, quantity and price (amount) is obtain by function javascript named 'zenPayPalOrder'.
    When you clic on Paypal button, those informations are obtain correctly by Paypal and display in the paypal's page web.

    i'm trying your url. That's run.

    Or, i don't understand your problem !?
  • acrylian Administrator, Developer
    @dazlerd: The first posts of new members are moderated because of a recent severe spam problem. Probably the registration mail message you got had not the note about that as we just changed that yesterday (before that we moderated user registration for a few days manually).
  • Hope someone can help me... I am struggling with this.

    I am using zpgallerific as a theme, have read through this forum and zenPaypal page multiple times...

    I have placed the call to the plugin:

    <?php if (function_exists('zenPaypal')) zenPaypal(); ?> (but not sure where to place in this image.php file)

    I have gone through the admin plugins section and filled out where I can - unsure what/where the table id goes as there is no file. I have also placed some test price structure into the field and also the custom data field within an image to test it out.

    The payment option is not even showing on any page.

    After 2 hours I am starting to pull my hair out as I can't figure out why it is not working... I even tried using the Zenpage theme too and this didn't work either...

    I know it is a simple thing but for the life f me can not find out why...?

    I am happy to supply login details if someone could help me...

    Hear soon I hope.
  • acrylian Administrator, Developer
    I can't really help but this will surely require quite some JavaScript changes as this theme is "pure" JS (The Galleriffic script) on the image page (which the standard themes are not). Why it would not work with the Zenpage theme I don't know as I never used it.
  • thanks for your swift reply... very unfortunate though... :(

    is there another plugin or way around it? can I just past Paypal button code into the image?

    Jake
  • acrylian Administrator, Developer
    Sorry, I can't answer (it's not a officially supported theme or plugin) , you will have to try.
  • I have exactly the same problem with zenPayPal and the same theme today, so I've tried just adding a PayPal button html code to the image description - this initially shows up in admin backend and then disappears :(

    If you work out how to do it Jake can you post a follow-up

    Thanks, Tim
  • acrylian Administrator, Developer
    You will have to add html tags on the allowed tags list on the options tab. Otherwise they are cleared.
  • Hello all!

    @jakeferguson, @metadadaist : really, i dont' understand your problem.
    View my gallery test : http://zenphoto.dev.stephane-huc.net/ and choice Theme 'zpGalleriffic'.
    Click on gallery "Gallery with paypal", choose an image, and click on "Image details".
    The code HTML for the plugin paypal is viewing !

    And i've just edit the script image.php for include the necessary code, after the div id="exif-wrap" (that display ImageMetadata).

    Have you activate the plugin ? (on administrative panel, in section Extension.)
  • I am such a numpty... I didn't look at the image details... - once I did I can clearly see that it is in fact there and working fine!

    I placed the line of code before this (on my page is line 68)
    <?php if (getOption('show_meta')) { ?>

    Also, Tim, I noticed a space missing in comparison to the other if statements, so the paypal line should read:

    <?php if (function_exists('zenPaypal')) zenPaypal(); ?>

    hope this helps...

    Jake
  • Thanks guys, works great now. Was wondering whether it was possible to add some code which would disable the price list drop down and take a line from say the custom data field in albums (or some where else) so you could enter a unique price for some images? Obviously you can disable the plugin and create a paypal button, but then that's quite time consuming if you have a lot of images. Of course I could have a really big price list with the unique items price listed, but I think that would ultimately lead to confusion.
  • @jakeferguson: really, i don't understanding you.

    @metadadaist:
    => For disable price list, go to options > plugin > zenPaypal and set the option 'HTML Table: Viewing Price list' to 'No'. This disactive for all items. For the moments, it's not possible to disactive for one or more items!
    => To specify a unique price for some images, go to the Custom Datas on those images, and specify the option 'zenpaypal:pricelist' as the documentation say you, in chapter 'Configuration' > 'Custom data : use specific options zenPaypal'. See http://zenphoto.dev.stephane-huc.net/pages/ZenPaypal-Plugin-EN
    If you use those options on albums, that's specify for all images on those albums.
    In this case, use those options only on albums that contains images, and not on albums parents (in this case, not function).

    @all : please, use simply language. My english and my understanding is very poor or difficult.
  • C'est magnifique! Perfect! I should have read the instructions in more detail! Thanks hucste, you've made a superb plugin. Congrats!
  • Hi

    I am still struggling with the plugin. Everything is showing well on the pages with the media, prices, button etc but if a person tries to buy something (either with add to cart or buy now) nothing is showing for media, size or price in the paypal page that opens...

    I have looked everywhere and even tried putting the plugin into the zp-core/extensions folder to see if this made a difference.

    Do I need to switch something on in Paypal? what am I doing wrong please?

    I can give you access if you can help me...

    Thank you in advance.

    Jake
  • What's sort of paypal's account have you ?

    URL of your site ?!
  • url is www.helencourtphotography.co.uk

    paypal account is a personal one I think - is this the problem?

    Jake
  • @jakeferguson: yes, you need to up your account to premium or business.

    But, i don't know if this resolve this "bug" ?!
  • Hi all, any tips on how to keep the Zenpaypal div centered? I have it placed below the image, however it is squashed to the left side, not centered in line with the image.
  • acrylian Administrator, Developer
    Change the CSS of whatever theme you are using.
Sign In or Register to comment.