Log in

View Full Version : How to


Stifmeister2
07-10-2007, 05:28 PM
How to show more than 5 Newest Champions in arcade main page?

I've seen it on other boards and can't seem to find it from arcade settings, so I guess I have to edit arcade.php?

--------- edit --------
This seems to be a feature in the ibproarcade 3.3 for invision. It would be a great feature for your ibparcade too Mr.Zeropage! ;)


Anyway is there a way to change this from arcade.php for now?

MrZeropage
07-11-2007, 09:40 PM
the v3.3.0 is from InvisionBoard-branch and has nothing to do with the vBulletin-branch, sorry. Complete different development, v2.5.2 was the common base and after this it split up.

It is possible to extend this "newest champions", but it is late now and I don't have my USB-stick here by now (already placed it downstairs along the mobile and the car-key), so no access to the ibPro-Development now :p

Stifmeister2
07-11-2007, 10:50 PM
the v3.3.0 is from InvisionBoard-branch and has nothing to do with the vBulletin-branch, sorry. Complete different development, v2.5.2 was the common base and after this it split up.

It is possible to extend this "newest champions", but it is late now and I don't have my USB-stick here by now (already placed it downstairs along the mobile and the car-key), so no access to the ibPro-Development now :p
No problem. :p Check it when you can.


Just one question: Will I have to edit arcade.php myself (won't be a problem) or is it easy to implement and maybe put to 2.6.2+ final version as a new feature? ;)

stangger5
07-12-2007, 02:01 AM
You need to edit the arcade.php file...

Look for :$newtext

Under the first $newtext is the data base query

$DB->query("SELECT c.*, g.gcat, cat.password FROM ibf_games_champs AS c, ibf_games_list AS g, ibf_games_cats AS cat WHERE c.champ_gid=g.gid AND g.gcat=cat.c_id AND trim(password)='' ORDER BY champ_date DESC LIMIT 0,5");

Change the 0,5 to what you want...
If you want 9,,then just put 0,9.....

Southernphuk
07-12-2007, 02:32 AM
What is there such a division between the Invision Board and the VB one? What other goodies does the Invision version have that VB doesn't? Curious ..

Stifmeister2
07-12-2007, 09:14 PM
You need to edit the arcade.php file...

Look for :$newtext

Under the first $newtext is the data base query

$DB->query("SELECT c.*, g.gcat, cat.password FROM ibf_games_champs AS c, ibf_games_list AS g, ibf_games_cats AS cat WHERE c.champ_gid=g.gid AND g.gcat=cat.c_id AND trim(password)='' ORDER BY champ_date DESC LIMIT 0,5");

Change the 0,5 to what you want...
If you want 9,,then just put 0,9.....
Thanks that does the trick. :)