Replace these three lines...
$ModBoard = $row[0];
$ModUserName = $row[1];
$moderatorHash[$ModBoard][$ModUserName] = true;
Reason being... look at your moderators table... I remember in mine (when my forums were up...) that some people had moderator but no board name or sometimes there were board names and no moderator. This is just a little safety net if that framentation happens to others...
if($row[0] != "" && $row[1] != "") $moderatorHash[$row[0]][$row[1]] = true;
Same disclaimer applies to this as has applied to all my other hacks I posted tonight... I don't have access to a functioning forums to test these hacks out on currently..
And what's up with the pre tags? I can put infinity line feeds after the closing pre tag but it puts my next line right up against the last line in the pre tags.... It makes reading code ANNOYING.... Using the PHP version of these msg boards BTW.
Doug
http://www.netherworldrpg.net