View Full Version : How do I add a Main Forums Link to the Nav Bar?
goingnova
06-09-2004, 05:07 PM
Hello, and thank you for trying to help me.
I can't seem to figure out how to add a Main Forum Link to the Nav Bar. To be clear I am calling what I want to change by it's correct name, if you look above, in the blue bar, the following links are there:
Home, User CP, FAQ, Members List, Calendar, New Posts, Search, Quick Links and Log Out
I would like to add Main Forum Index to that bar. Thanks.
TYorke
06-09-2004, 05:12 PM
Edit the navbar template
look for <b><!-- nav buttons bar --></b> and THEN look for <b><tr align="center"></b>
Anything you type here will appear in the nav bar. So basically you can add this line wherever you want your link to appear:
<td class="vbmenu_control"><a href="/tmp/index.php?$session[sessionurl]">Home</a></td>
goingnova
06-09-2004, 05:14 PM
Woot, I Figured It Out! :D
goingnova
06-09-2004, 05:58 PM
Opps, I spoke too soon. I added the Forum Home info below, and FORUM HOME shows up in the navbar, but when you click on the link, you get "No input file specified" error. I see why, because the proper link should be www.goingnova.com/forums/forumindex.php, but the link that is coming up takes you to www.goingnova.com/forumindex.php
Here is the code:
<if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php?$session[sessionurl]">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
</if>
<td class="vbmenu_control"><a href="faq.php?$session[sessionurl]" accesskey="5">$vbphrase[faq]</a></td>
<if condition="$show['registerbutton']">
</if>
<td class="vbmenu_control"><a href="forumindex.php?$session[sessionurl]">$vbphrase[forums_home]</a></td>
<td class="vbmenu_control"><a href="memberlist.php?$session[sessionurl]">$vbphrase[members_list]</a></td>
<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
<td id="navbar_search" class="vbmenu_control"><a href="search.php?$session[sessionurl]" accesskey="4">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
</if>
<if condition="$bbuserinfo['userid']">
<td id="usercptools" class="vbmenu_control"><a href="#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
</if>
Brian
06-09-2004, 09:36 PM
<td class="vbmenu_control"><a href="$vboptions[bburl]/forumindex.php?$session[sessionurl]">$vbphrase[forums_home]</a></td>
DarknessDivine
06-10-2004, 03:50 PM
Exactly where do I find "navbar template" so I can add this piece of code? I looked throught the files and can't find it...??..?
mholtum
06-10-2004, 04:07 PM
admin / styles manager / default style / << >> / navigation & breadcrumb / navbar
DarknessDivine
06-10-2004, 04:54 PM
Thank you, Thank you!!!!
DarknessDivine
06-10-2004, 05:15 PM
Can someone tell me what I did wrong?
<tr align="center">
<td class="vbmenu_control"><a href="$vboptions forum/index.php?$session[sessionurl]">$vbphrase[forums_home]</a></td>
<!--<td class="vbmenu_control"><a href="$vboptions[forumhome].php?$session[sessionurl]">Home</a></td>-->
It keeps showing the URL to my forums as madmaddeals.com/Array forum/index.php ????? What now?
TYorke
06-10-2004, 06:01 PM
Use this:
<td class="vbmenu_control"><a href="$vboptions[url]/index.php?$session[sessionurl]">$vbphrase[forums_home]</a></td>
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.