ribaron Posted February 2, 2018 Share Posted February 2, 2018 Hello im use whmcs 6.3 but i see this error on register page or contact page http://prntscr.com/i8x4ts How can I solve this problem? note : I do not want to whmcs version update. regards ... Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted February 2, 2018 Share Posted February 2, 2018 3 hours ago, ribaron said: Hello im use whmcs 6.3 but i see this error on register page or contact page http://prntscr.com/i8x4ts How can I solve this problem? note : I do not want to whmcs version update. regards ... Hi @ribaron, Please issue new API Credentials for Google ReCaptcha v2 and update these under Setup > General Settings > Security please note however that only 7 & above support Recaptcha 2 on Submit Tickets & Contact Form if you are not wanting to upgrade to V7.x you may be better changing to just generic Captcaha in the security Settings Link to comment Share on other sites More sharing options...
GiulianoFM Posted April 17, 2018 Share Posted April 17, 2018 Hi @ribaron, i had the same problem. And i've solved the problem with the following code. Replace the code: {if $captcha eq "recaptcha"} {$recaptchahtml} {else} with the following code snippet: {if $captcha eq "recaptcha"} <script src="https://www.google.com/recaptcha/api.js" async defer></script> <div id="google-recaptcha" class="g-recaptcha center-block" data-sitekey="{$reCaptchaPublicKey}"></div> {else} That works for me. Best, Giuliano Link to comment Share on other sites More sharing options...
Lek Posted April 27, 2018 Share Posted April 27, 2018 Hi, please can you tell me where is this file and the name? Thank you. Link to comment Share on other sites More sharing options...
Lek Posted April 27, 2018 Share Posted April 27, 2018 Hi, I found it and did work, the file is in templates/name_of_template(six in my case)/includes. But I would like to apply captcha only in the contact form (contact.php). Thank you for any idea. Lek Link to comment Share on other sites More sharing options...
Recommended Posts