# 有什么方法可以在用户旁边插入一个可选择的“心情”表情符号吗？

**URL:** https://meta.discourse.org/t/is-there-a-way-to-insert-a-selectable-mood-emoji-next-to-users/183611
**Category:** Community Building
**Created:** [2021年三月18日 03:03 UTC](https://meta.discourse.org/t/is-there-a-way-to-insert-a-selectable-mood-emoji-next-to-users/183611 "2021-03-18T03:03:11Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![1101010](https://avatars.discourse-cdn.com/v4/letter/1/6de8d8/32.png) [@1101010](https://meta.discourse.org/u/1101010)
#### Post date: [2021年三月18日 03:03 UTC](https://meta.discourse.org/t/is-there-a-way-to-insert-a-selectable-mood-emoji-next-to-users/183611/1 "2021-03-18T03:03:11Z")

</div>

你好，

我们最近就社区和谐问题展开了一些讨论，其中提到一个用户的玩笑式回应可能会被另一位用户误解，尤其是取决于双方当时的心情。

有人建议，如果在每个用户的名字旁边显示一个“心情”表情符号，或许会有所帮助。例如，用户可以表明自己当前状态不佳，从而避免误解。

想请问一下，是否有现成的插件或工具可以实现这一功能？或者我们是否忽略了某个已有的功能？

提前感谢！

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2021年三月18日 10:36 UTC](https://meta.discourse.org/t/is-there-a-way-to-insert-a-selectable-mood-emoji-next-to-users/183611/2 "2021-03-18T10:36:21Z")

</div>

你需要一个插件。它可以为情绪添加一个自定义字段，然后将其加入序列化器。配置好后，登录组件或主题组件就可以添加情绪信息……放在某个位置。

不过情绪是变化的……比如我今天发帖时很生气，但后来心情变好了。帖子中是否包含我发帖时的情绪？这似乎是个棘手的问题。

---

<div class="post-metadata">

### Author: ![1101010](https://avatars.discourse-cdn.com/v4/letter/1/6de8d8/32.png) [@1101010](https://meta.discourse.org/u/1101010)
#### Post date: [2021年三月19日 05:39 UTC](https://meta.discourse.org/t/is-there-a-way-to-insert-a-selectable-mood-emoji-next-to-users/183611/3 "2021-03-19T05:39:08Z")

</div>

不，这个想法是让你的用户详情包含该信息，显示在标题旁边：

![image](https://global.discourse-cdn.com/meta/original/3X/1/f/1fb7fc7352572a8720057094a37f83156b370ee7.png)

这样，只有当你在个人资料中修改时才会更新，而不会显示在帖子中。

谢谢。

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2021年三月23日 09:53 UTC](https://meta.discourse.org/t/is-there-a-way-to-insert-a-selectable-mood-emoji-next-to-users/183611/4 "2021-03-23T09:53:59Z")

</div>

一种稍微费力的方法是上传不同的头像，但这需要每个人定期编辑头像。

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2021年三月23日 13:08 UTC](https://meta.discourse.org/t/is-there-a-way-to-insert-a-selectable-mood-emoji-next-to-users/183611/5 "2021-03-23T13:08:48Z")

</div>

你可以设置一组带有特定标签的群组，用户可以选择加入或退出。我有一个插件可以根据用户的自定义字段来设置群组归属，这或许能满足你的需求。此外，主题组件也可以根据用户的主群组执行相应操作。

---

<div class="post-metadata">

### Author: ![1101010](https://avatars.discourse-cdn.com/v4/letter/1/6de8d8/32.png) [@1101010](https://meta.discourse.org/u/1101010)
#### Post date: [2021年三月31日 00:27 UTC](https://meta.discourse.org/t/is-there-a-way-to-insert-a-selectable-mood-emoji-next-to-users/183611/6 "2021-03-31T00:27:58Z")

</div>

哦，太感谢了。那个标签功能是个插件吗？

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2021年三月31日 00:30 UTC](https://meta.discourse.org/t/is-there-a-way-to-insert-a-selectable-mood-emoji-next-to-users/183611/7 "2021-03-31T00:30:06Z")

</div>

不。Flair 位于群组设置中。

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2024年五月22日 19:02 UTC](https://meta.discourse.org/t/is-there-a-way-to-insert-a-selectable-mood-emoji-next-to-users/183611/8 "2024-05-22T19:02:21Z")

</div>

> [@User Status](https://meta.discourse.org/t/user-status/240335?u=moin):
>
> With this announcement, we’re making publicly available a new feature that enables you to set a custom status message. After setting, that message will be shown next to your avatar on posts, in chat, on your user card etc.: You can use it to let everyone know that you’re temporarily unavailable, are on a long vacation, or just to share your mood. information_source You can now test this feature on [try.discourse.org](http://try.discourse.org)How to use it To set custom status, …
