The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#2
|
|||
|
|||
![]()
I can't help you with the vBshout question, sorry!
But you can add conditionals to your navbar code, so that the code between the <if> and </if> displays only to certain usergroups, users, etc. I have NO idea where I got this (if someone has a better link, please do post!), but here are some conditionals that you can use to customize your template: 1. Show some information only to 1 usergroup. Code:
<if condition="is_member_of($bbuserinfo, 1)">Only group 1 can see this ...</if> Code:
<if condition="is_member_of($bbuserinfo, 1, 2, 3)">Only groups 1, 2 and 3 can see this ...</if> Code:
<if condition="$bbuserinfo[userid] == 4">Only the user with the id #4 can see this ...</if> Code:
<if condition="in_array($bbuserinfo[userid], array(1,2,3))">Only the users with the specified id #'s can see this ...</if> Code:
<if condition="!is_member_of($bbuserinfo, 4)">Users from this usergroup can't see this ...</if> Code:
<if condition="!is_member_of($bbuserinfo, 2, 3, 4)">Users from these usergroups can't see this ...</if> Code:
<if condition="$bbuserinfo[userid] == 4">The user with this id # can't see this ...</if> Code:
<if condition="!in_array($bbuserinfo[userid], array(1,2,3))">The users with these id #'s can't see this ...</if> Code:
<if condition="$forumid == 1">If you are in the forum with the id# 1, you can see this ...</if> Code:
<if condition="in_array($forumid, array(1,2,3))">If you are in the forum with the id #'s 1,2 and 3, you can see this ...</if> Code:
<if condition="$forumid != 1">If you are in the forum with the id# 1, you can't see this ...</if> Code:
<if condition="!in_array($forumid, array(1,2,3))">If you are in the forum with the id# 1, you can't see this ...</if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|