![]() |
Usergroups on postbit_legacy
Hello everyone,
I've been looking around the internt and vbulletin.org with no help at all. I would like to display the usergroup a member is in on the postbit_legacy I figured I could use HTML on the user rank instead of an image, but user ranks also display secondary usergroups. Is there a way to make the variable {vb:raw post.rank} display only the usergroup? Lets say "Administrator", or is there a way to create something that will display it? I know there is {vb:raw post.usergroupid} but that just shows the id of the usergroup. Any help would be deeply appreciated, Thank you. |
<vb:if condition="$post[usergroupid] == 6">Administrator</vb:if>
|
Quote:
|
Yes.
You in theory could also use the html markup, but that can get really tricky with multiple usergroups. Best just to code it into the template. |
I took the usergroups ranks off the profile because someone before me did a sloppy job and the url of a profile showed all the image locations of the ranks, which was just plain messy!
So which template do I edit to put them back? I know I should know this since I took them out, but it's been a crash course to say the least and with all I have done in the past month I cannot remember. Thanks in advance for you help! |
All times are GMT. The time now is 05:54 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:
|