♥JcMagpie Posted November 22, 2019 Share Posted November 22, 2019 We have a big problem with spam and fake accounts on Phoenix sites, so what can we do? Well found some time to hook Google reCAPTCHA V2 for Phoenix 126.96.36.199 so everyone can make use of it. I have installed and tested on Phoenix 188.8.131.52 but as this is critical to comunincation with your customers I'm not going to post in the app's untill it's been tested by a few others. So here we go. JcM Google reCAPTCHA V2 Phoenix V1.0 A simple add-on to let add the Google reCAPTCHA V2 to any form in Phoenix 184.108.40.206 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/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'); That’s it it should just work. When you go to your contact_us page you should see the Google reCAPTCHA Enjoy. Can be see working on this site Thank's to @Gyakutsuki for helping to debug this. JcM Google reCAPTCHA V2 Phoenix V1.0.zip valquiria23 1 Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.