Ajouter une flambée de groupe sur les avatars des membres

:bookmark: This is a guide for configuring automatic group flair on user avatars in Discourse.

:person_raising_hand: Required user level: Administrator

Automatically add group flair to members’ avatars

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.

Summary

This guide covers the steps to automatically add group flair to members’ avatars, including setting up avatar flair for automatic and custom user groups, and configuring relevant settings.

Overview

Below are the currently supported contexts, using our :discourse: logo as an example.

There are instructions for three different cases:

  1. Adding flair while creating a new user group
  2. Adding flair to existing user groups
  3. Adding flair to an automatic or default user group
  4. Styling flair image

Instructions

Group flair can be configured for:

  1. Automatic user groups: Includes admins, moderators, trust levels, and everyone. Automatic groups in Discourse can’t be deleted, and they manage user permissions and specific functions. Only staff can see most automatic groups except for the moderators group.
  2. Custom user groups: All groups that are not created by the system.

Accessing the groups page

There are three ways to access the groups page:

  1. Add /g to the end of your site’s URL (e.g., your-site.com/g)

  2. Use the sidebar navigation:

  3. Go user list page: (e.g., your-site.com/admin/users)

Locate the group in the “All Groups” input box, filter the group by its type or scroll down and locate the desired group box item, then click on it.

Adding group flair while creating a new user group

Upon arriving at the groups page:

  1. Look for the “New Group” button in the top-right corner of the screen.

  2. Click the :heavy_plus_sign: New Group button to open the group creation page.

  3. On the group creation page, you’ll see options to set flair images.

  4. After configuring your group, click the Create button.

:information_source: For more details about creating a new group, check this guide: Creating groups in Discourse

Adding group flair to existing user groups

Locate group as indicated in the Access the groups page section.

  1. Select the :wrench: Manage tab.
  2. Go to Membership.

Adding group flair to an automatic or default user group

Locate group as indicated in the Access the groups page section.

  1. Select the :wrench: Manage tab.

Add group flair image

Select one of the two options for flair image.

Add an icon

  1. Search or browse for an appropriate Font Awesome icon.

  2. Select a Font Awesome icon.

  3. Click the Save Changes button at the bottom.

Upload an image

:mega: 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.

  1. Pick a custom image from your device.

  2. Upload that image.

  3. Click the Save Changes button at the bottom.

Style flair image

:information_source: Hex color values are used to style your avatar flair. A hex triplet is a six-digit, three-byte hexadecimal number used in HTML, CSS, SVG, and other computing applications to represent colors. For more information, visit Wikipedia.

Style Icon

Select an icon and add color values for flair foreground and background. You can style either the foreground or the background or both.

Style Uploaded Image

Select an image and add color values for flair foreground and background. You can style either the foreground or the background or both.

Where will group flairs show?

Group avatars are visible in several places.

  1. User cards

  2. Topic/PM posts

  3. Topic maps

  4. User profile banners

  5. User summary “Most…” lists

  6. Users list

  7. Latest list on categories page

Common issues and solutions

FAQs

Can a user belong to multiple groups with flair?

Yes, but only one group’s flair will be displayed at a time. Users can select which flair to display if belonging to multiple groups.

Additional resources

41 « J'aime »
Trust-Level Avatar Flair
How to add a company logo on admins profile picture?
How to make it obvious who is staff?
How to add a symbol next to someone’s name
What is the purpose of a group? What can we do with it?
How to encourage lurkers to give likes?
Discourse 2.5.0.beta5 Release Notes
Is Roblox Login Possible?
Configure Patreon integration with Discourse
What is the plain PNG/JPG file for this?
Wrong avatar flair icon showing
Icons and text next to the user info
How to add verified mark to team profiles?
Is there a way to stack icons in avatar flair?
Make staff users more recognizable with customized avatars, posts, and mentions
As admin I want to be able to change usernames, regardless of filters
Is it possible to change vis CSS the Category Moderator shield?
Tick badge for username?
Plugin for Avatar Decorations?
Avatar flair image not visible for 'Staff' Group
Changing the avatar flair of an automatically added group
Badges next to username
How to display the shield icon on topics and on the admin profile to all members
Logo next to user title
Is it possible to pass badges as the SSO payload?
Group flair not displaying on user
How can I add an overlay image to staff/group profile pictures?
2018: The Year in Review
Setting a primary group for users
Creating small icon in corner of avatar
Bug? - Group avatar image not working as expected in newer versions of Discourse
Enabling Category Moderation
How to change the logo in the bottom right corner of the avatar?
How do I make moderator shield glyphs visible?
Verified user icon
Which feature adds the icon at the bottom right of some avatars
How do I add a small image next to the avatar like team has?
Discourse 2.4.0.beta7 Release Notes
Make group memberships publicly visible in user profile
Recommended image size (flair)
Questions about moderator shield badge

Un message a été divisé dans un nouveau sujet : Avatar flairs in Chat