OK VT, once you get me started... Here is a little script that will report your kill file stats (who is being ignored). Save it with any name in the same directory as your forum index.php.
Code:
<?php
require("global.php");
echo "<font face=verdana,arial size=2><b>username</b>: who they are ignoring<br> <br>";
$ignorequery = $DB_site->query("SELECT username,ignorelist FROM user WHERE ignorelist !=''");
while($ui=$DB_site->fetch_array($ignorequery)) {
$user=$ui[username];
$ignorelist=$ui[ignorelist];
echo "<b>$user</b>: ";
$ignorelist2 = split("\n", $ui[ignorelist]);
while (list($key,$val)=each($ignorelist2)) {
$val = trim($val);
if ($val!="" and strlen($val) > 1) {
$id=intval($val);
if ($check=$DB_site->query_first("SELECT username FROM user WHERE userid=$id")) {
$val = $check[username];
}
echo "\"$val\" ";
$icount[$val] = $icount[$val] + 1;
}
}
echo "<br>";
}
echo " <br>";
asort($icount);
while (list($key,$val)=each($icount)) {
echo "$key has been ignored $val times.<br>";
}
?>