View Full Version : Spicing up the header a bit - need help please
raiderlax
02-27-2007, 03:36 AM
Thankyou
raiderlax
02-28-2007, 09:45 PM
Anyone please I am willing to offer some money, but it has too look good, thanks.
Princeton
02-28-2007, 10:09 PM
you can do this ...
edit the header template and add an image to the second cell
<img src="image url goes here" alt="" title="" width="XXX" height="XX" />
raiderlax
02-28-2007, 11:45 PM
Thanks alot, but where in the header do I put this code in the 2nd cell?
Thanks.
Princeton
03-01-2007, 12:58 AM
if you are using the default template ... replace
raiderlax
03-01-2007, 01:33 AM
I can't find that, but here is the modified header,
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center" class="header_bg">
<tr>
<td align="$stylevar[left]" valign="top" height="112"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]">
$header_advertisement
<!-- banners -->
</td>
</tr>
<tr>
<td height="34" colspan="2">
<!-- nav buttons bar -->
<div align="center">
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr align="center">
<if condition="$show['member']">
<td class="nav_menu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
<td class="nav_menu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>
<td class="nav_menu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
<td class="nav_menu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
<td class="nav_menu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td class="nav_menu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="nav_menu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
<td id="navbar_search" class="nav_menu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
</if>
<if condition="$show['member']">
<td id="usercptools" class="nav_menu_control"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
</if>
<else />
<if condition="$show['searchbuttons']">
<td class="nav_menu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td class="nav_menu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="nav_menu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
</if>
<td class="nav_menu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
<if condition="$show['member']">
<td class="nav_menu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>
</if>
</if>
<if condition="$show['member']">
<td class="nav_menu_control"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td>
</if>
</tr>
</table>
</div>
<!-- / nav buttons bar -->
</td></tr>
</table>
<!-- /logo -->
<!-- content table -->
$spacer_open
$leftcolumn_advertisement
$_phpinclude_output
Thankyou for helping me, its truly appreciated.
Princeton
03-01-2007, 01:57 AM
replace $header_advertisement
raiderlax
03-01-2007, 04:12 PM
Thankyou, but when I replace that code it shows the image at the right corner instead of beside the left logo?
raiderlax
03-02-2007, 08:47 PM
Thanks.
raiderlax
03-04-2007, 05:15 AM
Anyone please?
CyberAlien
03-04-2007, 06:34 AM
Replace this:<tr>
<td align="$stylevar[left]" valign="top" height="112"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]">
$header_advertisement
<!-- banners -->
</td>
</tr>
<tr>
<td height="34" colspan="2">
with this:<tr>
<td align="$stylevar[left]" valign="top" height="112"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="center">$header_advertisement </td>
<td align="$stylevar[right]"><img src="$vboptions[cleargifurl]" width="200" alt="" /></td>
</tr>
<tr>
<td height="34" colspan="3">
and in that code change "200" to width of your logo image.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.