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

XF 1.1 Colored/Styled Uernames in online Users list?

gwinans

Active member
#1
Howdy.

I had a mod for this a while ago, but I'll be damned if I can find it or even think of the search term to hunt it down.

Basically, the users online list would have the usernames colored based on their group membership. I tried adding style data to the group itself, but that only impacted how the groupname itself appeared, not the username.

This was great for highlighting my mods/admins.

Anyone got a rundown on how to do this? I've fiddled a tidbit with the templates, but all I've managed to do is break stuff.
 

Brogan

XenForo moderator
Staff member
#2
You need to edit the code to add "rich".

There's a template mod' somewhere I think.

Something like <xen:username user="$user" rich="true" /> should do it.
 

gwinans

Active member
#3
Thanks a ton, Brogan! Will give that a try. Last time I saw that mode was just after 1.0 came out - wouldn't surprise me if it doesn't work anymore.