The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Only show for X usergroup
In the template system, if I want only the Register group to see something, how can I do that?
|
#2
|
||||
|
||||
PHP Code:
PHP Code:
|
#3
|
|||
|
|||
You can still use the is_member_of() function for multiple usergroups
E.g. Code:
<if condition="is_member_of($bbuserinfo, 2, 5, 6, 7)"> SHOW TO REGISTERED USERS, MODERATORS, SUPER-MODS, AND ADMINS </if> |
#4
|
||||
|
||||
Here is a nice list of vBulletin Template Conditionals List that a user had posted.
|
#5
|
|||
|
|||
Thank you.
|
#6
|
||||
|
||||
Good to know about the is_member_of() and thanks for pointing out the missing quote. :up:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|