 |
 |
 |
 |
Registered: 03/24/10
Posts: 8
|
|
|
 |
 |
 |
 |
|
 |
 |
 |
 |
#242578 - 04/14/11 07:19 PM
Stopping spammers cold
|
member
|
Registered: 11/09/04
Posts: 191
|
|
Once in a while I get a persistent spammer that can get seemingly limitless email address and IP addresses. Recently I banned him again and then turned on Registration Approval to review new registrations (usually fruitless.) The next registration I got was with email Luzifull@gmail.com and IP Address 110.164.249.158. As a last ditch effort to stop this guy, I tried a google search Luzifull@gmail.com 110.164.249.158 and I got a HIT! http://www.stopforumspam.com/ipcheck/110.164.249.158OMG! I disallowed the registration with the reason: "because you're an idiot" Over the next three days I got 4-5 such registrations, all of them appearing on stopforumspam.com. PLEASE write a MOD that incorporates this wonderful functionality! (they claim they have an API for this very reason.)
_________________________
Member since November 2004 Gold Member since Feb 2008
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
|
Express Hosting
"We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#242603 - 04/15/11 03:33 PM
Re: Stopping spammers cold
[Re: luket]
|
member
|
Registered: 11/09/04
Posts: 191
|
|
done in 20 minutes.. but it's not working. This step:
In templates/default/admin/membermanage.tmpl
Find:
for($i=0;$i<sizeof($que);$i++) { //UBBTREMARK
Add Below:
$xml_string = file_get_contents("http://www.stopforumspam.com/api?email=". $que[$i]['email']);
$xml = new SimpleXMLElement($xml_string);
if($xml->appears == 'yes'){
$spammer_real_email = " <a href=\"http://stopforumspam.com/search/?q=". $que[$i]['email'] ."\" target=\"_blank\" style=\"color: #FF0000; font-weight: bold;\">{$ubbt_lang["SFS_ALERT"]}</a>";
} else {
$spammer_real_email = "";
}
$xml_string = file_get_contents("http://www.stopforumspam.com/api?ip=". $que[$i]['ip']);
$xml = new SimpleXMLElement($xml_string);
if($xml->appears == 'yes'){
$spammer_reg_ip = " <a href=\"http://stopforumspam.com/ipcheck/". $que[$i]['ip'] ."\" target=\"_blank\" style=\"color: #FF0000; font-weight: bold;\">{$ubbt_lang["SFS_ALERT"]}</a>";
} else {
$spammer_reg_ip = "";
}
Before:
for($i=0;$i<sizeof($que);$i++) { //UBBTREMARK
echo <<<UBBTPRINT
<tr><td class="stdautorow autobottom colored-row" valign="top">
<small>
...
After:
for($i=0;$i<sizeof($que);$i++) { //UBBTREMARK
$xml_string = file_get_contents("http://www.stopforumspam.com/api?email=". $que[$i]['email']);
$xml = new SimpleXMLElement($xml_string);
if($xml->appears == 'yes'){
$spammer_real_email = " <a href=\"http://stopforumspam.com/search/?q=". $que[$i]['email'] ."\" target=\"_blank\" style=\"color: #FF0000; font-weight: bold;\">{$ubbt_lang["SFS_ALERT"]}</a>";
} else {
$spammer_real_email = "";
}
$xml_string = file_get_contents("http://www.stopforumspam.com/api?ip=". $que[$i]['ip']);
$xml = new SimpleXMLElement($xml_string);
if($xml->appears == 'yes'){
$spammer_reg_ip = " <a href=\"http://stopforumspam.com/ipcheck/". $que[$i]['ip'] ."\" target=\"_blank\" style=\"color: #FF0000; font-weight: bold;\">{$ubbt_lang["SFS_ALERT"]}</a>";
} else {
$spammer_reg_ip = "";
}
echo <<<UBBTPRINT
<tr><td class="stdautorow autobottom colored-row" valign="top">
<small>
...
And all I get is a blank member management page. I see the four tabs across the top, but I cannot click on them. Also the display pane is empty. Any ideas?
_________________________
Member since November 2004 Gold Member since Feb 2008
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
|
|