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?