The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
vB 4.1.9
Unregistered users and some other usergroups don't have access to Groups.php. But it still shows to them in the navbar (there's a link there to Groups). How do I stop it showing to these users? Thanks. |
#2
|
|||
|
|||
![]() Code:
<vb:if condition="$bbuserinfo['userid'] != 0"> //show the code </vb:if> |
#3
|
|||
|
|||
![]()
Thanks, Revelence, but where do I insert this if condition? In the navbar template? Any particular location in that template?
|
#4
|
||||
|
||||
![]()
You should see a link for the groups in the navbar template and you would put that condition around it. The link is probably something like:
<vb:if condition="$show['quick_links_groups']"> <li><a href="{vb:link grouphome}">{vb:rawphrase social_groups}</a></li> </vb:if> (Are you sure it is showing for usergroups that have no permission to see the social groups? that condition implies otherwise.) |
#5
|
|||
|
|||
![]()
Thanks for pointing me to where it is.
I moved this: Code:
<li><a href="group.php{vb:raw session.sessionurl_q}">{vb:rawphrase social_groups}</a></li> Code:
<vb:if condition="$show['pmmainlink']"> <li><a href="private.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase private_messages}</a></li> </vb:if> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|