修改post.php 這個文件,在59行處
$ y7 \& v& {. M' M9 E
" W* ^, ~% X& W" l9 e& ]8 y1.if($thread['readperm']&& $thread['readperm'] > $readaccess &&!$forum['ismoderator'] && $thread['authorid'] != $discuz_uid) {) x e) T3 ^+ y* t+ q
2. showmessage('thread_nopermission', NULL, 'NOPERM');: j, p5 L7 m; ?3 N$ T8 X/ s
3. }
9 u, z( m3 x) c* p' F5 P" E
" F3 y X3 @, X7 d% L4 I的下面添加下面代碼即可。9 `2 P1 A2 ~5 O$ A" x' a
: Y7 X' L6 d- v) W# A
1.//只有版主和發貼人自己能回復
* U7 E# G* m) I( N1 ]- r c* k; d2. if(($forum['fid']==42) && ($thread['authorid']!=$discuz_uid) && !$forum['ismoderator'] )) p. h; |6 M. M @$ y
3. {
$ b# B6 N! e W0 f+ n+ s4 u4. showmessage('只有版主和發貼人才能回復', NULL, 'NOPERM');7 B/ h% R4 l! G- o
5. } |
|