Zen Cart Logo
Forums / All Other Contributions/Addons / Adding reCAPTCHA to Contact Us Form

Adding reCAPTCHA to Contact Us Form

Views: 38,811

Results 81 to 100 of 186
2 Apr 2010, 9:46 AM
#81
bimo_in_bali avatar

bimo_in_bali

New Zenner

Join Date:
Jan 2009
Location:
Earth
Posts:
36
Plugin Contributions:
0

Adding reCAPTCHA to Contact Us Form

Hi All, Can anyone help?
Under my 'contact us' form page, I'm missing the BACK and SEND link, it's not showing an image or writing.

I still can send email from the form by pressing ENTER.

I don't know what went wrong:unsure:

ps: sorry if this is not the right thread to ask this.

Thanks in advance.

Bimo

2 Apr 2010, 12:44 PM
#82
pickupman avatar

pickupman

New Zenner

Join Date:
Jun 2009
Posts:
83
Plugin Contributions:
2

Re: Adding reCAPTCHA to Contact Us Form

@bimo_in_bali

In your /includes/templates/YOUR TEMPLATE FOLDER/templates/tpl_contact_us_default.php

Add this to the page where you would like the buttons (typically add the bottom of the file just above </form> tag.

<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_SEND, BUTTON_SEND_ALT); ?></div>

<div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>'; ?></div>
3 Apr 2010, 6:48 AM
#83
bimo_in_bali avatar

bimo_in_bali

New Zenner

Join Date:
Jan 2009
Location:
Earth
Posts:
36
Plugin Contributions:
0

Re: Adding reCAPTCHA to Contact Us Form

Hi Pickupman, thanks for replying.

I've checked tpl_contact_us_default.php, the codes you sent are there.

It's seem I have bigger problem, that in fact those links (submit,send etc) also not showing in other pages:lamo:

Still don't know what went wrong:no:

Thx anyway,
Bimo

3 Apr 2010, 2:07 PM
#84
pickupman avatar

pickupman

New Zenner

Join Date:
Jun 2009
Posts:
83
Plugin Contributions:
2

Re: Adding reCAPTCHA to Contact Us Form

@Bimo
Can you see the div's in the page that should hold the buttons. What if you place plain text inside the div, but before the submit button tag? Do you have some sort of conditional tag around it? You may want to check to see if the images exists. Look in /includes/templates/YOUR TEMPLATE FOLDER/buttons/english/button_send.gif

5 Apr 2010, 2:26 AM
#85
bimo_in_bali avatar

bimo_in_bali

New Zenner

Join Date:
Jan 2009
Location:
Earth
Posts:
36
Plugin Contributions:
0

Re: Adding reCAPTCHA to Contact Us Form

Hi Pickupman,
Did that.all images are there.
There's must be some major script that control these links for not showing, but don't know what.

Thx,
Bimo

5 Apr 2010, 2:44 AM
#86
pickupman avatar

pickupman

New Zenner

Join Date:
Jun 2009
Posts:
83
Plugin Contributions:
2

Re: Adding reCAPTCHA to Contact Us Form

bimo_in_bali:

Hi Pickupman,
Did that.all images are there.
There's must be some major script that control these links for not showing, but don't know what.

Thx,
Bimo
The submit button code is called from /includes/functions/html_output.php at line 285 in the default file with Ulitmate SEO urls Have you done any editing in this file at all?

6 Apr 2010, 6:46 AM
#87
bimo_in_bali avatar

bimo_in_bali

New Zenner

Join Date:
Jan 2009
Location:
Earth
Posts:
36
Plugin Contributions:
0

Re: Adding reCAPTCHA to Contact Us Form

pickupman:

The submit button code is called from /includes/functions/html_output.php at line 285 in the default file with Ulitmate SEO urls Have you done any editing in this file at all?

No, Never modify this file.:no:

6 Apr 2010, 12:53 PM
#88
pickupman avatar

pickupman

New Zenner

Join Date:
Jun 2009
Posts:
83
Plugin Contributions:
2

Re: Adding reCAPTCHA to Contact Us Form

@bimo_in_bali
You never mentioned if the tags are showing up in the html source. Are you using Firefox with adblock, and adblock might be hiding the images? I only mention that for the fact that you said the images are missing from several other pages.
Got a link of your site?

1 May 2010, 1:32 PM
#89
pickupman avatar

pickupman

New Zenner

Join Date:
Jun 2009
Posts:
83
Plugin Contributions:
2

Re: Adding reCAPTCHA to Contact Us Form

wifi-online:

Hello, i need help.
error: "Could not open socket"
Because?
Check some info posted here. Seems to relate on how the server is resolving hostnames.

2 May 2010, 1:21 PM
#90
steve44 avatar

steve44

New Zenner

Join Date:
Oct 2009
Location:
U.K.
Posts:
47
Plugin Contributions:
0

Re: Adding reCAPTCHA to Contact Us Form

As a novice I do not know if you all can help me.
I have a site that does not use any login for visitors, but I have a form for visitors to complete.
Can the reCaptcha be used to secure the form as I am receiving lots of spam through the form.

If so where do I put the files, I hope some one can help.

8 May 2010, 10:25 AM
#91
steve44 avatar

steve44

New Zenner

Join Date:
Oct 2009
Location:
U.K.
Posts:
47
Plugin Contributions:
0

Re: Adding reCAPTCHA to Contact Us Form

steve44:

