dual navbar hack

Ok here's mine:
Open navbar template and find
PHP:
</div>
<!-- / notifications menu -->
</if>
directly under it add
PHP:
<!-- Second navbar -->
 
<!-- nav buttons bar -->
<div>
    <table cellpadding="0" cellspacing="0" border="2" width="100%"  align="center">
    <tr align="center">
[b]The if section is to show members only - remove this bold text[/b]
        <if condition="$show['member']"><td class="vbmenu_control"><a href="http://www.yourdomain.com/forums/search.php?do=getnew">New Posts Again</a></td>
<td class="vbmenu_control"><a href="http://www.yourdomain.com/forums/search.php?do=process&replyless=1&replylimit=0&don tcache=1
">Unanswered posts</a></td> 
</if>
[b]This next section will show to all users - remove this bold text[/b]
<td class="vbmenu_control"><a href="http://www.yourdomain.com/index.php$session[sessionurl_q]"><strong>Your Homepage</strong></a></td>
<td class="vbmenu_control"><a href="http://www.yourdomain.com/register.php">Register Here</a></td>
 
  </tr>
<!-- / nav buttons bar -->
<!--/ Second Navbar -->
You should now have two navbars with both the ability to show some elements to members and some to all users.


Regards,
Simon
 
Back
Top