导读功能如何禁止游客查看 New
版块设置了指定用户组的权限,导读功能就没有相关帖子显示。1 贡献最佳答案
source\module\forum\forum_guide.php
在if(!defined('IN_DISCUZ')) {
exit('Access Denied');
}
下面 加上 下面的 代码:
if($_G['uid'] == 0) {
showmessage('not_loggedin', null, array(), array('login' => 1));
}
天外飘仙发表于3 小时前
[*]详细答案 >
source\module\forum\forum_guide.php
在if(!defined('IN_DISCUZ')) {
exit('Access Denied');
}
下面 加上 下面的 代码:
if($_G['uid'] == 0) {
showmessage('not_loggedin', null, array(), array('login' => 1));
}
页:
[1]