用户滚动到页面底部时如何阻止主题自动取消固定?

Team,

It is my belief that thread pinning is at the user level. Once you’ve seen a pinned thread it unpins at the user level? In reading it looks like I can force pin a topic so it’s always on top.

How the hell do I do that?

Thanks friends,
Mike

1 个赞

Hello there @P2W!

You can ensure pinned topics stay at the top of a page by changing these settings as an admin:


However, on a user level thry can go to preferences -> Interface and change this setting

Hope this helps :blush:

5 个赞

This setting is confusing. It’s not clear that one of these settings is to let the user have the choice in terms of the behavior (“by default”), while the other setting removes the option from the user. It’s a pretty subtle difference.

Maybe I’m a dunderhead, but I wasted some time before I realized what was going on.

1 个赞

Oh no, sorry to hear that! I agree that it can be confusing. Do you have a recommended setting description that would make that distinction clearer?

2 个赞

So in some sections it appears to be working while in others pinned topics are plummeting down the section. I have both check boxes unchecked.

Valorant - P2W.GG for example.

1 个赞

Have you unchecked it on your profile ?

1 个赞

It’s actually pinning in the subcategory. Is there a way to make a post from a subcategory pin to it’s main category?

1 个赞

Another question can I disable the ability to unpin at the user level? I plan to monetize that feature and user disabling defeats that purpose

1 个赞

This is not possible yet.

1 个赞

Perhaps you can hide the option from the user preferences with some clever CSS?

2 个赞

这两个“重置”按钮具体是做什么的?

我能想到几种不同的情况,但无法在代码中找到逻辑(抱歉,我的 Ruby 阅读能力最多只能算入门级):

  1. 为每个用户重置此设置。但那样的话,下面的按钮就没有多大意义了,因为此设置似乎只与新用户的默认设置有关?

  2. 为所有用户重置所有主题的“置顶”状态。但那样的话,下面的按钮就没有多大意义了,因为此设置似乎只与新用户的默认设置有关?

您好,欢迎您 @olm :slight_smile:

“重置”选项是将管理员设置恢复到其原始默认设置。有时这会涉及重置用户的偏好设置——例如,重置/更改第二个选项 default topics automatic unpin 将会询问您是否要将更改应用到历史记录以及从更改点开始:

3 个赞

非常感谢您如此迅速的答复!

是否有什么“Discourse 手册”可以让我查找此类选项的含义?至少在 Documentation - Discourse Meta 我没有看到描述。

另外……管理员是否有办法重置所有用户在所有置顶主题上的“已置顶”设置?

理想情况下,每个管理员设置的说明都应在页面本身提供足够的信息(如果需要,我们随时欢迎关于如何使这些说明更清晰的建议 :+1:)。但 meta.discourse.org 是事实上的 Discourse 用户手册。 :slight_smile: 如果您在搜索中找不到任何内容,请随时创建一个新主题并在其中询问您需要的内容。

我认为没有简单的方法可以做到这一点,除非使用 rails 控制台。您可以通过主题扳手单独取消置顶,然后重新置顶每个主题,但是,用户可以随时取消置顶和重新置顶主题,所以即使您重置了所有主题,它们仍然可以被覆盖。如果您有一些信息想要始终可见,可以尝试使用 Versatile Banner 主题组件?

1 个赞

非常感谢,@JammyDodger!非常感激。

谢谢,这听起来是迄今为止最简单的方法,特别是当只有少数几个固定主题时(而且我认为默认情况下显示所有主题并置顶对于只有很少固定主题的情况是最有意义的)。