Search the Community
Showing results for tags 'accept terms'.
Found 1 result
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