This guide explains what user cards are, how they work, and what information they display in Discourse.
Required user level: All users
User cards in Discourse provide a quick and convenient way to view essential information about other users without navigating to their full profile page. This feature enhances user interaction and allows for easy personalization.
What are user cards?
User cards are pop-up windows that appear when you click on a userās avatar or username in various places within Discourse, such as:
- Inside a topic
- On topic listing pages (e.g. Latest)
- On user mentions (e.g. @Discourse)
Information displayed on user cards
User cards show an overview of a userās profile information, including:
- Avatar
- Username, name, and title
- āAbout meā description (first three lines if lengthy)
- Featured topic (if set)
- Website (if set)
- Location (if set)
- Last post date and join date
- Read time and recent read time (in total, and within the last 60 days)
- Trust level badge and two top (or favorite) badges
- User card background (if set)
Depending on the plugins your community has enabled, you may also see:
- Your amount of cheers (Discourse Gamification)
- A count of your solutions (Discourse Solved)
Additional features
User cards offer more than just information display and have several other interactive options as well:
-
Profile access: Clicking the avatar or username on a user card takes you to the userās full profile.
-
Message: A convenient way to contact the person via personal message.
-
Chat: Quick access to start a personal chat. (requires Discourse Chat)
-
Post filtering: For users with multiple posts in a topic, a filter button with their post count appears. Clicking this filters the topic to show only that userās posts.
For anyone interested in the underlying magic of this feature, it appends
?username_filters=USERNAME
to the end of the topic URL to achieve the filtered view
-
Follow: Add the user to your Following list and be notified when they post (requires Discourse Follow)
-
Suspension indicator: User cards can also indicate if a user has been suspended (this can be disabled per site):
Adding favorite badges
To select the two badges that appear next to your Trust Level badge on the user card, navigate to your badges page and select up to two badges using the star icon in the lower right corner:
Hiding your user card
If you prefer not to have your user card visible to others:
- Go to your user Preferences/Interface page
- Enable the āHide my public profileā option in the āOtherā section.
This setting will hide the profile details from your user card (as well as your user profile and badges page).
Additional resources
Last edited by @Lilly 2024-11-22T04:17:34Z
Last checked by @hugh 2024-07-02T06:22:58Z
Check document
Perform check on document: