I found a slight bug while installing a new arcade. In your arcade king section of code you need to ammend the query to read:
PHP Code:
$mosthighscores = $DB_site->query("SELECT games.highscorerid, user.username, user.userid FROM " . TABLE_PREFIX . "games AS games
LEFT JOIN " . TABLE_PREFIX . "user AS user ON user.userid = games.highscorerid WHERE games.highscorerid!=''");
instead of:
PHP Code:
$mosthighscores = $DB_site->query("SELECT games.highscorerid, user.username, user.userid FROM " . TABLE_PREFIX . "games AS games
LEFT JOIN " . TABLE_PREFIX . "user AS user ON user.userid = games.highscorerid");
or in the case you have more games without a highscorerid it will just loop the results and not show the arcade king.