# 分类模式可以显示除最近发帖人以外的内容吗？

**URL:** <https://meta.discourse.org/t/can-categories-mode-show-something-other-than-most-recent-poster/253438>\
**Category:** Support\
**Created:** [2023年一月31日 05:15 UTC](https://meta.discourse.org/t/can-categories-mode-show-something-other-than-most-recent-poster/253438 "2023-01-31T05:15:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ed\_S](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ed_s/32/134015_2.png) [@Ed\_S](https://meta.discourse.org/u/Ed_S)\
**Post date:** [2023年一月31日 05:15 UTC](https://meta.discourse.org/t/can-categories-mode-show-something-other-than-most-recent-poster/253438/1 "2023-01-31T05:15:13Z")

</div>

在一个较小且不活跃的论坛中，最近被顶起的许多主题很容易显示相同的用户头像，因为其中一位用户刚刚回复了多个主题。这会给人一种主导该空间的印象。

是否可以显示——作为站点设置——主题作者，或贡献者样本？

我希望我的小型且不活跃的论坛对新来者有吸引力——我选择“分类”视图，因为它提供了我们讨论的各种内容的概览。但它有这个缺点。

---

<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:** [2023年一月31日 21:21 UTC](https://meta.discourse.org/t/can-categories-mode-show-something-other-than-most-recent-poster/253438/2 "2023-01-31T21:21:57Z")

</div>

您好 Ed！

> [@Topic Author](https://meta.discourse.org/t/topic-author/111021):
>
> warning Deprecated in favour of [Topic List Author](https://meta.discourse.org/t/topic-list-author/269910)discourse2Summary Topic Author will change the layout of the /latest and categories and latest topic homepage showing in the first column the author of the topic. It works both on desktop and mobile.eyeglassesPreview [Preview on Discourse Theme Creator](https://discourse.theme-creator.io/theme/Discourse/topic-author)hammer_and_wrenchRepository Link [https://github.com/discourse/discourse-topic-author](https://github.com/discourse/discourse-topic-author)open_bookNew to Discourse Themes? [Beginner’s guide to using Discourse Theme…](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966)

这个插件可以实现您想要的功能，但也会修改像 `/latest` 布局这样的主题列表。

它的工作原理是覆盖现有的模板。

如果您只想更改 `/categories` 布局，可以按照以下说明操作：

> [@How to display OP avatar in latest column of the category](https://meta.discourse.org/t/how-to-display-op-avatar-in-latest-column-of-the-category/174872/8?u=canapin):
>
> If you only want to change that in the Category page and don’t want the other changes that the Discourse Topic Author will make you can override the components/latest-topic-list-item With something like below in your theme: \<script type="text/x-handlebars" data-template-name="components/latest-topic-list-item"\> {{plugin-outlet name="above-latest-topic-list-item" connectorTagName="div"}} \<div class="main-link"\> \<div class="top-row"\> {{raw "topic-status" topic=topic}} …

请注意，Discourse 中的模板有时会发生变化，因此新的代码可能需要不时进行调整（也可能多年无需修改）。

* * *

ℹ 我通过搜索 `#support display topic author avatar` 🔍 😺 获得了所有这些信息

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

---

<div class="post-metadata">

**Author:** ![Ed\_S](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ed_s/32/134015_2.png) [@Ed\_S](https://meta.discourse.org/u/Ed_S)\
**Post date:** [2023年一月31日 22:07 UTC](https://meta.discourse.org/t/can-categories-mode-show-something-other-than-most-recent-poster/253438/3 "2023-01-31T22:07:34Z")

</div>

谢谢你的建议！

---

<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:** [2023年三月2日 22:08 UTC](https://meta.discourse.org/t/can-categories-mode-show-something-other-than-most-recent-poster/253438/4 "2023-03-02T22:08:18Z")

</div>

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