The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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! |
#2
|
||||
|
||||
This is a bit complicated, there may be a simpler name, but this works:
Code:
{$GLOBALS[vbulletin]->usergroupcache[$post[usergroupid]][title]} |
#3
|
|||
|
|||
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?
|
#4
|
||||
|
||||
Quote:
<!-- member groups --> <if condition="$show['membergroups']"> <br /> $membergroupbits <br /> </if> <!-- member groups --> but it did not work. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|