This is a fantastic mod
I have Vbulletin 3.0.3 up and running and the only hitch was in the file includes/showthread.php the following is not there anymore
"// ###################### Start getreputationimage #######################"
Inserting the necessary code in where I next saw "reputation" code blew up cookies and all threads were not accessible.
So I used a little common sense and looked again, the code insertion was near the top so I popped it in above what looked like a new external function call for the reputation image.
here is what my file looks like that works fine with 3.0.3 now - note the // hack and // hack end comments delimiting the inseted arcade hack code.
require_once('./includes/functions_bbcodeparse.php');
//hack
if ($arcadegeneral['awardson']==1) {
// declares the arcade image directory
$stylevar['imgdir_arcade'] = "images/arcade";
$arcade_result = $DB_site->query("SELECT shortname,title,gamesettings,highscorerid,highscor e,miniimage,gameid FROM " . TABLE_PREFIX . "games ");
while ($arcade = $DB_site->fetch_array($arcade_result)){
if (($arcade[gamesettings] & $_GAMESCHECK['showaward'])){
$awards[$arcade[shortname]]['userid'] = $arcade['highscorerid'];
$awards[$arcade[shortname]]['gametitle'] = $arcade['title'];
$awards[$arcade[shortname]]['icon'] = $arcade['miniimage'];
$awards[$arcade[shortname]]['highscore'] = $arcade['highscore'];
$awards[$arcade[shortname]]['gameid'] = $arcade['gameid'];
}
}
}
//end hack
require_once('./includes/functions_reputation.php');
|