The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
HELP: How Do I Hide the Members List Navbar Link in 3.8 From Guests
Hide Members List Navbar Link in 3.8 From Guests
How can I hide the navbar link for the "Members List" from guests in vb3.8. With the new community popup menu I don't see how to do this. I need the link removed when a user is logged out but displayed when they are logged in. Hiding other navbar links such as FAQ and Calender from guests was easy because they are coded in the navbar template in the usual way. The new community drop menu has conditionals I don't understand for showing the members list to guest and including it to members in the community menu. Thanks! |
#2
|
||||
|
||||
Near the bottom of the template is where the drop down menus are stored.
Code:
<tr><td class="vbmenu_option"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td></tr> Code:
<if condition="$show[member]"> <tr><td class="vbmenu_option"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td></tr> </if> |
#3
|
||||
|
||||
Nope didn't work.
The link to Members List still shows in the navbar. So the question remains: how to hide the link from guests but have it show when signed in under the community menu. I solved this by removing the community drop menu and members lists links completely and using a mod which allows me to control navbar links. Thanks for the try though! |
#4
|
|||
|
|||
Kinda hard to look when your navbar isnt even working, my guess is you didn't do the change correctly that FRDS suggested, which he is correct.
|
#5
|
|||
|
|||
Find this code in the navbar template.
Code:
<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> <else /> <if condition="$vboptions['enablememberlist']"> <td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td> </if> <if condition="$show['quick_links_groups']"> <td class="vbmenu_control"><a href="group.php?$session[sessionurl]">$vbphrase[social_groups]</a></td> </if> </if> |
#6
|
||||
|
||||
Quote:
Nope my navbar works just fine! What you saw was a navbar with no links. Look again! Sorry that code edit does not work because it was in the wrong location. Problem solved 100% by using the mod: Advanced Navbar Links Now I have total control and don't need to edit the template. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|