Silenced Avatar Flair

AI-generated summary

Silenced Avatar Flair is a plugin that displays an avatar flair when a user is silenced, visible only to admins and moderators. chapoi has created this plugin, and it can be installed via the repository link. The plugin features include displaying the silenced flair on user cards, profile pages, and topic avatars.

However, there is a limitation that the flair does not replace existing flairs but rather overlays them. It uses specific widgets and connectors, which may cause conflicts with other plugins using the same outlets.

chapoi has noted that adding tests is a to-do item. Meanwhile, kinetiksoft has suggested that this plugin could be reworked as a theme component, considering Discourse’s current lack of public indication when a user is silenced.

:information_source: Summary Small plugin that shows a silenced flair when a user is silenced. This will overrule any regular flair.
:hammer_and_wrench: Repository Link GitHub - chapoi/discourse-silenced-flair · GitHub
:open_book: Install Guide How to install plugins in Discourse

Features

When a user is silenced, an avatar flair is shown on their user card, profile page, and on their topic avatar. Only visible to the groups that can see who is silenced (admins and moderators).

  1. Usercard

  2. Profile page

  3. Topic avatar

Limitation

This flair does not replace any existing flairs, but simply pastes the silenced flair on top of them visually. It uses the post-avatar:after widget, and 2 connectors: user-card-avatar-flair and user-profile-avatar-flair to do this.

Meaning any other usage of these outlets will result in a conflict with this plugin.

To do

  • add tests
14 Likes

I wonder if this great idea of a plugin could be re-worked in a theme-component. I believe having plugin to display this kind of info is too much compared to components API. I may be wrong, but that might be a good idea, considering Discourse does not show if user is silenced to public in any way in the interface…

2 Likes