1. 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

Discussion in 'Closed Suggestions' started by -Ice-, Jul 30, 2012.

  1. -Ice-

    -Ice- Active Member

    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.
     
    Iversia, yavuz and Sheldon like this.
  2. Sheldon

    Sheldon Well-Known Member

    100% support this. Exactly what I am needing, and you explained it perfectly.
     
  3. Vcize

    Vcize Member

    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.
     
    Iversia likes this.
  4. Sheldon

    Sheldon Well-Known Member

    Kicked to the curb?
     
  5. Iversia

    Iversia Well-Known Member

    I would absolutely love it if user group styles were cascaded.
     

Share This Page