Top thread starter, use this instead of the query in the hack:
PHP Code:
// <!-- TOP THREAD STARTER -->
$topstarter=$DB_site->query_first("
SELECT COUNT(*) AS count,postuserid,postusername
FROM " . TABLE_PREFIX . "thread
WHERE postuserid <> 0
AND postuserid NOT IN (1)
GROUP BY postuserid
ORDER BY count
DESC LIMIT 1
");
Top Poster, do the same thing with this:
PHP Code:
// <!-- TOP POSTER -->
$topposter = $DB_site->query_first("
SELECT username,posts,userid
FROM " . TABLE_PREFIX . "user
WHERE userid NOT IN (1)
ORDER BY posts
DESC LIMIT 1
");
Top reputation, again, do the replace it with:
PHP Code:
// <!-- TOP REPUTATION -->
$toprep = $DB_site->query_first("
SELECT userid, username, reputation
FROM " . TABLE_PREFIX . "user
WHERE userid NOT IN (1)
ORDER BY reputation
DESC LIMIT 1
");
If you want to add more userids, just put a comma after the 1 in the code abaove and the userid you want to exclude, like this:
NOT IN (1,2,3,4,5)