如何移除“每周主题”计数?

I have an active but low traffic forum. How can I remove the “topics per week” counter? Seeing “1 topic per week” or so in a category makes the forum look a bit deserted.

Ideally I would just have a “Topics” counter without any time limitation, just the plain number of topics per category. Is there a switch for this?

To clarify: I am talking about the counter on the category page, which I use as default homepage (this page: Categories - Discourse Meta )

Thanks,
Anton

The category page should be using an absolute count for categories with low velocity, already.

Yes, verified on one of my own instances:

Even here on meta there is a mixture, see categories here and look at plugins for example. Working as designed.

感谢您的回复。听起来不错,这正是我们需要的。可惜它在我这里无法运行。这是论坛的链接:https://forum.a9t9.com/

您知道可能是什么问题吗?(该论坛目前托管在 Communiteq(原 DiscourseHosting)上,我们未对其进行任何自定义。)

我不确定自动在两年后提升帖子有什么目的,但有时这还挺有意思的。以下是我的做法:

th.topics, td.topics {
    display: none;
}
3 个赞

好的,我是 Discourse 新手,对 CSS 不是很了解。您能否解释一下您将这段代码放在哪里,或者需要做什么才能从“每周主题数”切换到“帖子数”?

提前感谢。

1 个赞

只需创建一个“主题组件”。我认为这些是说明:Developing Discourse Themes & Theme Components

2 个赞

嗯,这很简单。 :slight_smile:
谢谢。

所以现在我完全没有数字了。我能放一个只显示类别中主题总数的数字吗?如果可以,你能帮我看看该放什么吗?

1 个赞