不积跬步,无以至千里!
Discuz版本:X2
编码:GBK
修改:/source/include/post/post_newreply.php
在
$pinvisible = $modnewreplies ? -2 : ($thread['displayorder'] == -4 ? -3 : 0);
$message = preg_replace('/\[attachimg\](\d+)\[\/attachimg\]/is', '[attach]\1[/attach]', $message);
下面加入
if(preg_match_all("/[\xB0-\xF7][\xA1-\xFE]/",$message,$regs)<5) showmessage(" <b><font color=red>请珍惜你的ID,恶意灌水者会被禁ID封IP,为了尊重楼主的贡献,请输入至少5个中文!</font></b>");