Log in

View Full Version : Best Game on external page


nhatrang
08-02-2006, 08:10 AM
Is there anyway we can display the most played game on an external website or page? Thanks in advance!

MrZeropage
08-02-2006, 01:50 PM
SELECT gtitle FROM ".TABLE_PREFIX."games_list WHERE active=1 ORDER BY timesplayed DESC LIMIT 1

nhatrang
08-02-2006, 07:07 PM
I'm very new at this, can you please help me? Can you help me how to call the images out and also the config files?

MrZeropage
08-02-2006, 08:14 PM
Sorry, I will give support for ibProArcade itself here and maybe some small hints for other solutions like your request, but no custom adaptions right now - I want to push ibProArcade v2.5.7+ to release :)

nhatrang
08-02-2006, 08:18 PM
oh sorry, i didn't know a few lines that I'm sure a lot easier than the above could take so much time :)

nhatrang
08-11-2006, 05:44 AM
there is no gtitle table inside games_list... can you please help?

MrZeropage
08-11-2006, 05:34 PM
gtitle must be in games_list if you are using ibProArcade...
Table-Prefix ?

nhatrang
08-11-2006, 08:53 PM
last time I check I was in ibProArcade and also using ibProArcade ;) :))

I've managed to display the pictures, but for some reason, when I limit more than 1, the game pictures display in columns, not rows... how do I make it display the pictures from left to right? all 10 of them?

print "<a href=\"http://community.yahoo.com/arcade.php?&act=Arcade&do=play&gameid=$id\"><img src=\"/community/arcade/images/{$gname}1.gif\" width=\"50\" height=\"50\" border=\"0\"></a ><br/>";

this is tricky, can somebody help me only pick the 2nd best favorite playing game instead of #1?