In a discussion about implementing custom username flairs (like ‘DEV’), cz1 sought help replicating a CSS-based flair system seen on EVE Online’s forums. Arkshine explained that such flairs are triggered by assigning users to specific groups (e.g., ‘Developers’) and applying CSS targeting those group classnames. cz1 tried creating an ‘Admin’ group and adapting the CSS but saw no effect. Arkshine advised replacing ‘Developers’ with ‘Admin’ in the CSS — which cz1 had already done. Further troubleshooting confirmed the group must be set as the user’s primary group to appear in HTML classnames Arkshine. Despite renaming the group to ‘Developer’ and verifying CSS syntax, cz1 still saw no change. Arkshine suggested checking if CSS was loading — which turned out to be the issue. After rebooting the server, the CSS loaded and the flair appeared cz1. codinghorror reminded users to format code properly using code blocks, not quotes. The solution hinges on correct group assignment, proper CSS targeting, and ensuring CSS is loaded — no plugin required.
What’s the best way to achieve the ‘DEV’ flair next to usernames in a post. I’ve searched everywhere I could think of . I also tried copying the css from their website just to see if I could get it to work. Is there some sort of plugin for this? Looking briefly at their styling is based on groups that they are apart of.
It seems that they just created a group Developers. Any users associated with this group will trigger this CSS above, as long it’s defined as their primary group.
That is what I figured, however.. I added the custom group ‘Admin’, my accounts primary group is ‘Admin’ and I added the css quoted above. However, there is no change.
Make sure that the concerned user has this Admin group as the primary group.
This will make the group name appearing as classname in the HTML
For example, I created a Test group, and you can see it in the HTML:
That’s odd. I just renamed the group to Developer to make sure its not getting mixed up with the main admin group. Still nothing. Am I missing something?
And this the what I have in the theme css settings under ‘common’
That was odd, the css wasn’t loading properly? I rebooted the server and now its functioning correctly. I really appreciate all your help, and apologize as I’m a beginner trying to learn. Thanks again.