Please consider using GitHub - paviliondev/discourse-post-badges-plugin instead of this component.
As it currently stands, this component will make one ajax request per loaded post. This can add up depending on your hosting situation and community size, so please keep that in mind as you consider installing this component. It’s clear that there is a good amount of interest in this feature, so hope to improve the situation as time permits.
This component will add earned badges next to a post author’s username. Specific badges to display can be adjusted through a theme setting.
Preview at Discourse Theme Creator
- Support for both default and custom badges.
- Hovering over the badge will show a tooltip with the badge’s description.
- Clicking on the badge will take a user to the badge’s overview page
- Some default badges contain links in their descriptions. These will not display nicely as a tooltip, so it is recommended to customize the description at
/admin/customize/site_texts. You can find what you need to modify by searching for part of the description’s current text.