Site Network: Home | | 网赚 | About



discuz5.0精华贴禁止游客浏览


打开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  

0 Comments:

Post a Comment