![]() |
Showing usergroup title in postbit
I was searching around but couldn't find an answer.
Is this possible in the postbit template? I'd like to show all the usergroups that a member is a part of. Thank you in advance! |
This is a bit complicated, there may be a simpler name, but this works:
Code:
{$GLOBALS[vbulletin]->usergroupcache[$post[usergroupid]][title]} |
Yeah that works nicely! Thanks, but any idea on how to show ALL the usergroups a member is a part of? For example, if a user is Registered but also an 'additional user' to another group?
|
Quote:
<!-- member groups --> <if condition="$show['membergroups']"> <br /> $membergroupbits <br /> </if> <!-- member groups --> but it did not work. |
All times are GMT. The time now is 02:33 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:
|