Joeychgo
11-01-2005, 03:31 AM
I like to add things to my navbar, and move some things.
For example, I like to move the FAQ, CALENDAR and MEMBERS LIST to the Quick Links dropdown and get them off my navbar. Here is how to do it. (this is for vBulletin 3.5, but the same concept works on any 3.x version)
In your Navbar Template find:
<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
Delete it.
Then find:
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
After that insert
<tr><td class="vbmenu_option"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td></tr>
Notice I added <tr> tags and changed vbmenu_control to vbmenu_option
You just moved your members list from the navbar to the quick links drop down. So its still there for use, but not taking valuable space on the navbar.
Now - Want to add something to the navbar?
Find:
<if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
<td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>
Thats the USER CP link. (it shows as REGISTER to unregistered visitors - thats why the IF statement)
Either before or after that code add this:
<td class="vbmenu_control"><a href="URL YOU WANT TO LINK TO" accesskey="5">ANCHOR TEXT</a></td>
For example, I like to move the FAQ, CALENDAR and MEMBERS LIST to the Quick Links dropdown and get them off my navbar. Here is how to do it. (this is for vBulletin 3.5, but the same concept works on any 3.x version)
In your Navbar Template find:
<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
Delete it.
Then find:
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
After that insert
<tr><td class="vbmenu_option"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td></tr>
Notice I added <tr> tags and changed vbmenu_control to vbmenu_option
You just moved your members list from the navbar to the quick links drop down. So its still there for use, but not taking valuable space on the navbar.
Now - Want to add something to the navbar?
Find:
<if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
<td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>
Thats the USER CP link. (it shows as REGISTER to unregistered visitors - thats why the IF statement)
Either before or after that code add this:
<td class="vbmenu_control"><a href="URL YOU WANT TO LINK TO" accesskey="5">ANCHOR TEXT</a></td>

