Zen Cart Logo
Forums / All Other Contributions/Addons / Support Thread for Google reCAPTCHA plugin

Support Thread for Google reCAPTCHA plugin

Views: 176,321

Results 161 to 180 of 694
20 Sep 2014, 8:29 PM
#161
littlepunk29 avatar

littlepunk29

New Zenner

Join Date:
Nov 2007
Posts:
16
Plugin Contributions:
0

Support Thread for Google reCAPTCHA plugin

I am just trying out this, and I too have a theme with a dropdown menu contact form. I tried editing the code as suggested to give the dropdown form a new name, but that didn't work. Has anyone gotten two recaptcha forms on one page working?

20 Sep 2014, 10:42 PM
#162
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Support Thread for Google reCAPTCHA plugin

littlepunk29:

I am just trying out this, and I too have a theme with a dropdown menu contact form. I tried editing the code as suggested to give the dropdown form a new name, but that didn't work. Has anyone gotten two recaptcha forms on one page working?

Yes and no. Set the drop down not to load when actually on the contact_us form so that wouldn't have two to contend with. :)

13 Oct 2014, 7:51 AM
#163
afterhour avatar

afterhour

Zen Follower

Join Date:
Dec 2007
Posts:
92
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

I'm running zen cart 1.51, with abbington mega menu template and your recaptcha mod on the contact us page. Everything seems to have been working fine until about a week or so ago, and now I am getting spammed constantly, I have checked the page and everything still seems to be working as it should but somehow they are bypassing the recaptcha.

Any ideas?

http://www.allgoodideas.co.uk

13 Oct 2014, 8:46 AM
#164
david_allen avatar

david_allen

Zen Follower

Join Date:
Feb 2008
Location:
Amersham, Buckinghamshire, United Kingdom
Posts:
141
Plugin Contributions:
1

Re: Support Thread for Google reCAPTCHA plugin

Hi - I just tested the contact us page on your website and it appears to be working fine, tried various things and got the expected result each time. Maybe it is a human spamming you?
Regards
David

13 Oct 2014, 11:18 AM
#165
afterhour avatar

afterhour

Zen Follower

Join Date:
Dec 2007
Posts:
92
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

Hi David

Thanks for getting back to me so quickly.. and thanks for a great script...

I thought I was going mad, as I couldn't see a problem either... I think I will try setting some filters in spam trapper, see if that helps.

Regards
Simon

13 Oct 2014, 12:06 PM
#166
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Support Thread for Google reCAPTCHA plugin

AfterHouR:

Hi David

Thanks for getting back to me so quickly.. and thanks for a great script...

I thought I was going mad, as I couldn't see a problem either... I think I will try setting some filters in spam trapper, see if that helps.

Regards
Simon

You'll probably find that the mega-menu is still the culprit, although CSS has been used to try to hide the contact_us form off of the mega-menu, it is still present in the code and depending on the method of approach (human or computer) well, still able to freely spam. Oh, and it's not that the presence of the mega-menu option to contact us is a problem, but the way that the options on it are handled/redirected.

13 Oct 2014, 2:28 PM
#167
afterhour avatar

afterhour

Zen Follower

Join Date:
Dec 2007
Posts:
92
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

Ah, ok... time to look at it again.. perhaps if I took it out of the mega-menu altogether and had it as just a straight sidebox link, might be better...

13 Oct 2014, 2:38 PM
#168
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Support Thread for Google reCAPTCHA plugin

AfterHouR:

Ah, ok... time to look at it again.. perhaps if I took it out of the mega-menu altogether and had it as just a straight sidebox link, might be better...

That is one option, the issue is that a fully functional contact us form is present in the megamenu that does not (out-of-the-box) provide any "catch"/check before sending the information on to be processed. There are a number of ways to overcome that, but the link that is on the last menu-bar option is okay to keep in regards to "removing contact us from the mega-menu".

13 Oct 2014, 3:12 PM
#169
afterhour avatar

afterhour

Zen Follower

Join Date:
Dec 2007
Posts:
92
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

I have bypassed the mega-menu link in the drop down menu and just use it as a redirect link, to Zens own contact us page but I still seem to be getting spam :-/ time to walk away and look at it again tomorrow, perhaps I can see clearer then..

4 Nov 2014, 11:02 AM
#170
100asa avatar

100asa

Totally Zenned

Join Date:
Oct 2006
Location:
Italy
Posts:
636
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

