Is it possible to use badges/groups to show staff an icon on a user’s avatar?
The discussion revolves around displaying a user’s licensing status to moderators/staff without revealing it to other users. dannydulai wants to add an icon or word next to a user’s name or avatar, similar to moderators’ shields, to indicate their licensing status.
dannydulai attempted to use groups and avatar flair, but this didn’t work as expected due to visibility restrictions. HAWK confirmed that this functionality is not currently possible without a plugin, but shared that their team uses an internal plugin to achieve this.
dannydulai inquired about the possibility of sharing the internal plugin, but HAWK mentioned it was proprietary. dannydulai is exploring alternative solutions, including the discourse-post-badges-plugin, but needs help restricting badge visibility to certain groups.
Heliosurge suggested using the User Notes Plugin, which allows staff to view notes about users, but requires manually checking the note contents.
I’d like to mark users with data that indicates their licensing status with our software (for example, if they are trialing or paying, or if they have no license at all).
We already use SSO, so getting this data into discourse is no problem.
I don’t want users to see each other’s licensing status, but I do want moderators/stafff to be able to see it.
I’d prefer an icon or word conveying this status to be seen without a click, so ideally it would show up next to their name or on their avatar. Something similar to how moderators have a little shield next to their name.
Is this currently possible?
I thought I could do this with groups + avatar flair, and making the groups only visible by mods/staff, but that doesn’t seem to work (yes, I set the group as a primary group for the user I was testing with).
These “avatar flairs” were visible by all, even if the group and its members were not. I just rebuilt my container, so I’m running the latest discourse, and now they can’t be seen by anyone, including myself (group owner). I assume that has to do with this:
But, I would have expected I could see it because I am the group owner – but I guess not.
It is not currently possible without a plugin, but it is possible. We use a small plugin that does this internally so that we know who our customers are.