修改post.php 这个文件,在59行处
1 2 3 | if($thread['readperm'] && $thread['readperm'] > $readaccess && !$forum['ismoderator'] && $thread['authorid'] != $discuz_uid) { showmessage('thread_nopermission', NULL, 'NOPERM'); } |
的下面添加下面代码即可。
1 2 3 4 5 | //只有版主和发贴人自己能回复 if(($forum['fid']==42) && ($thread['authorid']!=$discuz_uid) && !$forum['ismoderator'] ) { showmessage('只有版主和发贴人才能回复', NULL, 'NOPERM'); } |



非常实用的功能
博主怎么不更新网站了,还想多学点DZ论坛的技巧呢
还不错,用得上
又来支持了?!
@Daemon Tools: 我觉得是一个非常实用的功能
这个功能估计很少的人才用得到
最好能举个例子
不知道这个功能在什么情况下用