使用用户卡片快速查看他人信息

:bookmark: This guide explains what user cards are, how they work, and what information they display in Discourse.

:person_raising_hand: 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:

Additional features

User cards offer more than just information display and have several other interactive options as well:

  1. Profile access: Clicking the avatar or username on a user card takes you to the user’s full profile.

  2. Message: A convenient way to contact the person via personal message.

  3. Chat: Quick access to start a personal chat. (requires Discourse Chat)

  4. 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.

:nerd: 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

  1. Follow: Add the user to your Following list and be notified when they post (requires Discourse Follow)

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

  1. Go to your user Preferences/Interface page
  2. 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 documentPerform check on document:
16 个赞

我认为现在是

在“其他”部分启用“隐藏我的公共个人资料”选项。

5 个赞

只是一个快速的问题:
为什么人们在用户卡上看不到某人是否被禁言了?或者是我在这个话题中遗漏了什么?

1 个赞

据我记忆,他们确实有,但我可能记错了。

1 个赞

我记得用户卡上只显示暂停。

我不确定禁言是否公开显示,记不清了。

1 个赞

我不这么认为,因为当我因为顶帖而被禁言时,我不认为它显示出来了,但我不确定。

我相信这取决于网站设置(至少对于暂停来说有一个)。

2 个赞

这已移至偏好设置/个人资料的顶部

最近添加的静默指示器也可以添加到这里

1 个赞