Ability to assign icons to user groups

Would like to be able to assign icons to user groups, and have them display next to the username in posts, on profiles, and on profile cards, the same way the half-shield is shown for admins and moderators. Also, the ability to easily change the icons for mods and admins.

Should be very simple as a core feature.

I know you can add avatar flair to a group, but that just doesn’t look good. Having the icon next to the name is ideal.

So if you grant this badge and add the user to the group, then add these badges to the badges setting of this Theme Component (if you installed it), it should display next to the username.

However, there is most likely a simpler way, except that it would need some code as a Theme Component.

2 Likes

Yeah I tried using this. Doesn’t work. Trying to find a much simpler way. The add that shield icon to mods and admins. Has to be a way to apply icons to tother groups. Seems to many simple things are very difficult.

I can try tinkering with this idea and see if I can make it work. No promises, though, as I’m quite busy today. But I think it’s certainly possible.

To confirm, you only want this to show in posts? Or everywhere?

2 Likes

Posts, Profile card, profile page, etc.

Just like the default admin/mod shield icon. It displays next to the username all over.

And THANK YOU. Would be awesome to have the ability to do this!

Okay so it looks like it’s more complicated than it seems? The icon is made in a function, so I can’t override it (I think?). It would likely have to be DOM manipulation.

Also, should this be moved to a separate topic?

@long I’ll continue to look for solutions to do this (not giving up yet!)

1 Like