• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Multiple Usergroups

lazer

Well-known member
#1
Many of the users of my forum are members of more than one usergroup and have "rank" (hate that word) badges to show this in postbit.

How does XF handle the display of multiple usergroups/ranks in postbit?
 

Brogan

XenForo moderator
Staff member
#2
Only one user title can be displayed in the member block.

This can be based on usergroup, trophy count or a custom title.

If you want to display more than one title then that should be possible with template/code edits.
 

dutchbb

Well-known member
#6
Ranks/badges based on usergroup membership are not the same as the user title though. In vB I used this for the user ranks/badges:

Code:
<if condition="is_member_of($post,6)">
<img src="images/groups/admin.gif" width="128" height="25" border="0" alt="Administrator" class="grouptag" />
</if>
I assume XF has the possibility for something similar :)
 

Martyn

Active member
#7
Ranks/badges based on usergroup membership are not the same as the user title though. In vB I used this for the user ranks/badges:

Code:
<if condition="is_member_of($post,6)">
<img src="images/groups/admin.gif" width="128" height="25" border="0" alt="Administrator" class="grouptag" />
</if>
I assume XF has the possibility for something similar :)
the only thing that would be different is the if condition if anything..
 
F

Floris

Guest
#9
What I have done in Alpha7 is add a new usergroup, called "super users" and made a little cape icon.
Then in the CSS part for the name mark up I have added a background image and left padding of 16px.
Users in this group now show with a cape icon when their account is updated to super user.

Just a thought as to how this could be approached :)
 

Martyn

Active member
#11
What I have done in Alpha7 is add a new usergroup, called "super users" and made a little cape icon.
Then in the CSS part for the name mark up I have added a background image and left padding of 16px.
Users in this group now show with a cape icon when their account is updated to super user.

Just a thought as to how this could be approached :)
can you show us a picture of this please?
 

0ptima

Well-known member
#12
What I have done in Alpha7 is add a new usergroup, called "super users" and made a little cape icon.
Then in the CSS part for the name mark up I have added a background image and left padding of 16px.
Users in this group now show with a cape icon when their account is updated to super user.

Just a thought as to how this could be approached :)

Got a screen shot?
 

Martyn

Active member
#19
Looks professional. The only problem: long usernames get overlapped.
very true...lol idealy you want a big cape like in the super man films, that covers the whole postbit area ( on the left ) obv not one that stands out to much or wont beable to read the writing :p