source/include/post/post_newreply.php: On line No. 406
Source/include/post/post_newthread.php: Line 125th
Add Content:
If the verification code is out, the length and content of the post are limited.
if ($seccodecheck) {
if (strlen ($message) > 40) {
ShowMessage (' New registered users ' posts are limited to 20 characters or less! ');
}elseif (Preg_match ("/\d{5,}/", $message)) {
Here the match is the number, mainly QQ and mobile phone number.
ShowMessage (' The system thinks your content is advertising, please re-edit! ');
}elseif (Stripos ($message, '. Net ')!== FALSE
|| Stripos ($message, '. com ')!== FALSE
|| Stripos ($message, '. org ')!== FALSE
|| Stripos ($message, '. cn ')!== FALSE
|| Stripos ($message, '. CC ')!== FALSE
|| Stripos ($message, ' QQ ')!== FALSE
Below this matching img tag is a lot of advertising machines using IMG to forge a signature and then add the ads inside.
|| Stripos ($message, ' [img] ')!== FALSE) {
ShowMessage (' The system thinks your content is advertising, please re-edit! ');
}
}
My own is the film forum, the user reply is generally thanks to the landlord and other good people such things, other forums can be appropriate to relax the content of the length limit.
With this modification, the daily psoriasis in my forum dropped from dozens of to 0.