The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
New item in navbar
I want to add 2 new items in the navbar. I can do it myself, but i need to make the first one only visible for registred users, and the second one only to me (user with id 1). How can do that?
|
#2
|
||||
|
||||
for registered users
<if condition="$bbuserinfo[userid] != 0"> registered only </if> <if condition="$bbuserinfo[userid] == 1"> only you </if> |
#3
|
||||
|
||||
Use these conditionals:
HTML Code:
<if condition="$bbuserinfo['userid'] == 1"> stuff that only you want to see </if> HTML Code:
<if condition="$show['member']"> stuff for registered peeps </if> |
#4
|
||||
|
||||
damn you beat me too it *Serves me right for going downstairs*
|
#5
|
|||
|
|||
Thanks a lot, both of you!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|