隐藏用户列

:discourse2: Summary Hide Users Column hides the Users column from the Latest and Top pages of your site.
:eyeglasses: Preview Preview on Discourse Theme Creator
:hammer_and_wrench: Repository Link https://github.com/discourse/discourse-hide-users-column
:open_book: New to Discourse Themes? Beginner’s guide to using Discourse Themes

Install this theme component

Features

Before:

After:


:discourse2: Hosted by us? Theme components are available to use on our Standard, Business, and Enterprise plans.

Last edited by @JammyDodger 2024-06-12T23:05:56Z

Check documentPerform check on document:
20 个赞

如果安装了“主题列表预览”主题组件,“隐藏用户列”会隐藏主题缩略图。我刚用了一个通用的:

.topic-list .posters { display: none; }

似乎有效。

1 个赞

是的,我试过这段 CSS,在电脑上能正常工作,但在手机上仍然显示在左侧。

此主题组件在 3.3.0 stable 版本中存在警告:

弃用通知:topic 模型中的 displayNewPosts 属性已被弃用 [deprecation id: discourse.topic.totalUnread]

1 个赞

IMHO,如果该组件可以为各个类别进行配置,那它将更有用。