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

Multiple Usergroups

Discussion in 'XenForo Pre-Sales Questions' started by lazer, Oct 3, 2010.

  1. lazer

    lazer Well-Known Member

    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?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    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.
     
  3. lazer

    lazer Well-Known Member

    Ok, then that's on my "want list" :)

    Thx.
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Nice avatar BTW :D
     
  5. lazer

    lazer Well-Known Member

    I'm a fanboy ;)
     
    Floris likes this.
  6. dutchbb

    dutchbb Well-Known Member

    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 :)
     
    z3r010 likes this.
  7. Martyn

    Martyn Active Member

    the only thing that would be different is the if condition if anything..
     
  8. dutchbb

    dutchbb Well-Known Member

    Indeed, that's what I meant.
     
  9. Floris

    Floris Guest

    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 :)
     
  10. Brogan

    Brogan XenForo Moderator Staff Member

    ROFL
     
  11. Martyn

    Martyn Active Member

    can you show us a picture of this please?
     
  12. 0ptima

    0ptima Well-Known Member


    Got a screen shot?
     
  13. akbas

    akbas Member

    SS please :)
     
  14. Brogan

    Brogan XenForo Moderator Staff Member

    Here you go ;)

    floris.png
     
    James and Defqon like this.
  15. Floris

    Floris Guest

  16. Brogan

    Brogan XenForo Moderator Staff Member

    Hehe, I kind of like that....
     
  17. Chimpie

    Chimpie Well-Known Member

    Pretty neat Floris.
     
  18. dutchbb

    dutchbb Well-Known Member

    Looks professional. The only problem: long usernames get overlapped.
     
  19. Martyn

    Martyn Active Member

    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
     

Share This Page