Quote:
Originally Posted by KTBleeding
I upgraded to 3.0.3 and now none of my posts show up after this hack.
I'm pretty sure it's because I could not figure this out at all:
Code:
=================================
includes/functions_showthread.php
=================================
Find:
___________________________________________________________________________________________
// ###################### Start getreputationimage #######################
???????????????????????????????????????????????????????????????????????????????????????????
Above this, add:
___________________________________________________________________________________________
if ($arcadegeneral['awardson']==1) {
// declares the arcade image directory
$stylevar['imgdir_arcade'] = "images/arcade";
$arcade_result = $DB_site->query("SELECT shortname,title,gamesettings,highscorerid,highscore,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'];
}
}
}
I can't find that line anywhere.
Anyone know where else I should put this?
|
that line has been taken out in vb 3.0.3 and this new line has been added instead. Just add it above this line in functions_showthread:
// ###################### Start doimicons #######################