Jump to content
PHP論壇人

Google验证码更换为recaptcha.net [简体]


Recommended Posts

如果你用正版IPS会发现原码被修改

 

recaptcha03.png

 

recaptcha04.png


 

你的论坛要给国人使用才需要修改,因为Google验证码被墙

每次IPS论坛升级,这几个修改的文件都会被覆盖,所以要再次检查并上传

IPS 4.4 修改这4个文件

/applications/core/data/theme.xml

/applications/core/data/javascript.xml

/system/Helpers/Form/Captcha/Invisible.php

/system/Helpers/Form/Captcha/Recaptcha2.php


寻找
www.google.com/recaptcha
替换为
www.recaptcha.net/recaptcha

修改后,保存文件

如果还没上传,就上传到对应目录

 

论坛后台 -> 会员 -> 垃圾邮件预防 -> 验证码类型 -> 选择 隐形reCAPTCHA 或 reCAPTCHA V2 ->确认

 

清除缓存

论坛后台 -> 系统 -> 支持 -> (.)某些功能无法正常运行。我要清除缓存 -> 继续

 

 

Edited by Jack
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...