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

Lack of interest Cascading Username Styles

-Ice-

Active member
#1
I think it'd be useful on some boards to have a button when editing a usergroup to allow that user groups style to cascade onto other user groups that member is a a part of by the display styling priority.

Let's say a user is in 3 user groups: Admins, Premium, and a "top poster" group.

The admin style could be something like this (display styling priority 10000):
Code:
color:red;
font-weight:bold;
The premium (display styling priority 500):
Code:
color:silver;
font-style:italic;
The "top poster" (display styling priority 10):
Code:
background: url(/img/gold_star.png) no-repeat;
background-position:left center;
padding-left: 16px;
text-align:right;
If all three were checked to be able to cascade, the user would get the following CSS for their name:
Code:
color:red;
font-weight:bold;
font-style:italic;
background: url(/img/gold_star.png) no-repeat;
background-position:left center;
padding-left: 16px;
text-align:right;
If only the admin and top posting group were checked, it would skip the middle one and result in this:
Code:
color:red;
font-weight:bold;
background: url(/img/gold_star.png) no-repeat;
background-position:left center;
padding-left: 16px;
text-align:right;

Just throwing an idea out there. It probably isn't going to be especially useful on a lot of boards, but providing it doesn't add a lot of extra load time I think it would be a worthwhile addition.
 
#3
This would be fantastic. I was pretty shocked at how "one and done" usergroup styling is in XF. Even VB3 had cascading styles for many usergroup options.