Overview
Group avatar flair displays to the bottom-right of a user’s avatar, providing a stylish way to highlight a user’s group membership. When creating or configuring a group, an admin can choose an image or Font Awesome icon to use as group flair. Below are the currently supported contexts, using our logo as an example:
User cards
Topic/PM posts
Topic maps
User profile banners
User summary “Most…” lists
Users list
Latest list on categories page
Instructions
Group flair can be configured for both automatic user groups (e.g. admins, moderators, trust levels) and custom user groups. You’ll likely want to review all of your group setting during configuration, but the most relevant settings for avatar flair are those covered below.
Select the relevant group from your groups list and go to Manage > Profile. You’ll find the following settings:
Under Avatar Flair Image are two options:
-
Select an icon - allows you to search or browse for an appropriate Font Awesome icon
-
Upload an image - allows you to pick a custom image from your device. It’s recommended that you use an image with a square aspect ratio and a size somewhere around 100x100 px. The image the Discourse Team uses here on Meta is 88x88 px.
The Avatar Flair Background Color setting allows you to include a circular colored background. This works particularly well when using a Font Awesome icon, or an image with a transparent background.
If you belong to multiple groups with avatar flairs configured, you can select the one to show from your User’s Preference page. In the Account section.
When working with a custom user group, to make the group’s flair display automatically for all members, the group must become a user’s primary group. While viewing a group, go to Manage > Membership and find the Effects section.
Check the “Automatically set as primary group” checkbox and save the changes to set the group as the primary group of all its current and future members. Note that users can change this from their Preferences page.
If a user becomes a member of two groups that have the “Automatically set as primary group” setting enabled, the group flair that displays will be the one associated with the group most recently joined. It’s also worth noting that primary groups can be manually overridden by an admin on a user’s admin page, or by the user when the
user selected primary groups
site setting is enabled.
Related Reading:
Last Reviewed by @AlexDev on 2022-06-10T21:00:00Z