![]() |
v3Arcade - new look to your arcade main page
As I was asked about this one ;)
--------------------------------------------------- These hack adds new look to your arcade main page. Files to edit: 1 Templates to edit: 2 Very easy to install... Just 2" --------------------------------------------------- Find in arcade.php Code:
Code:
// Gets all of the games And edit "arcade_main" template around $gamebits to change every newrest colspan="4" to your number of columns :) Code:
------------------ Thats all! You can easy to make your own number of columns :) Don't forget to edit number of games per page! -------------------------------------------- Forget to say if you want to include info about the game size you need to edit the game table in your DB Code:
ALTER TABLE `games` ADD `filesize` INT( 10 ) DEFAULT '0' NOT NULL ; |
Another excellent addon to the Arcade.. :)
|
nice, thanks for sharing ;)
|
Does this not work with the categories mod?
|
Quote:
But frankly :) I don't know about what "categories mod" your ask |
ThanX it is great ..
|
Works great but how can i set the number of games displayed per page?
|
Nice - installed
|
Thanks for the release!
:) |
Quote:
Look for Code:
$perpage = 10; |
Quote:
|
This also requires a bit of modification to work with the Favourites system, though I got there in the end.. :D
|
Quote:
|
|
thanks.
|
This is a great hack. Has anyone managed to install it with the arcade pass? It gets though with the game cost and the jackpot column....
|
Quote:
Code:
// Gets all of the games |
thanks
|
Installed .... Excellent job@
|
An amazing mod, the only problem I can see is this;
Your record: íåò It will display this if you don't have a record in the game. Any way to fix this? |
Quote:
Just edit "arcade_main_games_bit" template to Code:
<br />Your score: <if condition="$personalBest[$gamename] >= 1"><b>$personalBest[$gamename]</b><else />none</if> |
This mod is really nice. Unfortunately I cannot use it because of the arcadepass mod. When I do, whatever I gain for space in the width, I loose in the height with the addition of the arcadepass parameters 2 extra lines for cost and jackpot.
|
Lionel. Just modify number of rows and cols :)
|
GREAT hack man very impressed! Was looking for something that would clean up my arcade :D
I just have two small cosmetic problems. First, on pages that are able to show the full 24 games on a page, there is a thick black bar at the bottom. (Attatchment 1) On pages where there is not enough games to show 24, it leaves a big black space. (Attachment 2) Any help would be much appreciated. Thanks you. |
TheHeggy. I guess it's from bgcolor of table in wich $gamebits placed in arcade_main template in your style. Try to change it.
|
Will this work if my forum uses fatabase prefix? My tables are named "vb3_games" an so on.... ??
|
Just a few things here...
First, looks much better than the default, good job. Second, how do we change the colums? I want like.. three colums instead of four.. Third, when I executed the query for the filesize, all my games show "0 kb" Fourth, the instructions were a bit shady when it came down to modifying the "arcade_main" template. I put in the code you had but it got rid of the cellspacing which I liked having in there.. Here is my "arcade_main" template if anyone wants to use it. I got it to show the single bar at the top and to still show the cellspacing. Code:
<!-- arcade welcome --> |
KTBleeding - The query for the filesize is just the row for storing the information. In order to generate the filesize information for games currently in your database, you have to run the game_size.php that is included with the hack.
Once you've run that it should be fine, but don't forget you'll need to run it after you install any more games. Perhaps just setup a scheduled task within vB Admincp once a week etc. depending on how frequently you add games. As for the column problem - I had this as well and the instructions for changing it were a little bit grey, particularly as they show other mods that you may not have included. Anyway, go to your arcade_main template and look for the section beginning: <!-- games --> Around that area, change any instances of colspan="#" to however many columns you want, i.e. colspan="3". This is in the instructions, but it fails to mention that you have to go to the /forum/arcade.php file and change the following code as well: Code:
// Gets all of the games You'll need to set the $perpage = #; to a number that displays the correct amount for your columns. For example, I have 3 columns and therefore I've changed mine to $perpage = 21;. This ensures there are no empty cells in the table. Hope that helps. |
GenSec - good job, works great.
[high]* Intex clicks INSTALL.[/high] |
Quote:
And your english-php is perfect:) |
I have a problem please see my Pictures:
Pic false <-- is the Screen on my Board.. Pic ineedthisone <<- I need this Screen on my Board .. What can i do? Or what is wrong? And when i start game_size.php i become errors.... Please Help greetz DjJoschimo |
OK forget i have it
|
really nice hack, a great improvement when you have many games
thanks |
i been dying for this :o
|
I have a problem when games haven't been played yet... A small red X'ed box comes up, as if an image is missing... Am I missing something??
|
Quote:
http://yourdomain/forum/images/arcade/new.gif Something like http://2x2online.ru/forum/images/arcade/new.gif |
Quote:
|
GenSec mate, this is really cool :D
[high]* ChuanSE clicks install :D[/high] |
installed it, it's working well, thank you :)
|
hey, hmm maybe i should of asked if it works with 3.0.3 but i've installed it it works well, but i cant get rid of the blank spaces :(
|
All times are GMT. The time now is 04:43 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|