The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Anyone know the variable for the default usergroup names or titles?
I want to display the usergroup a member in on their profile page for admins to see. I can display the usergroup id just fine, I just can't find the variable for the usergroup name. Thanks |
#2
|
||||
|
||||
![]()
Don't think you can call it without using another query, but you can manualy enter the name
<if condition="$userinfo[usergroupid] == X"> USergroupX</if> |
#3
|
|||
|
|||
![]()
Yeah, I was thinking I could do conditionals. But was really hoping for just a variable for the name, since the id can be pulled with just a variable.
Thanks Zachery. |
#4
|
||||
|
||||
![]() Quote:
usergroupid is stored so vB knows which group he is, but vB does not care about the name so it is not stored. You would need to run another query to grab it, and i am not sure what it would be. |
#5
|
|||
|
|||
![]()
Cool. Thanks again. I'll just sort it with conditionals rather than adding another query.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|