PDA

View Full Version : Double Nav Bar



RC Attacker
11-07-2006, 10:37 PM
This is simply just a template edit, nothing to install!


What it will do: You will get a double nav bar at the top of the forum.

Live Demo: Click Here (http://www.hpisavageforum.com/forums/index.php)

Install Time: 30 seconds!

Version info: I have only done it on 3.6 but I'm sure it will work with any version.

Template Edits

In "navbar"

FIND:

<!-- breadcrumb, login, pm info -->

ADD ABOVE:

<!-- top nav buttons bar -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr align="center">
<td class="vbmenu_control"><a href="index.php?$session[sessionurl]">Home</a></td>
<td class="vbmenu_control"><a href="online.php?$session[sessionurl]">$vbphrase[whos_online]</a></td>
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td>
<td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=process&showposts=0&starteronly=1&exactname=1&s earchuser=$bbuserinfo[username]">My Topics</a></td>
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=process&showposts=0&exactname=1&searchuser=$bbu serinfo[username]">My Replies</a></td>
<td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=n o,menubar=no,toolbar=no,scrollbars =yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>
<td class="vbmenu_control"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td>
</if>
</tr>
</table>
</div>
<!-- / top nav buttons bar -->

You may add and take away links as you wish.

This is my first time ever doing this. I always wanted to make a thread like this. So please tell me what you think and maybe click install. :)

Cody
01-09-2007, 11:23 AM
nice thx ...

popowich
01-10-2007, 04:05 AM
I have a double navbar but do it differently.

Here are the few lines to find the spot and then what that section of the template looks like for me:


<if condition="$show['member']"> <td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td> </if> </tr> </table> </div> <!-- / nav buttons bar --> <div align="center"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px"> <tr align="center">

<td class="vbmenu_control"><a href="arcade.php?$session[sessionurl_q]">Arcade</a></td>

<if condition="$show['blogmenu']"><td id="blogmenu" class="vbmenu_control"><a href="$show[nojs_link]#blogmenu">$vbphrase[blog_blogging]</a> <script type="text/javascript"> vbmenu_register("blogmenu"); </script></td></if>

<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>

<td class="vbmenu_control"><a href="http://www.wnypoker.com/forums/payments.php">Donations</a></td>

<if condition="$bbuserinfo['userid']"> <td class="vbmenu_control"><a href="chat/flashchat.php" target="flashchat">FlashChat</a></td> </if>

<td class="vbmenu_control"><a target="_blank" href="http://www.wnypoker.com/gallery/">Gallery</a></td>

<td class="vbmenu_control"><a target="_blank" href="http://www.wnypoker.com/leagues/">Leagues</a></td>

<td class="vbmenu_control"><a target="_blank" href="http://www.wnypoker.com/links/">Links</a></td>

<td class="vbmenu_control"><a target="_blank" href="http://www.cafepress.com/wnypoker/">Store</a></td>

</tr>
</table> </div> <br />

You can see what is one looks like at WNYPoker.com (http://www.wnypoker.com/forums/).

-Raymond

Brandon Sheley
07-21-2007, 04:53 PM
So the OP is DREAM ??

http://www.vbulletin.org/forum/showthread.php?t=130958