Re: Support Thread for Google reCAPTCHA plugin
Hi guys
I have managed to setup a contact form as a sidebox. i wold love to have captcha on it is spammed like nothing. I have tested the Google recaptcha and works perfectly but it is way to big for a sidebox. I need it to be around 200px and if anyone has any idea if that is possible and how will be great.
Regards
Tassos
Re: Support Thread for Google reCAPTCHA plugin
Quote:
Originally Posted by
hrinfo
Hi guys
I have managed to setup a contact form as a sidebox. i wold love to have captcha on it is spammed like nothing. I have tested the Google recaptcha and works perfectly but it is way to big for a sidebox. I need it to be around 200px and if anyone has any idea if that is possible and how will be great.
Regards
Tassos
Not to belittle recaptcha, what about using a hidden field, that if content is present then not to submit your form? (Similar to what is done in ZC 1.5.1 on the contact us form?)
To answer the question, I thought there was some CSS associated with recaptcha, so you would have to shrink it, but realize the smaller you make it, the harder it is for a user to read and then submit the expected info which leads back to my previous portion of my answer.
Re: Support Thread for Google reCAPTCHA plugin
Thanks for the mod, David.
I'm on 1.51, smart enough to follow the simple instructions...and it doesn't work. The recaptcha box displays, but entering the wrong text or entering nothing has no effect as the page still advances.
It's needed only for the account creation page so, after double-checking everything, I tried what was written earlier about the line "$this->attach($this, array..." and deleted the unneeded parts for Contact and Review and it still didn't work. My ZC was installed as 1.51, no upgrade, so another post with a similar issue does not apply. I tried the box in different places in tpl_modules_create_account and it was the same result each time.
There are no other mods for signing up, I'm using the standard process and with all products virtual so no shipping address asked for. Any ideas?
Re: Support Thread for Google reCAPTCHA plugin
Quote:
Originally Posted by
giftmeister
Thanks for the mod, David.
I'm on 1.51, smart enough to follow the simple instructions...and it doesn't work. The recaptcha box displays, but entering the wrong text or entering nothing has no effect as the page still advances.
It's needed only for the account creation page so, after double-checking everything, I tried what was written earlier about the line "$this->attach($this, array..." and deleted the unneeded parts for Contact and Review and it still didn't work. My ZC was installed as 1.51, no upgrade, so another post with a similar issue does not apply. I tried the box in different places in tpl_modules_create_account and it was the same result each time.
There are no other mods for signing up, I'm using the standard process and with all products virtual so no shipping address asked for. Any ideas?
Sure all the files were uploaded correctly? (Not to say that you didn't try to upload them, but that the process of uploading didn't go as expected.)
Also do you have any files that were renamed to "hide" them, but they are still being loaded because they end in php?
Uploaded to correct template, etc?
Re: Support Thread for Google reCAPTCHA plugin
Quote:
Originally Posted by
giftmeister
Thanks for the mod, David.
I'm on 1.51, smart enough to follow the simple instructions...and it doesn't work. The recaptcha box displays, but entering the wrong text or entering nothing has no effect as the page still advances.
It's needed only for the account creation page so, after double-checking everything, I tried what was written earlier about the line "$this->attach($this, array..." and deleted the unneeded parts for Contact and Review and it still didn't work. My ZC was installed as 1.51, no upgrade, so another post with a similar issue does not apply. I tried the box in different places in tpl_modules_create_account and it was the same result each time.
There are no other mods for signing up, I'm using the standard process and with all products virtual so no shipping address asked for. Any ideas?
Hi giftmeister, Not sure what has gone wrong. As you found out moving the box within the create account form shouldn't affect it. Removing the extra entries in the $this->attach.... should stop it being needed on those other pages. Can you check that it looks like
Code:
$this->attach($this, array('NOTIFY_CREATE_ACCOUNT_CAPTCHA_CHECK'));
to just have it on the create account page.
Regards
David
Re: Support Thread for Google reCAPTCHA plugin
mc and David, I triple-checked all the obvious things.
The ZC installation is in a directory- xyz.com/abc - but that doesn't seem to be an issue to Google and I wasn't even able to enter the directory on the Google recaptcha page (no slashes allowed).
Then I just thought that it might be due to Java being disabled in my browsers, but I re-enabled it in IE and the page (refreshed, started over) still advanced without entering anything in the captcha box.
Re: Support Thread for Google reCAPTCHA plugin
Quote:
Originally Posted by
giftmeister
mc and David, I triple-checked all the obvious things.
The ZC installation is in a directory- xyz.com/abc - but that doesn't seem to be an issue to Google and I wasn't even able to enter the directory on the Google recaptcha page (no slashes allowed).
Then I just thought that it might be due to Java being disabled in my browsers, but I re-enabled it in IE and the page (refreshed, started over) still advanced without entering anything in the captcha box.
So, there is either something amiss with the installation or conflicting with another file/mod it would seem. I haven't looked at the newer installation instructions, but as I understand it is now possible to install google recaptcha without making modifications to any ZC 1.5.1 core files as a trigger was added in that could be used to provide the recaptcha. That said, an older version of the plugin provided direction to go into one (or more similar files) to add code to perform a check if the recaptcha was entered properly. If you look at those directions and then that file, you can see perhaps what is going wrong. There is a check that is needed: if the data is bad, then it stops flow and gives an error, if it is good, then it keeps on processing.
Re: Support Thread for Google reCAPTCHA plugin
Quote:
it is now possible to install google recaptcha without making modifications to any ZC 1.5.1 core files
One line of code is added to the core page(s) where the Recap is needed. I have just one other mod- Export Shipping Info- and it doesn't affect the page where I need the Recap, tpl_modules_create_account.
Does this require Java on a visitor's computer or is it simply Javascript? Many people don't have the former.
Thanks, mc and David. I'll try one more time...hope it works because this mod is the simplest of all the Captcha mods here.
Re: Support Thread for Google reCAPTCHA plugin
Jeez, I figured it out- there's a mod I stopped using and didn't fully remove, Extra Fields On Customer Sign-Up. What I forgot were changes in includes/templates/create_account.php. Re-uploaded the original file and Recap works!
Sorry for the hassle and thanks for your time.
Re: Support Thread for Google reCAPTCHA plugin
It relies on javascript not java
For 1.51 no core files have to be changed, just the template files (eg tpl_modules_create_account) for the pages you want the reCAPTCHA to appear on.
One question, did you upgrade to 1.51 or was it a clean install? If the former I would check that you have the correct version of the file /includes/modules/YOUR_TEMPLATE/create_account.php as it sounds from your description as if this could be the problem
Regards
David