PDA

View Full Version : Insert Banner into Forum Header


Q999
05-08-2009, 03:53 PM
hi all

Please help me with Insert Banner into Forum Header , I want it in the top, center of the fourm

<!-- logo -->
<a name="top"></a>

<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]" id="header_right_cell">
<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]

<else />&nbsp;</if>
</td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]

thanks

abbasbsp
05-08-2009, 04:09 PM
you look adminCP >> Style Manager >> choose styleVars >> see link at "Image Paths", look folder "Title Image" images default is "images/misc/vbulletin3_logo_white.gif" then upload new images via cpanel host then replace name new images to "vbulletin3_logo_white.gif"

JamesC70
05-08-2009, 04:15 PM
ichal_spy's method may cause a vBulletin upgrade to overwrite the custom logo.

I prefer to upload my own logos under names like bb_logo_theme.png, where bb is the board name and theme is the name of the theme.

Then, edit the particular theme(s) in Style Manager (see ichal_spy's post above for path), replacing "vbulletin3_logo_white.gif" with the path and name of my new logo.

vBulletin's upgrade scripts don't change settings in this area. ;)

Q999
05-08-2009, 04:57 PM
thank 4 your quick respond

I want to ansert advertsment banner
<script type='text/javascript' src='http://affiliate.pass4sure.com/ads.php?i=476&d=&t=20'></script><noscript><a href='http://www.pass4sure.com/'> Pass4sure</a></noscript>

please how

abbasbsp
05-09-2009, 03:19 AM
find to haeder
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]" id="header_right_cell">
<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]



<else />&nbsp;</if>
</td>
</tr>
</table>

replace :

<td align="left"><a href=""><img src="images/misc/vbulletin3_logo_white.gif" border="0" alt="RepairPonsel Forum" /></a></td>
<td align="right" id="header_right_cell">
<script type='text/javascript' src='http://affiliate.pass4sure.com/ads.php?i=476&d=&t=20'></script>
<noscript><a href='http://www.pass4sure.com/'> Pass4sure</a></noscript>

Q999
05-09-2009, 02:49 PM
thanks it's work with me

but please how I put it in the center of the top fourm

thanks

abbasbsp
05-09-2009, 07:32 PM
this may be you mean :

<center><td align="left">
<table border="1" width="50%" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="left"><a href="http://forum-repairponsel.com/vbb/"><img src="images/misc/vbulletin3_logo_white.gif" border="0" alt="RepairPonsel Forum" /></a></td>
<td align="left"><script type='text/javascript' src='http://affiliate.pass4sure.com/ads.php?i=476&d=&t=20'></script>
<noscript><a href='http://www.pass4sure.com/'> Pass4sure</a></noscript></td>
</tr>
</table>
</td>
</center>


please copy paste at haeder ....

Q999
05-10-2009, 07:41 AM
thanks alot that works with me