The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi
I'm just implementing this mod for displaying a rotating banner ad on the forum header: https://vborg.vbsupport.ru/showthread.php?t=106682 Once the plugin is set up the guide above tells you to insert "$banner" in the template and that is where the image appears. This is great but how would I code "$banner" so that the image is then alligned to the centre? this is how my header looks at the moment: <!-- logo --> <a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center"> <tr> <td align="center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td> <td align="center"> </td> </table> <!-- /logo --> <td align="center"> <!-- content table --> $spacer_open $_phpinclude_output Any help would be appreciated thanks! |
#2
|
|||
|
|||
![]() Code:
align="center" valign="center" $banner Cheers Mark |
#3
|
|||
|
|||
![]()
no that hasnt worked I'm afraid
the "align="center" valign="center" text is visible on the webpage |
#4
|
|||
|
|||
![]() Code:
<td align="right" valign="center" $banner></td> Cheers Mark |
#5
|
|||
|
|||
![]()
Hi Mark thanks for the reply. Where abouts in the header sis you insert the code above to get it to work?
Cheers Jon --------------- Added [DATE]1200154152[/DATE] at [TIME]1200154152[/TIME] --------------- OK I fixed it I fugured out you have to insert another row into the table so this works: <tr><center>$banner</center></tr> the "td" code inserts a column so messed up the layout Thanks for the help anyway m8 |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|