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

Hybrid View

  1. #1
    Join Date
    Jul 2017
    Location
    United States
    Posts
    10
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA plugin

    Quote Originally Posted by DrByte View Post
    These are typical when using a template (including any custom override files) built for an older version of Zen Cart, which didn't have the features that the newer versions of the plugin depends on.
    I can confirm that this worked for me in v. 1.5.4. The Create Account form was going through without checking the reCaptcha box, until I added:

    Code:
    $zco_notifier->notify('NOTIFY_CREATE_ACCOUNT_CAPTCHA_CHECK');
    before

    Code:
    if ($error == true) {
    in /includes/modules/YOUR_TEMPLATE/create_account.php

    (couldn't figure out how to multi-quote, but this is what I was referring to:)


    Reading a couple pages pack in this thread I saw someone mentioning their edits to /includes/modules/pages/contact_us/header_php.php on an older version of zen cart. I read to the very bottom of the instructions and saw this change is needed specifically on 1.5.1, even though I'm on 1.5.6 I tried it out as there was nothing left to do and sure enough the captcha became required to use the contact us form. Any ideas why 1.5.1 specific changes needed to be made on my 1.5.6 install?

    I've also just had to do the same on the /includes/modules/TEMPLATE_NAME/create_account.php

    Copying the zco notifier line across from the 1.3 files into this file made it work for me, else you could create an account without ticking the box!

    J
    Last edited by Reviresco; 13 Aug 2020 at 06:07 PM.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Support Thread for Google reCAPTCHA plugin

    Quote Originally Posted by Reviresco View Post
    Any ideas why 1.5.1 specific changes needed to be made on my 1.5.6 install?
    Sounds like that particular file was still from an older version. Maybe you didn't upgrade that file? Maybe you installed a plugin that overwrote that file with something outdated?
    .

    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
    Aug 2007
    Posts
    114
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA plugin

    Hi guys,

    I installed this Recaptcha module a few months ago after getting spam sign ups.. but it has killed my sales and conversions...

    So.. I tried to remove it from the create account page, just removing the recaptcha call from that page... this means it no longer displays, but when people try to create a new account now, they get the error message:


    Please verify that you are not a robot
    * Required information

    There is no code on this page though that refers to recaptcha... do i need to modify other files? I would like to keep it on the contact us page.. just do not want to lose anymore sales..

    Thanks

  4. #4
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,587
    Plugin Contributions
    29

    Default Re: Support Thread for Google reCAPTCHA plugin

    EDIT: See Lat9's post below regarding 'NOTIFY_CREATE_ACCOUNT_CAPTCHA_CHECK'

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: Support Thread for Google reCAPTCHA plugin

    Quote Originally Posted by jeking View Post
    NOTIFY_CREATE_ACCOUNT_CAPTCHA_CHECK
    In /includes/classes/observers/class.google_recaptcha.php , in the __construct() method, you can comment-out the $pages_to_check for those pages that shouldn't have the recaptcha applied.

  6. #6
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,587
    Plugin Contributions
    29

    Default Re: Support Thread for Google reCAPTCHA plugin

    Thanks lat9.

  7. #7
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: Support Thread for Google reCAPTCHA plugin

    Is the plugin compatible with 1.5.7b?
    IT IS COMPATIBLE WITH v1.5.7b, but not with 1.5.7a or 1.5.7-without-a-letter-suffix.

    The base install files does not affect ZC and can be copy as is to ZC1.5.7b... The template files are NOT the same as ZC1.5.7b and should NOT be dragged and dropped! Instead, copy the recaptcha line over and placed just below the last input field in the form and above the closing form tag.

    Keep in mind, that the code is only good for version 2 of recaptcha... you can try version 3... The Free versions, 2 & 3 are only good for up to 1 million Assessments / Month!

    This has no affect on the existing CAPTCHA in ZC1.5.7 and is just another test.. The existing well still work even when reCAPTCHA passes testing...

    Tested live with heavy modified ZC1.5.7b and php7.4x on my contact page and map request page which is Get-a-Quote addon. I'll leave it up if you like to look...
    Dave
    Always forward thinking... Lost my mind!

  8. #8
    Join Date
    Dec 2020
    Location
    UK
    Posts
    6
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA plugin

    Has anyone managed to get the recaptcha working on the create account page with FEC installed?

    I've just taken over a zencart site and I'm "feeling" my way around!

    I had a problem with recaptcha on the contact page but I've fixed that :)

    But on the create account page (weirdly called /log-in on the frontend) I can get the Recaptcha box to show up but either ticking the box or not just refreshes the page with no errors? (nothing in the log files or server logs)

    After digging I see that the FEC mod has it's own template & module files for creating accounts etc...

    So I have /includes/modules/fec_create_account.php as well as the normal zencart create_account.php file

    Template wise I have includes/templates/<my-template>/templates/tpl_login_default.php which seems to control the layout of the login / register page and has FEC code in it?

    Zencart Version: 1.5.4

  9. #9
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Support Thread for Google reCAPTCHA plugin

    Probably some stupid quirk with FEC's use of CSS/JS Loader junk.

    Quote Originally Posted by raindrop99 View Post
    Has anyone managed to get the recaptcha working on the create account page with FEC installed?
    I realize the following comment is not helpful in immediately doing what the rest of your post talks about ... but it's worth mentioning:

    The first thing I delete when I find it is FEC, and all the things it adds or depends on, especially "CSS/JS Loader" stuff. All of these cause nightmares for interoperability with other plugins, and for upgrades, and for troubleshooting things that "should" work but don't work when these things are present.

    When you get around to upgrading the site to a newer version, look into OPC One Page Checkout as a better replacement.
    .

    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.

  10. #10
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: Support Thread for Google reCAPTCHA plugin

    NOTE: if you're running the unsuffixed version of zc157 without having installed the known patches (https://www.zen-cart.com/showthread....v1-5-7-series) could be part of the problem.

    That initial version had a bug that prevented multiple 'observers' from watching the same event, which might have play in the issue reported.

 

 
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