打开source\include\post\post_newthread.php
找到if(!$sortid && !$special
&& trim($message) == '') {
showmessage('post_sm_isnull');
}
在下面加上以下代码就可以了
//--------------------------------------
$query = DB::query("SELECT fid FROM
".DB::table('forum_thread')." WHERE subject='$subject'");
while($option = DB::fetch($query)) {
showmessage('标题重复!,请不要重复发一样的帖,请返回');
break;
}
//--------------------------------------
本文转自www.qqtu88.com