ver. 1.5.1 trouble for ask_question page
add only the line <?php echo recaptcha_get_html($publickey, $resp->error, $request_type == 'SSL'); ?> to tpl_ask_a_question_default.php (don't work)
add also to modules/pages/ask_a_question/header_php.php (don't work)
http://www.100asa.it/ask_a_question?products_id=4175
where is wrong?

4 Nov 2014, 11:24 AM
#171
david_allen avatar

david_allen

Zen Follower

Join Date:
Feb 2008
Location:
Amersham, Buckinghamshire, United Kingdom
Posts:
141
Plugin Contributions:
1

Re: Support Thread for Google reCAPTCHA plugin

Hi 100asa
I assume you are using the 'AsK a Question' plugin - if so then in modules/pages/ask_a_question/header_php.php replace line 43

  if ($zc_validate_email and !empty($enquiry) and !empty($name)) {

with these two lines

  $zco_notifier->notify('NOTIFY_CONTACT_US_CAPTCHA_CHECK');
  if ($zc_validate_email and !empty($enquiry) and !empty($name) and $error == false) {

Hope this helps/works
Regards

4 Nov 2014, 11:34 AM
#172
100asa avatar

100asa

Totally Zenned

Join Date:
Oct 2006
Location:
Italy
Posts:
636
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

Great! Now works fine!
(I've changed $zco_notifier->notify('NOTIFY_CONTACT_US_CAPTCHA_CHECK'); with NOTIFY_ASK_A_QUESTION_CAPTCHA_CHECK )
:blink:

4 Nov 2014, 12:08 PM
#173
david_allen avatar

david_allen

Zen Follower

Join Date:
Feb 2008
Location:
Amersham, Buckinghamshire, United Kingdom
Posts:
141
Plugin Contributions:
1

Re: Support Thread for Google reCAPTCHA plugin

Excellent - you may need to edit class.google_recaptcha.php (in includes/classes/observers) to include 'NOTIFY_ASK_A_QUESTION_CAPTCHA_CHECK'
Regards

5 Dec 2014, 5:07 PM
#174
cubmanky avatar

cubmanky

Zen Follower

Join Date:
Jan 2014
Posts:
224
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

So I have it installed at http://thecubden.org/store/ I have it working on the create a new account and the contact us from the header bar, but if you click the contact us from under customer support, it will not work I do not see the box or anything. HELP I have moved the fils and done as instructed.

5 Dec 2014, 5:23 PM
#175
togfather avatar

togfather

New Zenner

Join Date:
Dec 2009
Location:
Scotland
Posts:
76
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

Hello,

It is only working on the pop-up accessed from your header bar, but not on the full contact page accessed from your header bar or your support section, so I would guess that you need to install it on your full php contact page proper, rather than just the pop-up element. You need to add it to the page that carries the text: "Please feel free to use the Contact us section with questions or suggestions"

I hope this helps.

Tog

5 Dec 2014, 5:30 PM
#176
cubmanky avatar

cubmanky

Zen Follower

Join Date:
Jan 2014
Posts:
224
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

If I add <?php echo recaptcha_get_html($publickey, $resp->error,$request_type == 'SSL'); ?> to my tpl_mega_menu.php file and upload it then captcha only works in the contact us on the main bar. If I remove it then everything works except the one on the main bar.

6 Dec 2014, 7:09 AM
#177
togfather avatar

togfather

New Zenner

Join Date:
Dec 2009
Location:
Scotland
Posts:
76
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

Hello,

I have the captchacode

<?php echo recaptcha_get_html($publickey, $resp->error,$request_type == 'SSL'); ?> in the following file:

includes/templates/template_default/templates/tpl_contact_us_default.php
and it works when the the contact us page is displayed in full.

Your file may be in a different directory if you are using a customised template. Search for the page that contains the text "Please feel free to use the Contact us section with questions or suggestions" to find your contact page that needs the captcha code.

I hope this helps.

Best wishes

Tog

6 Dec 2014, 7:17 AM
#178
togfather avatar

togfather

New Zenner

Join Date:
Dec 2009
Location:
Scotland
Posts:
76
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

Hello, Now I see that you have it on the full contact us page but not on the pop up contact form (do you really need the pop up form as well as the full contact us page?)

If you still need the pop up form then search for your page that contains the words: "Please send us a short message" and add the captcha code to that page too.

Regards

Tog

11 Dec 2014, 6:10 AM
#179
heyits007 avatar

heyits007

Zen Follower

Join Date:
Sep 2010
Posts:
270
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

Does this Google CAPTCHA plugin work with v1.53? I've just upgraded to 1.53 and my old CAPTCHA stopped working.

11 Dec 2014, 6:50 AM
#180
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Support Thread for Google reCAPTCHA plugin

HeyIts007:

Does this Google CAPTCHA plugin work with v1.53? I've just upgraded to 1.53 and my old CAPTCHA stopped working.
Should be fine with 1.5.3