Page 1 of 2 12 LastLast
Results 1 to 10 of 690

Hybrid View

  1. #1
    Join Date
    May 2008
    Location
    Amarillo, TX
    Posts
    40
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA plugin

    Quote Originally Posted by David Allen View Post
    I've started this thread to provide support for my Google reCAPTCHA plugin. http://www.zen-cart.com/downloads.php?do=file&id=1455
    Any questions or problems let me know below
    Regards
    David
    Any chance of getting an updated version for Zen Cart 1.5.5?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Support Thread for Google reCAPTCHA plugin

    Quote Originally Posted by ehswift View Post
    Any chance of getting an updated version for Zen Cart 1.5.5?
    The changes are VERY simple:

    For each of the 3 template files, find the line that says:
    Code:
    <?php echo recaptcha_get_html(true); ?>
    That's the only change that exists in each of those 3 template files. You can find that line in each file, and put it in the similar spot in the newer version of that same file in your own template.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    May 2005
    Location
    England
    Posts
    740
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA plugin

    This is a great module, and works nice on 1.55d . Is there a way to make it work nice in responsive view at all? Apparently it seems to be an issue with others elsewhere, but not sure if it can be styled within this module?

  4. #4
    Join Date
    May 2005
    Location
    England
    Posts
    740
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA plugin

    Apologies, I meant to say it is the google Recaptcha button that seems to hinder responsiveness:-


    Quote Originally Posted by HeathenMagic View Post
    This is a great module, and works nice on 1.55d . Is there a way to make it work nice in responsive view at all? Apparently it seems to be an issue with others elsewhere, but not sure if it can be styled within this module?

  5. #5
    Join Date
    May 2008
    Location
    Amarillo, TX
    Posts
    40
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA plugin

    Quote Originally Posted by DrByte View Post
    The changes are VERY simple:

    For each of the 3 template files, find the line that says:
    Code:
    <?php echo recaptcha_get_html(true); ?>
    That's the only change that exists in each of those 3 template files. You can find that line in each file, and put it in the similar spot in the newer version of that same file in your own template.
    Thanks for your response, but I am not sure where to find the 3 files you are referring to as it seems they have been moved somewhere else in version 1.5.5d. Can you point me in the right direction please?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Support Thread for Google reCAPTCHA plugin

    Quote Originally Posted by ehswift View Post
    Quote Originally Posted by DrByte View Post
    Quote Originally Posted by ehswift View Post
    Any chance of getting an updated version for Zen Cart 1.5.5?
    The changes are VERY simple:

    For each of the 3 template files, find the line that says:
    Code:
    <?php echo recaptcha_get_html(true); ?>
    That's the only change that exists in each of those 3 template files. You can find that line in each file, and put it in the similar spot in the newer version of that same file in your own template.
    Thanks for your response, but I am not sure where to find the 3 files you are referring to as it seems they have been moved somewhere else in version 1.5.5d. Can you point me in the right direction please?
    Sigh. No, they didn't move.

    /includes/templates/YOUR_TEMPLATE/templates/tpl_contact_us_default.php
    /includes/templates/YOUR_TEMPLATE/templates/tpl_modules_create_account.php
    /includes/templates/YOUR_TEMPLATE/templates/tpl_product_reviews_write_default.php
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    May 2008
    Location
    Amarillo, TX
    Posts
    40
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA plugin

    I am using a customized version of the responsive_classic template included in Zen Cart 1.5.5d and those files are no longer in the includes\templates\MY-CUSTOM-RESPONSIVE\templates folder as you suggested, however they are still there in the includes\templates\responsive_classic\templates folder. When I created my own template I used the override system and just copied all of the files from the responsive_classic template to my custom responsive template folder before making any modifications. Did I miss a step here?

    Also, help me understand something please. When I use the template override system for my own custom responsive template am I still supposed to use the same override system in the template_default folders as well? I think this is where the confusion is coming into play.

    By the way, thank you for all of your help so far in this matter.

  8. #8
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Support Thread for Google reCAPTCHA plugin

    Quote Originally Posted by ehswift View Post
    I am using a customized version of the responsive_classic template included in Zen Cart 1.5.5d and those files are no longer in the includes\templates\MY-CUSTOM-RESPONSIVE\templates folder as you suggested, however they are still there in the includes\templates\responsive_classic\templates folder. When I created my own template I used the override system and just copied all of the files from the responsive_classic template to my custom responsive template folder before making any modifications. Did I miss a step here?

    Also, help me understand something please. When I use the template override system for my own custom responsive template am I still supposed to use the same override system in the template_default folders as well? I think this is where the confusion is coming into play.

    By the way, thank you for all of your help so far in this matter.
    Not sure whether you missed a step or undid work that was done. If the file doesn't exist in your renamed custom folder (MY-CUSTOM-RESPONSIVE), then the template_default version of the file will be used. Generally speaking, the files in the template_default folder should remain unchanged. If you need to modify the file(override it) then the template_default version should be brought to your override folder. That is the way of the override system. If it exists in the override directory, then generally speaking ignore the default version. (language files have a little bit of a nuiance to them, but same principle).

    Basically you should always be able to go back to the template_default files to see how the base template should look. Then the responsive_classic also should remain unchanged but could be copied to some additional folder and then modified.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  9. #9
    Join Date
    Oct 2007
    Location
    MA, USA
    Posts
    385
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA plugin

    Is it possible to only use this plugin on the Contact Us page? Thank you.

  10. #10
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Support Thread for Google reCAPTCHA plugin

    Quote Originally Posted by ehswift View Post
    I am using a customized version of the responsive_classic template included in Zen Cart 1.5.5d and those files are no longer in the includes\templates\MY-CUSTOM-RESPONSIVE\templates folder as you suggested, however they are still there in the includes\templates\responsive_classic\templates folder. When I created my own template I used the override system and just copied all of the files from the responsive_classic template to my custom responsive template folder before making any modifications. Did I miss a step here?

    Also, help me understand something please. When I use the template override system for my own custom responsive template am I still supposed to use the same override system in the template_default folders as well? I think this is where the confusion is coming into play.
    There are 3 template files affected, assuming you want the Recaptcha widget on all 3 of those pages:
    /includes/templates/YOUR_TEMPLATE/templates/tpl_contact_us_default.php
    /includes/templates/YOUR_TEMPLATE/templates/tpl_modules_create_account.php
    /includes/templates/YOUR_TEMPLATE/templates/tpl_product_reviews_write_default.php

    To update these templates for v1.5.5, specifically for responsive_classic compatibility in your own custom modified responsive_classic:
    1. copy their equivalent from responsive_classic over to your modified template. In the case of contact_us this is easy because the file was included.
    For the other two, there were no changes from template_default, so the plugin author didn't provide them, since the template_default was already modified to include the widget.

    OR, just follow the instructions in the readme to put the recaptcha widget where you wanted it, by adding this line:
    Code:
    <?php echo recaptcha_get_html(); ?>
    For convenience I've updated the plugin zip with complete copies of the affected v155 templates, which you can merge with your modified-responsive_classic template. https://www.zen-cart.com/downloads.php?do=file&id=1455
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Support Thread for CKEditor Plugin
    By DivaVocals in forum Addon Admin Tools
    Replies: 213
    Last Post: 18 Nov 2024, 04:17 AM
  2. Back to Top Plugin [Support Thread]
    By picaflor-azul in forum All Other Contributions/Addons
    Replies: 31
    Last Post: 6 Feb 2016, 10:52 PM
  3. v151 Plug 'n' Pay plugin [Support Thread]
    By KetchRescue in forum Addon Payment Modules
    Replies: 5
    Last Post: 28 Nov 2015, 04:56 AM
  4. Justuno Plugin [Support Thread]
    By JustunoApp in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 24 May 2015, 11:00 PM
  5. VendingBox Plugin Support Thread
    By vb_support in forum All Other Contributions/Addons
    Replies: 31
    Last Post: 10 Feb 2013, 07:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg