The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#2
|
||||
|
||||
could you provide a screenshot of this - and would you release your skin after it is finished ?
I would provide some information about upcoming v2.5.7+ so the skin can fit it ... check function function row($entry,$gamesplit,$top,$pbest,$links,$rowcol,$ rating,$actualtop,$newgame,$st ylecolumns) in skinfile for the games to be listed ... |
#3
|
||||
|
||||
Quote:
Quote:
Quote:
This is the code of the central column (look at the screenshot) HTML Code:
<td valign="top"> <table class="tborder" width="100%"> <tr> <td class="tcat">Categorias y Juegos</td> </tr> <tr> <td class="alt1" >{$cats}</td> </tr> <tr> <td class="alt1" >I want to show games HERE</td> </tr> <tr> <td>{$clicktoplay['pages']}</td> </tr> </table> </td> |
#4
|
||||
|
||||
The part with the games is not completely done this way
the skinfile-function row() displays one the information for one(!) game and uses several variables: $entry -> information about the game, like GameID, title, size, costs ect. $top -> best result ever $acualtop -> current highscore $pbest -> personal best result $rating -> rating for the game notice that the first three variables are arrays with several information in it. Just read through the skinfile and the $row()-function to see how everything is done btw: which language is your arcade ? you did translation, or is that any of the provided languages ? |
#5
|
||||
|
||||
Ok, but I can't yet undestand how to put a call inside the table.
You parse variables there, like {$cats}; but there's no vars like {$rows} or something like this. I'm sure I'm not expressing so well, please excuse me; I'm not a natural english speaker. Look at the code I pasted in the previous post and tell me how can I replace there <td class="alt1" >I want to show games HERE</td> for <td class="alt1" >row()</td>... that won't work, no? I'm Argentinian, the language is Spanish. The moderators of my board (www.psicofxp.com) did the translation, but I need to make some changes and corrections. After it will be finished, I'll send you the file; thats ok? The ibPro arcade is not installed yet in production board, i'm working on localhost with 3.6, a lot of changes of style, design and of course, new sections (ibPro is one of them, in replace of v3arcade) By the way, you asked me to release the skin file I'm working: could you tell me how can I work with the new skin as separate file; because I tried to rename the arcade_Skin but didn't work so I'm working on it. Thanks for all !! |
#6
|
||||
|
||||
no, the row-funciton() is called from arcade.php
arcade.php fills the needed data in some variables and gives this information to the row()-function which finally spits out the HTML. understand what I mean ? you should use the variables mentioned above, like $entry['gtitle'] for the Gamename ... |
#7
|
||||
|
||||
I think I undertastand.
The table I want to modify is displayed inside function start (in skinArcade). Is arcade.php that function is called aroun line 1946 and the process of game list is above, around line 2209 So, if I want to include the game list in the table, I have to include the game list as a parameter of function start; in order to be displayed. But making this involves modifying so much your code and this is not good for futures upgrades. At least I'm not considering someting, I can't display the page like ordinary templates, where vars are present everywhere; I need to pay attention the correct order they are generated because the layout is shown in parts (first start, then rows). I'm right? Thanks so much for your support, I appreciate your dedication. Please consider for future versions the option to show game list at top, or at side of info. People who don't know the board and came to play, want to play and the info of champs is not so relevant as game list, I think. Thanks so much again! |
#8
|
||||
|
||||
function start() just does the main header above the gamelist, after that the arcade.php calls row() to display the games
maybe you manage to use start() for left+right sidebar and after that arcade.php can use row() to fill the center ? |
#9
|
||||
|
||||
Quote:
But in case I don't use a right column; and use start to fill left column and row to fill main column... I could open the table in function start and end it after rows are displayed... in function stop... I think got it. Let me try and I'll show the results |
#10
|
||||
|
||||
ok, waiting for it
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|