The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
php/sql as the header
I want to replace the standard header with a custom one, how would I get this to work in the header.
PHP Code:
I make a plugin called gameinfo PHP Code:
HTML Code:
<table class='sborder' cellpadding='4' cellspacing='0' width='965px'> <tr> <td height='20px' width='750px'></td> <td height='20px' width='5px'></td> <td height='20px' width='180px'></td> <td height='20px' width='20px'></td> </tr> <tr> <td class='statusspacer' width='750px'></td> <td class='maplineleft' width='5px'></td> <td class='mapline' width='180px'>Map: $gameinfo->map</td> <td class='maplineright' width='20px'></td> </tr> <tr> <td height='5px' width='750px'></td> <td height='5px' width='5px'></td> <td height='5px' width='180px'></td> <td height='5px' width='20px'></td> </tr> <tr> <td class='statusspacer' width='750px'></td> <td class='gdilineleft' width='5px'></td> <td class='gdiline' width='180px'><a href='#'>GDI: $gameinfo->gdi - $gameinfo->gdiscore points</a></td> <td class='gdilineright' width='20px'></td> </tr> <tr> <td height='5px' width='750px'></td> <td height='5px' width='5px'></td> <td height='5px' width='180px'></td> <td height='5px' width='20px'></td> </tr> <tr> <td class='statusspacer' width='750px'></td> <td class='nodlineleft' width='5px'></td> <td class='nodline' width='180px'><a href='#'>Nod: $gameinfo->nod - $gameinfo->nodscore points</a></td> <td class='nodlineright' width='20px'></td> </tr> <tr> <td height='5px' width='750px'></td> <td height='5px' width='5px'></td> <td height='5px' width='180px'></td> <td height='5px' width='20px'></td> </tr> <tr> <td class='statusspacer' width='750px'></td> <td class='infolineleft' width='5px'></td> <td class='infoline' width='180px'>Time: $gameinfo->timeleft SFPS: $gameinfo->sfps</td> <td class='infolineright' width='20px'></td> </tr> </table> HTML Code:
<div id='topstrip'> $gameinfo_template </div> |
#2
|
||||
|
||||
Try
Plugin: PHP Code:
HTML Code:
<table class='sborder' cellpadding='4' cellspacing='0' width='965px'> <tbody> <tr> <td height='20px' width='750px'></td> <td height='20px' width='5px'></td> <td height='20px' width='180px'></td> <td height='20px' width='20px'></td> </tr> <tr> <td class='statusspacer' width='750px'></td> <td class='maplineleft' width='5px'></td> <td class='mapline' width='180px'>Map: $gameinfo[map]</td> <td class='maplineright' width='20px'></td> </tr> <tr> <td height='5px' width='750px'></td> <td height='5px' width='5px'></td> <td height='5px' width='180px'></td> <td height='5px' width='20px'></td> </tr> <tr> <td class='statusspacer' width='750px'></td> <td class='gdilineleft' width='5px'></td> <td class='gdiline' width='180px'><a href='#'>GDI: $gameinfo[gdi] - $gameinfo[gdiscore] points</a></td> <td class='gdilineright' width='20px'></td> </tr> <tr> <td height='5px' width='750px'></td> <td height='5px' width='5px'></td> <td height='5px' width='180px'></td> <td height='5px' width='20px'></td> </tr> <tr> <td class='statusspacer' width='750px'></td> <td class='nodlineleft' width='5px'></td> <td class='nodline' width='180px'><a href='#'>Nod: $gameinfo[nod] - $gameinfo[nodscore] points</a></td> <td class='nodlineright' width='20px'></td> </tr> <tr> <td height='5px' width='750px'></td> <td height='5px' width='5px'></td> <td height='5px' width='180px'></td> <td height='5px' width='20px'></td> </tr> <tr> <td class='statusspacer' width='750px'></td> <td class='infolineleft' width='5px'></td> <td class='infoline' width='180px'>Time: $gameinfo[timeleft] SFPS: $gameinfo[sfps]</td> <td class='infolineright' width='20px'></td> </tr> </tbody> </table> |
#3
|
|||
|
|||
Thank you
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|