![]() |
conditionals
<if condition="$bbuserinfo[usergroupid] == 6">
TEXT HERE </if> the one above allows admins to see etc but how do i change it to allow say 2 usergroups ? |
PHP Code:
|
Quote:
|
cheers m8
|
Those checks only work for PRIMARY usergroups. To check if a member has permissions to a usergroup at all you need to use the is_member_of function
<if condition="is_member_of($bbuserinfo, X)"> Where X is the group you want to check. I find it most useful that if I want to hide or display info based on a usergroup (such as say, pain membership), create a usergroup for that specific item and use is_member_of |
All times are GMT. The time now is 01:36 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|