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

XF 1.2 User Group/Staff Banners

Discussion in 'Have You Seen...?' started by Mike, May 29, 2013.

  1. Mike

    Mike XenForo Developer Staff Member

    In XenForo 1.1, if you want to customize the display of certain users, you're generally limited to user titles and user name styling. However, sometimes this isn't flexible or clear enough. Sometimes you want to be able to draw attention to multiple things for a single user.

    Enter user group banners:


    Banners can be configured per user group:


    (I am aware of the first banner on the second column having its top border wrapped back. This is a browser issue that we're looking into.)

    You'll note that this set up is similar to how thread prefixes are configured. You can use custom CSS classes to completely change the display of banners (such as by replacing them with images).

    I've demonstrated that you can have more than one banner displaying simultaneously. By default, they'll be displayed in the display style group order (highest first). If the user is a staff member, that banner will take priority.

    You can disable this option and configure a few different options (globally):

    You'll also note that you have the option to override standard user titles with banners.

    These banners are primarily displayed on messages, but they're also shown on profiles. There is a simple template helper function that can be used to display them anywhere.
  2. John L.

    John L. Well-Known Member

    One less addon I have to install. Good stuff Mike!
    archie426, Steqheu, Vilandra and 6 others like this.
  3. RobParker

    RobParker Well-Known Member

    That's great. Another 3rd party addon off the list :)
  4. Brogan

    Brogan XenForo Moderator Staff Member

  5. yavuz

    yavuz Well-Known Member

    Now you are just showing off Mike :D
    Steqheu, VanHuek, Jeffin and 2 others like this.
  6. AlexT

    AlexT Well-Known Member

    It's the kind of stuff that makes a community tick. Excellent addition!
    Steqheu likes this.
  7. Jeremy

    Jeremy Well-Known Member

    gldtn and DarkGizmo like this.
  8. Chris D

    Chris D XenForo Developer Staff Member

    Oh nice one :)

    Well done Mike!
  9. Shelley

    Shelley Well-Known Member

    Awesome. :) hurry hurry 1.2. Excellent work Mike.
  10. Brogan

    Brogan XenForo Moderator Staff Member

    Never! :D
    JordanH likes this.
  11. Jeremy

    Jeremy Well-Known Member

    Conspiracy theorists, assemble! lol.

    Although, Mike, this is an awesome feature.
    JordanH likes this.
  12. RoldanLT

    RoldanLT Well-Known Member

    This is what I'm looking for (y)
    Jericho M likes this.
  13. Lisa

    Lisa Well-Known Member

    Loving 1.2 more and more.
    Jeremy likes this.
  14. tyteen4a03

    tyteen4a03 Well-Known Member

    And my addon is partially useless now :p
    DarkGizmo, Luxus and jonatan.wb like this.
  15. rellek

    rellek Well-Known Member

    You don't want to leave anything unannounced for us to find ourselves when you upgrade that forum, do you? :p

    Thanks for sharing. Looks good.
  16. Ryan89

    Ryan89 Member

    And now do a Online / Offline Banner =)
    SchmitzIT and Veer like this.
  17. gimomo

    gimomo Member

    the only thing we expect as a clients is to be satisfied with the version 1.2 ... thank you very much for the advance mike shown
  18. denisx04

    denisx04 Active Member

    I notice you have that for small avatars, will this be an issue with larger avatars?
  19. MichaelDance

    MichaelDance Well-Known Member

    I love it well done Mike and the crew :) I love Xenforo x
    Janmaat likes this.
  20. tyteen4a03

    tyteen4a03 Well-Known Member

    I think they will scale (in the postbit). Otherwise not sure what you're referring to.

Share This Page