MyBB Community Forums

Full Version: Minimum stop forum spam weighting
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have received a few emails from users now trying to register, saying that the system labels them as spammers. When i check the stop forum spam log, their emails and IPs appear valid and are not even in the stop forum database. Suggesting perhaps that the default weighting of 50 in the settings is too low, maybe 90 would be more appropriate.
ye i am also interested in this

what are the optimal values?
After checking my logs, I am setting mine to 100.
Yeah, it's hard to work out the optimal weighting. It's probably worth seeing how many others are having this issue and we can look to see if there's a better default based on user input.
i have found much easier solution Big Grin

here for you

add this to post php inside verify post


$postcount = $mybb->user['postnum'];
$requiredcount = 10;


if($requiredcount > $postcount) {

if(preg_match('/(((http|https|ftp|ftps)\:\/\/)|(www\.))[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(\:[0-9]+)?(\/\S*)?/', $post['message']))
{
$this->set_error(sprintf("You cannot post clickable links to this forum threads and posts. Minimum post count is ".$requiredcount." posts. But your post count is just ".$postcount." posts.", "No Links Allowed"));
return false;
}
}


all these weighting etc are useless

setting min post count fixes all for posting links
I use 70%, works fine... it needs testing