修改post.php 这个文件,在59行处

if($thread['readperm'] && $thread['readperm'] > $readaccess && !$forum['ismoderator'] && $thread['authorid'] != $discuz_uid) {
   showmessage('thread_nopermission', NULL, 'NOPERM');
  }

的下面添加下面代码即可。

  //只有版主和发贴人自己能回复
  if(($forum['fid']==42) && ($thread['authorid']!=$discuz_uid) && !$forum['ismoderator']  )
  {
           showmessage('只有版主和发贴人才能回复', NULL, 'NOPERM');
  }

Last modification:September 17th, 2009 at 05:19 pm
如果觉得我的文章对你有用,请随意赞赏