Quote:
Originally Posted by mikey1991
Hey hoof mate, I got it working now, and thanks for the arcade graphic, how would I add that in? And I need a wiki graphic too, do you have the buttons PSD?
|
Glad you got it fixed up...was it just the length of the site title?
To add the button in, go to your header template and decide where/what order you want it to display and add the following code:
Code:
<td width="50" height="55"><a href="http://yoursite.com/forums/arcade.php"><img src="$stylevar[imgdir_misc]/nav_arcade.gif" width="50" height="55" border="0" alt=""/></a></td>
Change the red items to your site and what you saved the button as...or rename it to what I have.
I will add the psd for the buttons I just need to clean it up and then I'll post it
Quote:
Originally Posted by medusa1
hi verry nice style
i have a smal problem with my navigation when a user is not login the icons are all on the left side but not in your demo can you provide me your header template code please ?
|
Glad you like the style, I am looking into what would cause the nav buttons to align left. Do you have any other code in your header? Or can you pm me your site so I can have a look?
Here's the header code:
Code:
<a name="top"></a>
<!-- Bi2 logo -->
<img class="bi2logo" style="position: absolute; top: 127px; left: 93px;" src="$stylevar[titleimage]/bi2logo.gif" alt="bi2logo" />
<!-- /Bi2 logo -->
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td colspan="3">
<!-- logo -->
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td><img src="$stylevar[titleimage]/header_left.gif" alt="header_left" /></td>
<td width="100%" style="background: url($stylevar[titleimage]/header_fill.gif) repeat-x top left;" align="center"><div class="titlefont">$vboptions[bbtitle]</div></td>
<td><img src="$stylevar[titleimage]/header_right.gif" alt="header_right" /></td>
</tr>
</table>
<!-- /logo -->
</td></tr><tr>
<td height="100%" style="background: url($stylevar[titleimage]/page_left.gif) repeat-y top left;"><img src="$stylevar[titleimage]/page_left.gif" alt="page_left" /></td>
<td width="100%" class="page">
<table width="50%" border="0" align="center" cellpadding="0" cellspacing="0">
<!-- begin navigation buttons table -->
<table width="50%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="50" height="55"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img src="$stylevar[imgdir_misc]/nav_home.gif" width="50" height="55" border="0" alt=""/></a></td>
<if condition="$show['registerbutton']">
<td width="50" height="55"><a href="register.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_misc]/nav_reg.gif" width="50" height="55" border="0" alt=""/></a></td>
</if>
<if condition="$show['member']">
<td width="50" height="55"><a href="usercp.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/nav_cp.gif" width="50" height="55" border="0" alt=""/></a></td></if>
<td width="50" height="55"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/nav_cal.gif" width="50" height="55" border="0" alt=""/></a></td>
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<td id="navbar_search" width="50" height="55"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow"><img src="$stylevar[imgdir_misc]/nav_search.gif" width="50" height="55" border="0" alt=""/></a> <if condition="$show['quicksearch']">
<script type="text/javascript"> vbmenu_register("navbar_search",1); </script></if></td>
</if>
<if condition="$show['member']">
<td id="usercptools" width="50" height="55"><a href="$show[nojs_link]#usercptools" accesskey="3"><img src="$stylevar[imgdir_misc]/nav_menu.gif" width="50" height="55" border="0" alt=""/></a> <script type="text/javascript"> vbmenu_register("usercptools",1); </script></td>
</if>
<else />
<if condition="$show['searchbuttons']">
<td width="50" height="55"><a href="search.php$session[sessionurl_q]" accesskey="4">img src="$stylevar[imgdir_misc]/nav_search.gif" width="50" height="55" border="0" alt=""/></a></td>
</if>
</if>
<td width="50" height="55"><a href="faq.php$session[sessionurl_q]" accesskey="5"><img src="$stylevar[imgdir_misc]/nav_faq.gif" width="50" height="55" border="0" alt=""/></a></td>
<if condition="$show['communitylink'] AND $show['popups']">
<td width="50" height="55"><a id="community" href="$show[nojs_link]#community" rel="nofollow" accesskey="3"><img src="$stylevar[imgdir_misc]/nav_comm.gif" width="50" height="55" border="0" alt=""/></a> <script type="text/javascript"> vbmenu_register("community",1); </script></td>
<else />
<if condition="$vboptions['enablememberlist']">
<td width="50" height="55"><a href="memberlist.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/nav_members.gif" width="50" height="55" border="0" alt=""/></a></td>
</if>
<if condition="$show['quick_links_groups']">
<td class="vbmenu_control"><a href="group.php?$session[sessionurl]">$vbphrase[social_groups]</a></td>
</if>
</if>
<if condition="$show['member']">
<td width="50" height="55"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><img src="$stylevar[imgdir_misc]/nav_logout.gif" width="50" height="55" border="0" alt=""/></a></td>
</if>
</tr>
</table>
<!-- End navigation buttons table -->
<!-- content table -->
$spacer_open
$_phpinclude_output
$ad_location[ad_header_end]