As a novice I do not know if you all can help me.
I have a site that does not use any login for visitors a showcase site, but I have a form for visitors to complete.
Can the reCaptcha be used to secure the form ( not contact us) as I am receiving lots of spam through the form.

If so where do I put the files, I hope some one can help.

Anyone please.

8 May 2010, 7:17 PM
#92
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Adding reCAPTCHA to Contact Us Form

steve44:

Anyone please.

The install is the same even if you don't require a login.... If you are using the standard forms in Zencart, then the install should work the same.

Dave
Always forward thinking... Lost my mind!

12 May 2010, 5:48 AM
#93
corditreasures avatar

corditreasures

Zen Follower

Join Date:
Jan 2010
Posts:
141
Plugin Contributions:
0

Re: Adding reCAPTCHA to Contact Us Form

hi! i have installed this mod and its working great but i found out that spammers don't just use the contact us page but also tell a friend...

since this mod has no feature to put a recaptcha on tell a friend page and since i found a mod which has that feature i want to uninstall this. How could i do that???

i downloaded contactus_recaptcha_v1.1 not contactus_recaptcha_v1-1 ( i see there are extra files in contactus_recaptcha_v1-1)

Thanks!

12 May 2010, 7:59 AM
#94
corditreasures avatar

corditreasures

Zen Follower

Join Date:
Jan 2010
Posts:
141
Plugin Contributions:
0

Re: Adding reCAPTCHA to Contact Us Form

Wow this woman... she keeps on using my "tell a friend" to spam many people...she keeps on sending messages... its already 2k+! i took my site offline because of that... :dontgetit

anyone how to uninstall this mod, or could i install the captcha this mod without them conflicting?

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=915

Thanks!

17 Jul 2010, 6:49 AM
#95
justin2010 avatar

justin2010

New Zenner

Join Date:
May 2010
Posts:
52
Plugin Contributions:
0

Re: Adding reCAPTCHA to Contact Us Form

I downloaded the contactus_recaptcha_v1.1 from http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1348

That is for 1.3.8, but it also works fine for my 1.3.9d.

However, in my test, the mod does not preserve the message field. It does keep the name and email address when visitors type the captcha wrong and have to start over.

Please think about this: a visitor tried to tell you something. He filled the name, email address, and wrote a long paragraph. Then he tried the reCaptcha, but failed because he recognized the word wrong. Then he got the error alert and had to type everything again! How frustrated?

Can the author(s) or some experts here make the improvement?

17 Jul 2010, 9:53 PM
#96
pickupman avatar

pickupman

New Zenner

Join Date:
Jun 2009
Posts:
83
Plugin Contributions:
2

Re: Adding reCAPTCHA to Contact Us Form

justin2010:

I downloaded the contactus_recaptcha_v1.1 from http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1348

That is for 1.3.8, but it also works fine for my 1.3.9d.

However, in my test, the mod does not preserve the message field. It does keep the name and email address when visitors type the captcha wrong and have to start over.

Please think about this: a visitor tried to tell you something. He filled the name, email address, and wrote a long paragraph. Then he tried the reCaptcha, but failed because he recognized the word wrong. Then he got the error alert and had to type everything again! How frustrated?

Can the author(s) or some experts here make the improvement?

In /includes/templates/custom/templates/tpl.contact_us_default.php

Around line 145 replace:

<?php echo zen_draw_textarea_field('enquiry', '30', '7', '', 'id="enquiry"'); ?>

With

<?php echo zen_draw_textarea_field('enquiry', '30', '7', '', 'id="enquiry"', true); ?>
17 Jul 2010, 9:57 PM
#97
pickupman avatar

pickupman

New Zenner

Join Date:
Jun 2009
Posts:
83
Plugin Contributions:
2

Re: Adding reCAPTCHA to Contact Us Form

corditreasures:

Wow this woman... she keeps on using my "tell a friend" to spam many people...she keeps on sending messages... its already 2k+! i took my site offline because of that... :dontgetit

anyone how to uninstall this mod, or could i install the captcha this mod without them conflicting?

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=915

Thanks!

Login into admin page. Then use the url:
http://yoursite.com/admin/index.php?remove_captcha=yes

Then remove the file /admin/includes/functions/extra_functions/recaptcha_functions.php. This will prevent the plugin from reinstalling. You will then to remove the code from your templates as well.

18 Jul 2010, 5:01 AM
#98
justin2010 avatar

justin2010

New Zenner

Join Date:
May 2010
Posts:
52
Plugin Contributions:
0

Re: Adding reCAPTCHA to Contact Us Form

pickupman:

In /includes/templates/custom/templates/tpl.contact_us_default.php

Around line 145 replace:

<?php echo zen_draw_textarea_field('enquiry', '30', '7', '', 'id="enquiry"'); ?>
> 
> With
> ```
<?php echo zen_draw_textarea_field('enquiry', '30', '7', '', 'id="enquiry"', true); ?>

Thanks for the reply. I tried it but no luck. Any more tips?

3 Oct 2010, 10:29 PM
#99
jay76 avatar

jay76

New Zenner

Join Date:
Jan 2010
Posts:
91
Plugin Contributions:
0

Re: Adding reCAPTCHA to Contact Us Form

is there an add on for recaptcha for the account registration process?

would be good to have both for contact us and account registration :D

3 Oct 2010, 10:34 PM
#100
pickupman avatar

pickupman

New Zenner

Join Date:
Jun 2009
Posts:
83
Plugin Contributions:
2

Re: Adding reCAPTCHA to Contact Us Form

I wouldn't mind extending this addon for other pages. Others got input on what pages this should be added to?