General / Allgemeines > Chit Chat
Stop Spammers
comicart:
--- Quote from: Hagen-Roderich on November 03, 2010, 04:49:14 PM ---Maybe you will have a look at: http://www.botscout.com ?
--- End quote ---
I want to include BotScout in my 4images registration page. Instructions ask me to add this code:
--- Code: ---////////////////////////////////////////////////////
// BotScout.com "BotBuster" check
include('/path/to/your/forum/Sources/BotScout.php');
////////////////////////////////////////////////////
--- End code ---
Can anyone tell me what file to add this to and where to include it?
comicart:
--- Quote from: Hagen-Roderich on November 03, 2010, 04:49:14 PM ---Maybe you will have a look at: http://www.botscout.com ?
--- End quote ---
Can you help me integrate Bot Scout with 4images?
nobby:
@ Comicart paste the following code into your .htaccess.
--- Code: ---<RequireAll>
Require all granted
Require not ip 188.92.75.244
</ RequireAll>
--- End code ---
The IP you have to replace with where the spams come from.
The above is Latvia.
Info: https://www.stopforumspam.com/ipcheck/188.92.75.244
Nobby
comicart:
UPDATE - THIS HAS BEEN UNSUCCESSFUL FOR ME. IT JUST DOESN'T WORK. IF YOU CAN FIGURE OUT HOW TO MAKE IT WORK PLEASE LET ME KNOW.
--- Quote from: nobby on January 19, 2017, 04:25:04 PM ---@ Comicart paste the following code into your .htaccess.
--- Code: ---<RequireAll>
Require all granted
Require not ip 188.92.75.244
</ RequireAll>
--- End code ---
The IP you have to replace with where the spams come from.
The above is Latvia.
Info: https://www.stopforumspam.com/ipcheck/188.92.75.244
Nobby
--- End quote ---
Thanks but that's just one IP!
I integrated Botscout on the register.php page here:
--- Code: --- if (!empty($additional_user_fields)) {
foreach ($additional_user_fields as $key => $val) {
if (isset($HTTP_POST_VARS[$key]) && intval($val[2]) == 1 && trim($HTTP_POST_VARS[$key]) == "") {
$error = 1;
$field_error = preg_replace("/".$site_template->start."field_name".$site_template->end."/siU", str_replace(":", "", $val[0]), $lang['field_required']);
$msg .= (($msg != "") ? "<br />" : "").$field_error;
}
////////////////////////////////////////////////////
// BotScout.com "BotBuster" check
include(ROOT_PATH.'BotScout.php');
////////////////////////////////////////////////////
}
}
} // end if
--- End code ---
I'm waiting to see how affective it really is.
Learn more here.
http://botscout.com/code.htm
novin:
thanks
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version