The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Permissions
I have added another drop down to my navbar. It works great, but I want to limit access to it. That is, I want my users to be logged in before they can see the drop down.
How do I do that? |
#2
|
||||
|
||||
Simply use the following code in your template.
Code:
<if condition="!$bbuserinfo['userid']"> Content to display to registered users <else /> Content to display to non-registered users </if> |
#3
|
|||
|
|||
Wrap the code you want hidden from guests like so...
Code:
<if condition="$show['member']">YOURCODEHERE</if> |
#4
|
|||
|
|||
Worked great. Thanks.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|