###############################
Template Mod By: Damien Darwick
Title: Hiding Certain Navbar Links From Guests
Page: Darwick's Design | Specializing in Styles, Templates & Coding in vBulletin, Wordpress, Coppermine, Joomla, SMF, MKPortal, & MORE!
For: vBulletin ALL
Version: 1.0
###############################
If you want to hide some of the links in your navbar to guests you can do it by adding an if/else statement to your template code.
Steps To Add Code:
1. Login to your admin CP
2. Scroll down to Styles & Templates & click on "Style Manager"
3. Now find the skin you want to edit in the right side panel.
4. Click the drop down box and choose "Edit Templates"
5. Expand the templates to include all the template groups by clicking the bottom left button on the far right large box.
6. Scroll through the templates until you find the "navbar" template & double click on it.
7. Now you should see the code, I will go through each button that does not have the if/else statement on it already.
To Hide The FAQ Link:
Find:
Replace With:
To Hide The Community Link Popups:
Find:
Replace With:
To Hide The Search Link:
Find:
Replace With:
You can pretty much hide any links that you want as long as you include both tags into your code. Be sure to always put:
at the beginning of the link area and be sure to close your tag and place...
Template Mod By: Damien Darwick
Title: Hiding Certain Navbar Links From Guests
Page: Darwick's Design | Specializing in Styles, Templates & Coding in vBulletin, Wordpress, Coppermine, Joomla, SMF, MKPortal, & MORE!
For: vBulletin ALL
Version: 1.0
###############################
If you want to hide some of the links in your navbar to guests you can do it by adding an if/else statement to your template code.
Steps To Add Code:
1. Login to your admin CP
2. Scroll down to Styles & Templates & click on "Style Manager"
3. Now find the skin you want to edit in the right side panel.
4. Click the drop down box and choose "Edit Templates"
5. Expand the templates to include all the template groups by clicking the bottom left button on the far right large box.
6. Scroll through the templates until you find the "navbar" template & double click on it.
7. Now you should see the code, I will go through each button that does not have the if/else statement on it already.
To Hide The FAQ Link:
Find:
PHP:
<td class="vbmenu_control"><a rel="help" href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
PHP:
<if condition="$show['member']">
<td class="vbmenu_control"><a rel="help" href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
</if>
Find:
PHP:
<if condition="$show['communitylink'] AND $show['popups']">
<td class="vbmenu_control"><a id="community" href="$show[nojs_link]#community" rel="nofollow" accesskey="6">$vbphrase[community]</a> <script type="text/javascript"> vbmenu_register("community"); </script></td>
PHP:
<if condition="$show['member']">
<if condition="$show['communitylink'] AND $show['popups']">
<td class="vbmenu_control"><a id="community" href="$show[nojs_link]#community" rel="nofollow" accesskey="6">$vbphrase[community]</a> <script type="text/javascript"> vbmenu_register("community"); </script></td>
</if>
Find:
PHP:
<td class="vbmenu_control"><a id="navbar_search" href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
</if>
PHP:
<if condition="$show['member']">
<td class="vbmenu_control"><a id="navbar_search" href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
</if>
</if>
PHP:
<if condition="$show['member']">
PHP:
</if>