XF 1.2 User Group/Staff Banners

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:

ss-2013-05-29_14-57-28.webp


Banners can be configured per user group:

ss-2013-05-29_14-58-30.webp


(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):

ss-2013-05-29_15-01-15.webp

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.
 
Could I somehow make the Group/Staff Banner clickable? In my case I'd like to to link the "contributor" banner to the donation page.
 
See the first post.

They are on the first page of the user group administration.

The general options decide which banners are shown.
 
I'd like to make a suggestion. I just had a WTF experience with this function and yeah, you could chalk it up to my "stupidity" or inexperience, but I'd still like to suggest the following improvement.

upload_2013-10-2_9-26-12.webp


I wanted to use this function and couldn't for the life of me get the banners to show up. If the text is missing under "User Banner Text", then nothing happens. My problem was, I was expecting the system to use the standard "User Group" title to fill in the banner.

Hope I could help.

Scott
 
Scott, it's probably worth copying your post into a new thread in the suggestions forum. (y)

It can then be liked by others who think it's a good suggestion and will hopefully stand a good chance of being seen / reviewed by the XF developers.
 
Thank you Brogan. See Attached i have my own user ranks. i am trying to figure out how to get them in the place of the default ones (actually above avatar)

Brogan's guide will help. But since this isn't a support area I'll be brief. You could use position: and top: on the custom rank class then shift it. Though it would entail that you add margin-top on the avatar to give space to the rank. Brogan's guide will put you on the right path.

Screenshot_17.webp
 
Last edited:
Brogan's guide will help. But since this isn't a support area I'll be brief. You could use position: and top: on the custom rank class then shift it. Though it would entail that you add margin-top on the avatar to give space to the rank. Brogan's guide will put you on the right path.

View attachment 61897

Thank you Shelly :) I started another thread on this topic in support section. I just am not seeing where to upload my images ect..
 
Top Bottom