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

Mark Invisible users on Forumhome

Discussion in 'XenForo Questions and Support' started by trilogy33, Mar 23, 2011.

  1. trilogy33

    trilogy33 Well-Known Member

    Probably an easy edit, but how about making usernames in the Members Online Now sidebar box have their usernames appended with an asterisk when invisible?

    e.g.
    user1, user2, user3, user4*, user5

    That way users won't forget that they're hidden. It's quite easy to overlook as the difference in the shades of blue used are hard to distinguish as the text is quite small.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Add this to EXTRA.css

    Code:
    /* Add * to invisible members */
    .invisible:after {
    content: "*";
    }
     
    Valter and trilogy33 like this.
  3. trilogy33

    trilogy33 Well-Known Member

    Superb ta :)
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    I actually use brackets as it's easier to see.

    Code:
    /* Add brackets to invisible members */
    .invisible:before {
    content: "(";
    }
    
    .invisible:after {
    content: ")";
    }
     
    Jake Bunce likes this.
  5. trilogy33

    trilogy33 Well-Known Member

    Thanks, true.
    I tried using
    Code:
    text-decoration: blink;
    
    But that is outlawed and horrid! ;) Plus not supported by anything other than Firefox it seems.
     
  6. trilogy33

    trilogy33 Well-Known Member

    Weird. I've been all over the Flexile Dark Style template and the brackets aren't showing.
    It's a child style of Flexile (light) - even so, the CSS adjustments are in place, but I cannot figure this one out. :confused:

    Not even the asterisk method works.
     
  7. Brogan

    Brogan XenForo Moderator Staff Member

    The Flexile style is a law unto itself.

    Try asking in the thread.
     
  8. trilogy33

    trilogy33 Well-Known Member

    No matter thanks, cracked it. :)

    Added to sidebar.css instead of extra.css
    Something was overriding it.
     
  9. Brogan

    Brogan XenForo Moderator Staff Member

    Try adding it back to EXTRA.css but use the !important attribute.

    You should be able to use EXTRA.css in this way, that's the purpose of it.

    Or, you can try adding the css to the Miscellaneous field in the Style Properties -> Sidebar -> User List Invisible Username
     
  10. trilogy33

    trilogy33 Well-Known Member

    My first thought, but something didn't gel right...in other words, nope didn't work. :ROFLMAO:
    I always go for the extra.css, it's a lot less work thereafter.
    But will have a stab at Misc. Style Properties like you say.
     
  11. trilogy33

    trilogy33 Well-Known Member

    Sussed it, again.
    Some code I had had previously in extra.css was missing a trailing } :rolleyes:
    Mea culpa.
     
  12. Brogan

    Brogan XenForo Moderator Staff Member

    Here, have one of these facepalm.gif

    :D
     
    trilogy33 likes this.

Share This Page