Installed this mod on my forum, Unable to stop the bots. 95 in the last 24 hours. I checked to see if this mod was on and adjust time to 30 secs. Any help would be appreciated.
$vbulletin->input->clean_array_gpc('p', array(
'isbot_time1' => TYPE_UINT
));
if ($vbulletin->GPC['username'] && $vbulletin->GPC['email'])
{
$isbot_time1 = $vbulletin->GPC['isbot_time1'];
$isbot_time2 = TIMENOW;
$isbot_timediff = intval($isbot_time2 - $isbot_time1);
if ($isbot_timediff <= 30) // difference in seconds
{
$isbot_username = htmlspecialchars_uni($vbulletin->GPC['username']);
$isbot_email = htmlspecialchars_uni($vbulletin->GPC['email']);
$isbot_subject = $vbphrase['isbot_user_blocked_from_registering'];
$isbot_message = $vbphrase['isbot_the_following_name_email_blocked']
. ': ' . $isbot_username . ' - ' . $isbot_email
. ' (' . $isbot_timediff . ' ' . $vbphrase['isbot_seconds_transpired'] . ')';
vbmail($vbulletin->options['webmasteremail'], $isbot_subject, $isbot_message, true);
eval(standard_error(fetch_error('noregister')));
}
}
|