|
spam from new users
This modification is in the archives.
Not so much a plugin, more a little code modification. It moderates any first posts which contains 'www' or 'http' and posts the post to a thread of your choice (presumably in a private forum) - the idea being that you can re-approve any false positives. Simple I know, but it has cut out the majority of my spam.
The change goes in includes/functions_newpost.php , around line 353 (depending on your VB version) Code:
if ($vbulletin->userinfo['posts'] == 0) {
if ((strpos($post['message'], "http") > 0) || (strpos($post['message'], "www.") > 0) || (strpos($post['message'], "www ") > 0) ) {
$dataman->set('visible', 0);
$post['visible'] = 0;
$pete_post = "The following post by http://\"/forum/member.php?u=" . $vbulletin->userinfo['userid' has been auto-unapproved:
Code:
else
{
$dataman->set('visible', 1);
$post['visible'] = 1;
}
Code:
if ($type != 'thread')
{
if ($postinfo['postid'] == 0)
{
Download No files for download. |
|||||||||
Similar Mods
| Show Thread Enhancements Email address masking / obfuscation - Protect your users from spam! | Modification Graveyard |
| Moderate first 10 posts from new users (Anti-Spam) | vBulletin 2.x Full Releases |