# 一个主题最多会显示多少参与者？

**URL:** <https://meta.discourse.org/t/whats-the-max-number-of-participants-that-will-get-displayed-on-a-topic/394275>\
**Category:** Support\
**Created:** [2026年一月25日 04:47 UTC](https://meta.discourse.org/t/whats-the-max-number-of-participants-that-will-get-displayed-on-a-topic/394275 "2026-01-25T04:47:32Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![hipp0](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hipp0/32/537433_2.png) [@hipp0](https://meta.discourse.org/u/hipp0)\
**Post date:** [2026年一月25日 04:47 UTC](https://meta.discourse.org/t/whats-the-max-number-of-participants-that-will-get-displayed-on-a-topic/394275/1 "2026-01-25T04:47:32Z")

</div>

![image](https://global.discourse-cdn.com/meta/original/4X/4/4/a/44a9b7f3267cc157f7cffa8a30860f1fe6448e7f.png)

第 6 位参与者是匿名的，当有成员发帖时就消失了。我想知道我是否可以增加这个数字，以及这是预期的行为。

---

<div class="post-metadata">

**Author:** ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)\
**Post date:** [2026年一月25日 05:29 UTC](https://meta.discourse.org/t/whats-the-max-number-of-participants-that-will-get-displayed-on-a-topic/394275/2 "2026-01-25T05:29:51Z")

</div>

这是在标题中的 PM 还是 [这个](https://meta.discourse.org/t/is-there-a-way-to-get-participants-to-display-for-topics-and-not-just-personal-messages/394148/2?u=natedhaliwal)？

如果是第一个，我相信逻辑在这里：

> <https://github.com/discourse/discourse/blob/main/frontend/discourse/app/components/header/topic/info.gjs#L39-L41>

> <https://github.com/discourse/discourse/blob/main/frontend/discourse/app/components/header/topic/info.gjs#L61-L67>

---

<div class="post-metadata">

**Author:** ![hipp0](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hipp0/32/537433_2.png) [@hipp0](https://meta.discourse.org/u/hipp0)\
**Post date:** [2026年一月25日 05:40 UTC](https://meta.discourse.org/t/whats-the-max-number-of-participants-that-will-get-displayed-on-a-topic/394275/3 "2026-01-25T05:40:51Z")

</div>

这仅在主题列表中，我放弃了自定义标题参与者。这些回复是 Discourse 的一部分，没有修改。

 ![image](https://global.discourse-cdn.com/meta/original/4X/7/c/1/7c11e9a791ab4baa6bd2b4ca4864dfc7f231a60a.png)

---

<div class="post-metadata">

**Author:** ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)\
**Post date:** [2026年一月25日 05:54 UTC](https://meta.discourse.org/t/whats-the-max-number-of-participants-that-will-get-displayed-on-a-topic/394275/4 "2026-01-25T05:54:20Z")

</div>

此列表是关于该主题的特色用户的。我不确定您是否可以修改它。也许您可以以编程方式进行修改。

---

<div class="post-metadata">

**Author:** ![hipp0](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hipp0/32/537433_2.png) [@hipp0](https://meta.discourse.org/u/hipp0)\
**Post date:** [2026年一月25日 06:13 UTC](https://meta.discourse.org/t/whats-the-max-number-of-participants-that-will-get-displayed-on-a-topic/394275/6 "2026-01-25T06:13:25Z")

</div>

> [@NateDhaliwal](#):
>
> 此列表是关于主题的特色用户的。我不确定您是否可以修改它。也许您可以以编程方式修改。

我只是想知道默认显示多少个。

---

<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:** [2026年一月25日 11:53 UTC](https://meta.discourse.org/t/whats-the-max-number-of-participants-that-will-get-displayed-on-a-topic/394275/7 "2026-01-25T11:53:13Z")

</div>

我认为您最多可以获得 5 个用户。例如：

- 第一篇帖子的作者、3 位经常发帖的用户、最后一篇帖子的作者
- 第一篇和最后一篇帖子的作者、4 位经常发帖的用户
- 第一篇帖子的作者、解决方案的作者、2 位经常发帖的用户、最后一篇帖子的作者

或类似的组合。如果第一篇帖子的作者也是最后一篇帖子的作者，则其头像周围会有边框。

---

<div class="post-metadata">

**Author:** ![hipp0](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hipp0/32/537433_2.png) [@hipp0](https://meta.discourse.org/u/hipp0)\
**Post date:** [2026年一月26日 01:34 UTC](https://meta.discourse.org/t/whats-the-max-number-of-participants-that-will-get-displayed-on-a-topic/394275/8 "2026-01-26T01:34:54Z")

</div>

```plaintext
/* 减小头像之间的间距 */
td.posters.topic-list-data a {
  margin-right: 2px !important; /* 减小头像之间的间隙 */
  display: inline-block;
}

/* 移除单元格内的任何内边距 */
td.posters.topic-list-data {
  white-space: nowrap !important;
  padding-left: 4px !important;
  padding-right: 4px !important;
}

/* 确保头像没有额外的间距 */
td.posters.topic-list-data .avatar {
  margin: 0 !important;
}

td.posters.topic-list-data,
th.topic-list-data.posters {
  min-width: 175px !important;
  width: 175px !important;
}

```

这解决了头像堆叠在一起的换行问题。

---

<div class="post-metadata">

**Author:** ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)\
**Post date:** [2026年一月26日 14:53 UTC](https://meta.discourse.org/t/whats-the-max-number-of-participants-that-will-get-displayed-on-a-topic/394275/9 "2026-01-26T14:53:17Z")

</div>

您可以通过 CSS 修改它，以定位单个发帖人、最新发帖人或 OP（原帖人）等。例如，您可以这样做：

隐藏 OP：

```scss

@if $this_setting == "false" {
     td.posters a:first-child .avatar {
      display: none;
    }
}

```

对于不是唯一发帖人的 OP：

```scss
…
 .posters {
     a:first-child .avatar.latest:not(.single) {
…}
}

```

---

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [2026年一月26日 17:09 UTC](https://meta.discourse.org/t/whats-the-max-number-of-participants-that-will-get-displayed-on-a-topic/394275/10 "2026-01-26T17:09:12Z")

</div>

恕我直言，鉴于您似乎对 CSS 或编程没有深入了解（如果您有，我深表歉意！），我建议您保持自定义内容少而简单。只做您认为必要的事情。  
每增加一个自定义项，未来就可能增加一个潜在的故障点。

我以前走过这条路，并后悔对我实例所做的一些修改。

---

<div class="post-metadata">

**Author:** ![hipp0](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hipp0/32/537433_2.png) [@hipp0](https://meta.discourse.org/u/hipp0)\
**Post date:** [2026年一月26日 20:09 UTC](https://meta.discourse.org/t/whats-the-max-number-of-participants-that-will-get-displayed-on-a-topic/394275/11 "2026-01-26T20:09:49Z")

</div>

我对移动视图所做的唯一更改是移除重叠或占用过多空间的内容，例如组标题或标签。

---

<div class="post-metadata">

**Author:** ![hipp0](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hipp0/32/537433_2.png) [@hipp0](https://meta.discourse.org/u/hipp0)\
**Post date:** [2026年一月26日 22:18 UTC](https://meta.discourse.org/t/whats-the-max-number-of-participants-that-will-get-displayed-on-a-topic/394275/12 "2026-01-26T22:18:40Z")

</div>

> [@hipp0](#):
>
> 这仅在主题列表中显示，我放弃了自定义标题参与者。这些回复是 Discourse 的一部分，没有进行任何修改。

最好将其更改为最多 8 个参与者，因为不知何故它会像这样换行。我尝试修复此换行问题，但这会影响我其他有缩略图/博客视图的区域。

 ![image](https://global.discourse-cdn.com/meta/original/4X/d/5/a/d5a8179cd1347aadf1730883270b46a5f4c36f07.png)

---

<div class="post-metadata">

**Author:** ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)\
**Post date:** [2026年一月26日 22:24 UTC](https://meta.discourse.org/t/whats-the-max-number-of-participants-that-will-get-displayed-on-a-topic/394275/13 "2026-01-26T22:24:42Z")

</div>

[https://meta.discourse.org/tags/c/documentation/developer-guides/56/theme-guides](https://meta.discourse.org/tags/c/documentation/developer-guides/56/theme-guides)

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [2026年二月25日 22:25 UTC](https://meta.discourse.org/t/whats-the-max-number-of-participants-that-will-get-displayed-on-a-topic/394275/14 "2026-02-25T22:25:12Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
