![]() |
What is the variable for...
All right, I just want to ask what is the variable for user's additional usergroup, like we have $bbuserinfo[usergroupid] for user's primary usergroup right, so how's the other one look like? ;)
|
$bbuserinfo[membergroupids]
Notice the S this will give you ever group that they are apart of. if you need a condition to check what group they are in <if condition="is_member_of($var, X)"> they are in group x </if> replace var with Postbit templates:$post the current user browsing:$bbuserinfo replace X with the group you need to check for |
All right, thanks Zachery :)
One more thing, user with his additional usergroup as an administrator would be counted as an user with administration permission? :) |
All times are GMT. The time now is 08:50 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:
|