Re: Support Thread for Google reCAPTCHA plugin
Quote:
Originally Posted by
DrByte
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
Re: Support Thread for Google reCAPTCHA plugin
Quote:
Originally Posted by
Reviresco
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?
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
Re: Support Thread for Google reCAPTCHA plugin
EDIT: See Lat9's post below regarding 'NOTIFY_CREATE_ACCOUNT_CAPTCHA_CHECK'
Re: Support Thread for Google reCAPTCHA plugin
Quote:
Originally Posted by
jeking
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.
Re: Support Thread for Google reCAPTCHA plugin
Re: Support Thread for Google reCAPTCHA
Is the newest plugin ok to be used with v1.5.7
I've got to stopped these spammers somehow
Re: Support Thread for Google reCAPTCHA
Quote:
Originally Posted by
ChrisPardy
Is the newest plugin ok to be used with v1.5.7
I've got to stopped these spammers somehow
1.5.7 has built-in spam protection so this should not be needed.
"Email - SPAM prevention built in to forms (Credits @davewest for zenNonCAPTCHA)."
Re: Support Thread for Google reCAPTCHA
I just updated this plugin to the latest version and now the recaptcha checkbox just spins for 10 seconds when clicked then re-displays not checked.
My zen cart version is v1.5.5a.
I am seeing javascript errors in the console. I've been able to remove all but one error:
Uncaught (in promise) SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
https://www.gstatic.com/recaptcha/re...cha__en.js:291
Has anyone else experienced this issue and is there a fix or work-around?
Thanks,
Brian
Re: Support Thread for Google reCAPTCHA plugin
Quote:
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...