PDA

View Full Version : Forum Display Enhancements - Arcade Page Mod


^FalcoN_65^
12-11-2007, 10:00 PM
This is not really a mod per se, so admins or mods please feel free to reclass and move to where appropriate.

I have the ibProArcade v2.5.7+arcade installed and myself and many others wanted a way to quickly find games with no highscore after they reset (so we can pad our rankings ;)

Anyway, my ideal eventual goal is to add a sorting paramater for the games in the arcade admin cp to add the option of sorting by whether there is no score or not.

But since I am no coder and just want to make these games highly visible, I just edited the code in aracde.php as follows:

Find the following text in arcade.php:

else
{
$actualtop['name'] = "<i>{$ibforums->lang['noscorestored']}</i>";
$actualtop['score'] = "&nbsp;";
}


And replace it with


else
{
$actualtop['name'] = "<i><b><font color=yellow><font size=5>{$ibforums->lang['noscorestored']}</font></font></b></i>";
$actualtop['score'] = "&nbsp;";
}



Which will simply make it big and yellow, as shown here in this screenshot:



http://www.extremeownage.com/ahl.JPG

Obviously the color and size could be adjusted to suit your site styles. Anyhow this is probably the lamest thing ever done, but I post it on the off chance someone else wanted a way to make the "no high score" games stand out.

Animecraving
12-11-2007, 10:47 PM
this is like nothing but just add color code in...

^FalcoN_65^
12-11-2007, 11:32 PM
Yes, which is why I said that it is the lamest thing ever done. If anyone wants to discuss actually modding the code for sorting the order of the games displayed, I am all for actually doing something like that.

Like I said above, this isn't really a mod of operational code, but it served a purpose for my users.

MrZeropage
12-13-2007, 06:54 PM
using v2.5.7+ you are recommended to update to v2.6.5+ IMMEDIATLY as ll versions prior to v2.6.1+ have a security-issue ...