# 会员指示器插件

**URL:** https://meta.discourse.org/t/membership-indicator-plugin/163545
**Category:** Plugin
**Created:** [2020年九月9日 19:37 UTC](https://meta.discourse.org/t/membership-indicator-plugin/163545 "2020-09-09T19:37:45Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [2020年九月9日 19:37 UTC](https://meta.discourse.org/t/membership-indicator-plugin/163545/1 "2020-09-09T19:37:45Z")

</div>

在某些论坛上，人们希望能够识别出与自己同属某个秘密群组的其他成员。为此，我们开发了 **Membership Indicator** （成员标识）插件。

该插件“借用”了头像装饰图片的上传功能，并在同一秘密群组成员发布的每篇帖子下方显示该图片。

其工作原理如下：

- 在 `membership_indicator_groups` 设置中配置插件将触发的群组。
- 为每个配置好的群组上传对应的头像装饰图片。
- 如果某篇帖子由用户发布，且该用户属于插件中配置的群组之一，同时您也属于同一群组，则该用户的头像下方会显示对应的头像装饰图片。
- 可通过 `membership_indicator_ignore_self` 设置来控制此功能是否也应用于您自己的帖子（有些人需要确认自己仍在群组中 ;)）。

该代码仓库可在此处找到：[此处](https://github.com/communiteq/discourse-membership-indicator)。

此项工作由 @outofthebox 赞助。

---

<div class="post-metadata">

### Author: ![outofthebox](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/outofthebox/32/83708_2.png) [@outofthebox](https://meta.discourse.org/u/outofthebox)
#### Post date: [2020年九月9日 19:49 UTC](https://meta.discourse.org/t/membership-indicator-plugin/163545/2 "2020-09-09T19:49:57Z")

</div>

感谢 @RGJ。你的工作将来自世界各地的多元贡献者凝聚在友谊与共同的努力中。我非常欣赏这个插件的出色表现。
