Thanks to
stinger2 who let me test the problem with old mods showing up, I was able to figure out the problem and come up with a fix.
It is more of a vb bug then mine, but I'm the one that will release a fix.
This happened when you had a forum and moderator for it, then you deleted the forum BEFORE you removed the moderator. You think you loose the moderator also? Wrong! For some unknown reason, vB keeps the row in the database but changes the forumid to -1.
He is fix for those who want to fix before my next update.
Go to your Plugin System. Open up the Moderator Stats plugin that is located by misc_start.
Find:
PHP Code:
$show_moderators_usergroups = 'OR moderator.userid = user.userid';
and replace with:
PHP Code:
$show_moderators_usergroups = 'OR (moderator.userid = user.userid AND moderator.forumid != \'-1\')';
Save the plug-in.
Done.