discuz5.0精华贴禁止游客浏览
2007年2月10日星期六
打开viewthread.php查找下面代码:
if($thread['readperm'] && $thread['readperm'] > $readaccess && !$forum['ismoderator'] && $thread['authorid'] != $discuz_uid) {
showmessage('thread_nopermission', NULL, 'NOPERM');
}
在上面这段代码下面加:
if($thread['digest'] > 0 && !$discuz_uid){
showmessage('', NULL, 'NOPERM');
}
保存即可,其他的不需要更改
Posted by Yangtze 13:02
标签: discuz
0 Comments:
订阅:
博文评论 (Atom)