discuz 个人资料页广播添加验证码

时间:2018-12-27 11:01作者:网友投稿

目录 在文件根目录下找到相关文件,路径如下:

source/module/home/home_follow.php

打开home_follow.php?大概在?170行

找到以下代码,注释以下的两行代码
//$seccodecheck?=?($_G['setting']['seccodestatus']?&?4)?&&
(!$_G['setting']['seccodedata']['minposts']?
||
getuserprofile('posts')?<?$_G['setting']['seccodedata']?

['minposts']); 
//$secqaacheck = $_G['setting']['secqaa']['status'] & 2 && 
(!$_G['setting']['secqaa']['minposts'] || getuserprofile('posts') <
$_G['setting']['secqaa']['minposts']); 

然后在注释掉的代码后面添加以下代码:(加在上面代码的下边)
list($seccodecheck, $secqaacheck) = seccheck('publish');

免责声明:本站所有文章和图片均来自用户分享和网络收集,文章和图片版权归原作者及原出处所有,仅供学习与参考,请勿用于商业用途,如果损害了您的权利,请联系网站客服处理。