![]() |
What is the variable for secondary usergroups?
I'm trying to write a template hack that shows icons in the postbit depending on a user's additional usergroups.
Using echo $bbuserinfo[usergroupid]; it's obvious that this only refers to primary usergroups. Does anyone know how to refer to secondary usergroups? I'm using vb3 |
i think it counts the extra user groups so if you were to put if condition="$bbuserinfo[usergroupid] = X" if there in it they should still be in that usergroup so it should still work
|
I'm afraid it still doesn't work. I'm testing it by placing echo text at the end of global.php, as part of the hack involves modifications to the php code.
PHP Code:
Please help! Thanks :) |
Quote:
Now, use: PHP Code:
|
All times are GMT. The time now is 07:26 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:
|