The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#7
|
||||
|
||||
![]() Quote:
try doing this query in the segment of the proarcade.php file that is used whenever you view/play a game: Code:
$gamenames = $DB_site->query('SELECT gameid,gamename FROM gametable ORDER BY gamename ASC'); then add this code below that: Code:
$gamenamesblock = '<table border="0"><tr valign="top"><td>'; $numgames = $DB_site->num_rows($gamenames); $halfway = ceil($numgames/2); $counter = 0; while ($row = $DB_site->fetch_array($gamenames)) { if ($counter++ == $halfway) { $gamenamesblock .= '</td><td>'; } $gamenamesblock .= "<a href='proarcade.php?game=$row[gameid]'>$row[gamename]</a><br>\n"; } $gamenamesblock .= '</td></tr></table>'; and then you can use $gamenamesblock in the template that is used for the games (make sure that you use the template that is used in that same segment of proarcade.php where you place this code in). Should work. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|