Forums / General Questions / How to make a CAPTCHA for contact Us page that I can't using the Google reCAPTCHA?

How to make a CAPTCHA for contact Us page that I can't using the Google reCAPTCHA?

Started by explorer1979 on 25 Feb 2016, 8:59 AM · Views: 2,384

Results 1 to 5 of 5
25 Feb 2016, 8:59 AM
#1
explorer1979 avatar

explorer1979

Inactive

Join Date:
Jan 2007
Posts:
377
Plugin Contributions:
0

How to make a CAPTCHA for contact Us page that I can't using the Google reCAPTCHA?

Hi all,

I have one of Zen Cart that main for China market, but ...
I am using the Google reCAPTCHA many year. And this module real do it job well.

The bad news is ... CHINA block All Google Service, so natively the Google reCAPTCHA module that not work.

Do ZC have any non Google tech CAPTCHA module that can work with ZC 1.5.4?
If not how to write the PHP coding that easy to integration it?

Thank you.

25 Feb 2016, 11:42 AM
#2
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: How to make a CAPTCHA for contact Us page that I can't using the Google reCAPTCHA?

explorer1979:

Hi all,

I have one of Zen Cart that main for China market, but ...
I am using the Google reCAPTCHA many year. And this module real do it job well.

The bad news is ... CHINA block All Google Service, so natively the Google reCAPTCHA module that not work.

Do ZC have any non Google tech CAPTCHA module that can work with ZC 1.5.4?
If not how to write the PHP coding that easy to integration it?

Thank you.

Since ZC 1.5.1, ZC has had code in the contact us and a few other areas to minimize spam related entries. That said, templates that override (do not include the applicable code) and particular add-ins that do not incorporate that code will allow spam through more readily.

This does not directly answer your question, but if you compare your contact us template file to the template_default version of the file you should see a hidden field that has been added compared to older versions of ZC. While not trying to encourage additional bots to go to your site, providing a link to the site would help others more directly resolve that issue. The liink can be obscured using (dot) or some other separation to minimize automated systems from following the "link".

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

26 Feb 2016, 6:01 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: How to make a CAPTCHA for contact Us page that I can't using the Google reCAPTCHA?

explorer1979:

Dear mc12345678,

Yes, I am not using the default template on my web site, it is a template bought from there
http://www.templatemonster.com/zencart-templates/37597.html#gref
That template was built on ZC v1.5.0. You need at least v1.5.1 to benefit from the built-in spam prevention.

You said you're using v1.5.4 .... so , you need to compare all the /includes/templates/template_default files against your /includes/templates/templatemonster_37597 files and merge the things that are missing FROM template_default INTO your templatemonster mess.

Or get them to do it for you if you think you can convince them that they misled you when they said it was compatible.

.
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.

27 Feb 2016, 11:43 AM
#5
explorer1979 avatar

explorer1979

Inactive

Join Date:
Jan 2007
Posts:
377
Plugin Contributions:
0

Re: How to make a CAPTCHA for contact Us page that I can't using the Google reCAPTCHA?

Dear mc12345678 & Dr. Byte,

I got the point and thank you, final find the code and integration with it.