理解关闭、未列出和存档的主题

:bookmark: This guide explains the differences between Closed, Unlisted, and Archived topics in Discourse, including their characteristics and use cases.

:person_raising_hand: Required user level: All users

Discourse offers various ways to manage topics, including closing, unlisting, and archiving. Each of these options serves a different purpose and has specific effects on how topics are displayed and interacted with. This guide will explain the differences between these three states and their implications.

Summary

  • Closed topics prevent new replies but remain visible in lists and search results.
  • Archived topics are frozen completely, disabling most interactions.
  • Unlisted topics are hidden from most topic lists and search results.
  • Topics can be in multiple states simultaneously (e.g., closed and unlisted).

Closed topics

Closing a topic is the least restrictive option among the three. It’s primarily used to prevent new replies to a topic that has reached its natural conclusion or to temporarily halt discussions.

Characteristics of closed topics

  • Display a “lock” icon next to the topic in lists
  • Disable replying to the topic
  • Disable the “Invite” button at the bottom of the topic
  • Do not bump the topic’s last activity date when closed
  • Continue to allow flagging of the topic or its posts
  • Continue to allow bookmarking
  • Remain visible in all topic lists and search results
  • Allow likes and voting on polls

Archived topics

Archiving a topic is more restrictive than closing. It’s typically used for old or outdated topics that you want to preserve but significantly limit interaction with.

Characteristics of archived topics

Archived topics have all the characteristics of closed topics, plus:

  • Disable users’ ability to delete posts
  • Disable likes
  • Disable poll-based voting (effectively closing polls)
  • Remove the topic from the /top page
  • Exclude the topic from digest emails
  • Remove the topic from the “random” topics list in the footer of the topic page
  • Continue to be displayed in the Unread list (users see the post marking it as Archived)

Accessing archived topics

  • Use the status=archived query parameter: https://meta.discourse.org/?status=archived
  • Archived topics remain visible when browsing specific categories
  • Use the status:archived filter in search to find archived topics

Unlisted topics

Unlisting a topic hides it from most users without removing it entirely. This is useful for topics that should remain accessible but not prominently displayed.

Characteristics of unlisted topics

  • Prevent inclusion of the topic in lists for regular users, including:
    • Homepage / “latest” list
    • Unread topics list
    • Search results
  • Exclude the topic from digest emails
  • Can only be accessed via a direct link
  • Are not indexable by search engines (though previously indexed topics may remain in web search results for some time)
  • Are excluded from automated user badges. Automated badges such as “Nice Topic” and “Good Reply” only apply to visible topics. Unlisting a topic may remove user badges.

Important notes

  1. Admins, Moderators, and Trust Level 4 (TL4) users are not affected by these limitations and can continue to post in and edit posts in both archived and closed topics.
  2. Polls are only closed by closing the poll itself or archiving the topic.
  3. The topic “auto-close” functionality cannot be used to close polls at a specific time and date.
  4. A topic can be in a combination of all three states: Closed, Archived, and Unlisted.

FAQs

Q: How do I find archived topics?
A: You can use the status=archived query parameter in the URL or the status:archived filter in the search function.

Q: Can regular users reply to closed or archived topics?
A: No, regular users cannot reply to closed or archived topics. However, admins, moderators, and TL4 users can still interact with these topics.

Q: Are unlisted topics completely hidden?
A: No, unlisted topics can still be accessed via direct links. They’re just hidden from most topic lists and search results for regular users.

Additional resources

Last edited by @sam 2024-08-30T03:03:40Z

Last checked by @hugh 2024-07-31T06:08:41Z

Check documentPerform check on document:
74 个赞

3 个帖子已拆分为新主题:如何从最新帖子中隐藏已存档主题,但在其他页面中显示它们?

3个帖子被拆分到一个新主题:为已关闭和存档主题提供更多视觉区分

您好!这是我第一次在这里发帖——感谢大家辛勤的劳动 :slight_smile: 我非常喜欢 discourse!!

我有一个基于此的问题,我仍在努力理解。

我能否取消列出一些类别、子类别和主题,然后创建一个链接到这些未列出的类别、子类别和主题的帖子,并允许任何人查看这些未列出的类别、子类别和主题中的帖子?也就是说,查看这些未列出帖子的唯一方法是通过此新帖子中的链接?我想让这些帖子保留在论坛上,但通常不希望它们被搜索到或轻易出现。

我想要这样做的具体原因是为了我们社区的未来,这样我们就不会删除旧的社区帖子,同时我们也让这些旧信息更难浮现,以免我们的社区成员对旧的/过时的信息感到困惑。这有意义吗?

我想到的另一种选择是导出特定的类别、子类别和主题作为 HTML 文件,并将它们上传到公开的 Google Drive 链接。我已尝试在论坛中找到最佳答案,但很想听听大家的想法,或者是否有人自己经历过这种情况。

谢谢大家——我爱 discourse 和你们所做的一切工作 :folded_hands:

2 个赞

是的,包含指向未列出主题和类别的链接的新主题将按您所述的方式工作。

1 个赞

归档主题是否会降低服务器开销?

主要的好处体现在归档数百甚至数千个主题时。

1 个赞