PDA

View Full Version : V3Arcade - AdminCP: game settings scroll window


frankenberrie
10-27-2004, 10:00 PM
V3Arcade - AdminCP: game settings scroll window

This mod adds a scroll window in the Arcade Admin under game settings. So now its a bit easier when looking for and modifying games.

See attached image

File to modify - \admincp\arcadeadmin.php - should take less that 30 seconds
(dont forget to make a backup!!)


FIND:
// ######################## ARCADE GAME SETTINGS #########################
if ($_GET['do'] == "games") {
print_cp_header("Arcade Game Settings");
print_form_header('arcadeadmin', 'gamesupdate');
print_table_header("Arcade Game Settings");
$menu = "

Directly after that add:
<div style=\"height:225px; width:400px; overflow:auto;\">

DONE!!

You can change the width and height settings to your liking. The default settings work well on a screen with 1280x1204 resoultion.
Don't forget to click install :)

nexialys
10-28-2004, 05:55 PM
hey, genious !!!
(ok, it's more than that... 250 games in a loooonng screen is not great!)

btw, this is just needed to fix the height of the div, because the width can be any size to suite all displays...

Zaeolos
10-28-2004, 06:09 PM
Great little mod! This should have been implemented into the original code.

Polo
10-28-2004, 06:44 PM
smart frankenberrie, thanks for sharing ;)

Lionel
10-28-2004, 06:45 PM
javascript error expect identifier

frankenberrie
10-28-2004, 07:09 PM
javascript error expect identifier

I would like to help you. if you want you can send me your arcadeadmin.php file and I can check it out

my email: frankenberrie@arcadecrazy.com

Lionel
10-28-2004, 08:19 PM
thanks... i am sending

frankenberrie
10-28-2004, 08:50 PM
thanks... i am sending

Lionel, I sent you a email but incase you dont get it

That is not the correct file you sent.. I require arcadeadmin.php from your admincp directory

monstergamer
10-29-2004, 12:55 AM
thanx for this little mod :D

Lionel
10-29-2004, 03:38 AM
frankenberrie, I solved my problem. It was caused by a game named 3Cardpoker. Once I deleted it, no more error. Thanks.

frankenberrie
10-29-2004, 10:57 AM
I am happy everything is working now!

Hornstar
08-21-2005, 06:39 AM
This is very good, 500 games was a pain in the ... lol

Supes
08-21-2005, 07:24 PM
excellent hack!

o0Hubba0o
09-24-2005, 02:38 PM
This is great, excellent space saver for sites with lots of games, thanks alot for this hack.

tuanluu
09-28-2005, 04:13 AM
Work like a charm