The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How Do I Create Custom Template with Multi Page Catagories
Know What I Mean Vern?
How Do I get a second page or make other pages or make other pages as certain catagories like for my flash games I want Action titles then RPG. I guess I can make a dropdown navagation for it but do I need to create different templates for each catagory & another .php file?? This is what I have for .php file PHP Code:
This is the custom template in the style's. Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> <title>$vboptions[bbtitle]</title> $headinclude </head> <body> $header $navbar <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat">Play My Flash Games Online</td> </tr> <tr> <td class="alt1">$online_flash_games</td> </tr> </table> $footer </body> </html> But I want to make look like this set up. Code:
<div align="center"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="100%"> <table cellPadding="2"> <tbody> <tr> <td align="left"> <p></p> </td> </tr> </tbody> </table> <div align="center"> <!-- WHOLE TABLE #9 --> <!-- WHOLE TABLE #8 --> <!-- WHOLE TABLE 1 --> <!-- WHOLE TABLE #2 --> <!-- WHOLE TABLE #3 --> <!-- WHOLE TABLE #4 --> <!-- WHOLE TABLE #5 --> <table cellSpacing="0" cellPadding="2" width="100%" bordercolorlight="#BBAC8C" border="1" bordercolordark="#FFFFFF"> <tbody> <tr> <td vAlign="top" align="left" width="25%"> <!-- GAME 001 --> <table cellSpacing="0" cellPadding="2" width="100%"> <tbody> <tr> <td width="70"><font face="Tahoma" size="1"><img class="image" src="http://www.mysitegame.com/image/game.jpg" width="70" height="60"></font></td> <td vAlign="top" align="left"><b><font face="Tahoma" size="1">Little Shepherd<img src=/images/new.gif> </font> </b> <div> <font face="Tahoma" size="1">- <a href="http://game.mysitegame.com" target="_blank">Play Game</a> </font> <div> <font face="Tahoma" size="1">- <a href="<A href="http://www.mysitegame.com/downloads/game.zip">Download">http://www.mysitegame.com/downloads/game.zip">Download it</a> </font> <div> </div> </div> </div> </td> </tr> </tbody> </table> <!-- END OF GAME 001 --> </td> </tr> </tbody> </table> <!-- WHOLE TABLE #6 --> <!-- WHOLE TABLE #7 --> </div> </td> </tr> </table> </div> </td> </tr> <tr> <td width="100%" height="10"></td> </tr> </table> </div> </td> </tr> </table> </td> </tr> </table> </div> </td> </tr> </table> </center> </div> This is what it looks as finish. Want to know if it is good coding plus I want to know how to add second page if first is full or make it like first page RPG the next one Action and so on. One more thing is how to make it scroll. Never mind on scroll I think I already know Duh!. Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> <title>$vboptions[bbtitle]</title> $headinclude </head> <body> $header $navbar <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat">Play My Flash Games Online</td> </tr> <div align="center"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="100%"> <table cellPadding="2"> <tbody> <tr> <td align="left"> <p></p> </td> </tr> </tbody> </table> <div align="center"> <!-- WHOLE TABLE #9 --> <!-- WHOLE TABLE #8 --> <!-- WHOLE TABLE 1 --> <!-- WHOLE TABLE #2 --> <!-- WHOLE TABLE #3 --> <!-- WHOLE TABLE #4 --> <!-- WHOLE TABLE #5 --> <table cellSpacing="0" cellPadding="2" width="100%" bordercolorlight="#BBAC8C" border="1" bordercolordark="#FFFFFF"> <tbody> <tr> <td vAlign="top" align="left" width="25%"> <!-- GAME 001 --> <table cellSpacing="0" cellPadding="2" width="100%"> <tbody> <tr> <td width="70"><font face="Tahoma" size="1"><img class="image" src="http://www.mysitegame.com/image/game.jpg" width="70" height="60"></font></td> <td vAlign="top" align="left"><b><font face="Tahoma" size="1">Little Shepherd<img src=/images/new.gif> </font> </b> <div> <font face="Tahoma" size="1">- <a href="http://game.mysitegame.com" target="_blank">Play Game</a> </font> <div> <font face="Tahoma" size="1">- <a href="<A href="http://www.mysitegame.com/downloads/game.zip">Download">http://www.mysitegame.com/downloads/game.zip">Download it</a> </font> <div> </div> </div> </div> </td> </tr> </tbody> </table> <!-- END OF GAME 001 --> </td> </tr> </tbody> </table> <!-- WHOLE TABLE #6 --> <!-- WHOLE TABLE #7 --> </div> </td> </tr> </table> </div> </td> </tr> <tr> <td width="100%" height="10"></td> </tr> </table> </div> </td> </tr> </table> </td> </tr> </table> </div> </td> </tr> </table> </center> </div> <tr> <td class="alt1">$online_flash_games</td> </tr> </table> $footer </body> </html> |
#2
|
|||
|
|||
Lol, this is too much so early on a saturday to read and reply.
|
#3
|
|||
|
|||
I got it to work as is but I was wondering how to add another page. I think I have to make templates for each catagory like Action , RPG , Shooting & so on. I going to hard code the game links so I do not have to make edits in my vb.php. work.work...work....
If I do this right then another Arcade comes in.. he he he blahh.. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|