Search the Community
Showing results for tags 'recaptcha'.
Found 4 results
This addon prevents multiple emails from being sent through the forms on the site by adding a hidden challenge. Sending emails through the forms is a favorite thing to do by spammers. This has traditionally been handled by Googles Recaptcha code but that causes too much of a challenge in many cases and can easily frustrate your customers. This code doesn't present a challenge for the customer at all. The checking is done without the customer even knowing it. The code will work in any version of oscommerce but the instructions are just for the Community Edition and just for the contact us page (due to time constraints).
JcMagpie posted a topic in General Add-Ons SupportJcM Google reCAPTCHA V2 & Terms Phoenix A simple add-on to let add the Google reCAPTCHA V2 and accept terms to any form in Phoenix 220.127.116.11 that has the hooks added to it. It is a no core change add-on and uses site-wide hooks. Simply copy all the files over. You will need your Google reCAPTCHA so you can add them to the following file includes/languages/english/hooks/shop/siteWide/jcm_google_recaptcha.php Just open it in your editor and add the comment and keys into it //google define('MODULE_CONTENT_RECAPTCHA_ERROR','Sorry you need to prove you are human first please complete the google captcha'); define('MODULE_CONTENT_RECAPTCHA_SITEKEY','Place your site key here'); define('MODULE_CONTENT_RECAPTCHA_SECRETKEY','Place your Secret key here'); You can also define which pages it is shown on by editing the hook file. $good_pages = ['contact_us.php', 'create_account.php']; This is done in both the capatcha hook file JcMgoogleCapatcha.php and the accept terms file JcMaTerms.php That’s it it should just work. When you go to your contact_us page you should see the Google reCAPTCHA and if installed the accept terms. This will only work on Phoenix. Enjoy. Can be see working on this site
Sorry................ i cannot . Let me trow up an idea and let YOU and the rest either give it a go... or reject it by good argumentation. We use in oscommerce for all links: - tep_href_link What if use for the above listed pages: - tep_gen_href_link ( where _gen means: Generated link) So if DIRECTLY goto contact_us.php and there is no KEY provided that matches. You already know it is a bot. Give it a thought. I not say it go cover all problems. Now i really stop.
JcMagpie posted a topic in General Add-Ons SupportJcM Modal reCaptcha Contact V1.0 Phoenix A simple add-on that allows you to replace the stock footer information block with one that has a new simple contact form within a modal with Google reCapture. It also displays the information links in a modal window so customer is never taken away from the page they are on. It’s a simple no core change add-on so just copy files over go to admin and install and setup. Turn off the stock information block. To use the contact form you will need you google site keys. Add the secret key to the mail.php file along with the email address you wish to use. Line 6. $secretKey = 'put your secret key here'; Line 15. $mail_to = "your email here"; Then in the language file add you site key, cm_footer_jcm_modal_information_recaptcha_contact.php Line 75. <div class="g-recaptcha" data-sitekey="put your site key here"></div> That’s it enjoy. Has been tested on Phoenix 18.104.22.168 only. Can be seen working on this custom test site