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

XF 1.2 Display styling priority to remove banner text

Mr Lucky

Well-known member
#1
I have a usergroup with priority 500 and a banner text.

I have a usegroup with priority 1000 with no banner text

However the users with both groups still have banner text, should the higher priority not negate the bannert text?
 

Mike

XenForo developer
Staff member
#3
However the users with both groups still have banner text, should the higher priority not negate the bannert text?
The short answer is no. Banners are displayed in decreasing priority or if stacking is disabled, the banner with the highest priority is displayed.
 

Mr Lucky

Well-known member
#4
Do you have banner stacking enabled?

Options -> User Options
Yes, it was enabled. I disabled and tested again - same thing the banner is there when the group has a lower priority.

I am testing with a group that has a style for username text color as well. This works as expected (I have another thread about that, I needed to empty user cache)

So when the group has the lowest priority the text color goes but the banner remains
 

Mr Lucky

Well-known member
#5
The short answer is no. Banners are displayed in decreasing priority or if stacking is disabled, the banner with the highest priority is displayed.
Ah, I was typing as you posted. So that answers my question.

I think this should behave the same as username text styling, for consisitency. That's what you would expect.

EDIT: ie, if the highest priority group has no banner, I would expect there to be no banner even there is a banner in a lower priority group, as it is with username text style