# 如何暂时移除用户主题的公开访问？

**URL:** <https://meta.discourse.org/t/best-way-to-temporarily-remove-public-access-to-a-users-topics/277242>\
**Category:** Support\
**Created:** [2023年八月30日 18:58 UTC](https://meta.discourse.org/t/best-way-to-temporarily-remove-public-access-to-a-users-topics/277242 "2023-08-30T18:58:26Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![rahim123](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@rahim123](https://meta.discourse.org/u/rahim123)\
**Post date:** [2023年八月30日 18:58 UTC](https://meta.discourse.org/t/best-way-to-temporarily-remove-public-access-to-a-users-topics/277242/1 "2023-08-30T18:58:26Z")

</div>

您好，我有一位长期用户，由于个人原因，要求暂时删除其所有主题。如果情况发生变化，这些主题将来可以恢复。在删除状态下，即使有人拥有网址，这些主题也应无法公开访问，并且它们目前已被搜索引擎索引。我阅读了以下主题：

> [@Understanding closed, unlisted, and archived topics](https://meta.discourse.org/t/the-difference-between-closed-unlisted-and-archived-topics/51238):
>
> 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 th…

> [@When to unlist, make private message, close, and delete](https://meta.discourse.org/t/when-to-unlist-make-private-message-close-and-delete/57098):
>
> Sometimes it’s tough to tell what action to take when you don’t want/need your whole community seeing a certain post. Anyone have general rules of thumb for when you perform each action within your community?

> [@Best practices for archiving topics](https://meta.discourse.org/t/best-practices-for-archiving-topics/27069/1):
>
> What are best practices for archiving topics? I’ve not used this feature before, and don’t fully understand what happens when you archive something and when we should use it. Appreciate any explanation/links slight_smile

根据我的理解：

- 将其转换为私人消息（PM）仍然允许其他发帖用户看到它们，所以这个选项不行。
- 存档和取消列表（Unlisting）仍然允许知道网址的人访问。
- 将它们移动到私人/工作人员类别将难以恢复到正确的类别。

所以看起来“删除”是最好的选择？只要我没有启用永久删除功能，它们就会无限期地保留在数据库中，并有可能批量恢复，对吗？

批量操作按钮是否可以同时作用于用户的所有主题，还是只作用于页面上加载的主题？

是否有办法区分已删除的\_回复\_和已删除的\_主题\_？`/u/name/deleted-posts` 页面将所有内容显示在一起。这似乎只显示主题：  
`/filter?q=status:deleted%20topics%2Ccreated-by%3A%40Username`  
虽然我不明白为什么语法是 `status:deleted<space>topics`。是否有类似的只显示已删除回复的解决方案？

`/?status=deleted` 似乎将未列出（unlisted）的主题与已删除的主题一起显示。我不确定这是为什么，因为有一个单独的 `/?status=unlisted` 过滤器。

将来恢复用户“已删除”的帖子可能会出现问题，因为无法区分哪些主题是为此特定原因删除的，哪些是出于其他原因删除的而应保持删除状态。

理想情况下，我希望有一个设置选项可以使存档的主题对公众无法访问。

提前感谢您的帮助，我只是想百分之百确定我所做的事情，以避免将来给自己带来管理上的混乱。

---

<div class="post-metadata">

**Author:** ![maiki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maiki/32/233950_2.png) [@maiki](https://meta.discourse.org/u/maiki)\
**Post date:** [2023年八月30日 19:18 UTC](https://meta.discourse.org/t/best-way-to-temporarily-remove-public-access-to-a-users-topics/277242/2 "2023-08-30T19:18:53Z")

</div>

你好 @rahim123。 👋

你或许可以使用内容标记和审核队列来处理这类信息。以下是一些针对你用例的详细主题：

- [Understanding post flags in Discourse](https://meta.discourse.org/t/what-happens-when-you-flag-a-post/275)
- [Discourse Moderation Guide](https://meta.discourse.org/t/discourse-moderation-guide/63116)

关于指南，请查看标题“不当内容”。🙂

---

<div class="post-metadata">

**Author:** ![rahim123](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@rahim123](https://meta.discourse.org/u/rahim123)\
**Post date:** [2023年八月30日 20:18 UTC](https://meta.discourse.org/t/best-way-to-temporarily-remove-public-access-to-a-users-topics/277242/3 "2023-08-30T20:18:25Z")

</div>

感谢 @maiki 的回复。嗯，我认为“审核队列”行不通，因为我无法批量标记该用户的所有主题。

---

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [2023年八月30日 20:31 UTC](https://meta.discourse.org/t/best-way-to-temporarily-remove-public-access-to-a-users-topics/277242/4 "2023-08-30T20:31:03Z")

</div>

您是指仅他们的主题，还是所有帖子？

隐藏内容还是用户名很重要？

---

<div class="post-metadata">

**Author:** ![rahim123](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@rahim123](https://meta.discourse.org/u/rahim123)\
**Post date:** [2023年八月30日 22:19 UTC](https://meta.discourse.org/t/best-way-to-temporarily-remove-public-access-to-a-users-topics/277242/5 "2023-08-30T22:19:24Z")

</div>

> [@JammyDodger](#):
>
> 仅他们的主题

他们请求的仅是他们的主题。但如果有一种好的方法可以暂时移除他们所有帖子的访问权限，我也很想知道。

> [@JammyDodger](#):
>
> 隐藏内容或用户名是否重要？

我想移除该用户的用户名和主题首帖的内容可能会奏效，并使其余的帖子可以通过 URL 访问。但这不足以仅仅通过 CSS 隐藏首帖的内容，它需要完全不对公众开放。

---

<div class="post-metadata">

**Author:** ![maiki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maiki/32/233950_2.png) [@maiki](https://meta.discourse.org/u/maiki)\
**Post date:** [2023年八月30日 23:52 UTC](https://meta.discourse.org/t/best-way-to-temporarily-remove-public-access-to-a-users-topics/277242/6 "2023-08-30T23:52:09Z")

</div>

> [@rahim123](#):
>
> 一位长期用户因个人原因请求暂时移除其所有主题。如果情况发生变化，这些主题未来可以恢复。

> [@rahim123](#):
>
> 提前感谢您的帮助，我只想百分之百确定我在做什么，以避免将来给自己造成管理上的混乱。

这将是一团糟。 🙂

我本来想建议匿名化账户，但这并不能满足你的大部分要求。

这种用例并不常见，没有人要求过一个可以使用户“非公开\*\*并恢复”的功能。

祝你好运！ 🤞

---

<div class="post-metadata">

**Author:** ![ClawdiaWolf](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/clawdiawolf/32/262518_2.png) [@ClawdiaWolf](https://meta.discourse.org/u/ClawdiaWolf)\
**Post date:** [2023年八月31日 00:28 UTC](https://meta.discourse.org/t/best-way-to-temporarily-remove-public-access-to-a-users-topics/277242/7 "2023-08-31T00:28:45Z")

</div>

听起来 OP 想要的是类似 vBulletin 的全局忽略功能。

如果你不熟悉，它基本上会保留用户的所有帖子和主题，但直到将用户从列表中移除之前，非管理员账户都无法看到它们。这是我在 Discourse 中怀念的少数 vB 功能之一。🙂

---

<div class="post-metadata">

**Author:** ![rahim123](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@rahim123](https://meta.discourse.org/u/rahim123)\
**Post date:** [2023年八月31日 00:44 UTC](https://meta.discourse.org/t/best-way-to-temporarily-remove-public-access-to-a-users-topics/277242/8 "2023-08-31T00:44:23Z")

</div>

感谢所有人的回复。

> [@maiki](#):
>
> 这个用例不常见，没有人要求提供将用户设为非公开 **并恢复** 的功能。

是的。我明白这是一个不常见的请求。我不会期望 Discourse 一定会实现一个完整的流程来处理。但我确实认为，应该实现一个设置选项，让非工作人员无法访问已存档的主题。这样我就可以手动存档和取消存档主题，同时将它们与可能已被删除且应保持删除状态的其他主题分开。

---

<div class="post-metadata">

**Author:** ![maiki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maiki/32/233950_2.png) [@maiki](https://meta.discourse.org/u/maiki)\
**Post date:** [2023年八月31日 00:49 UTC](https://meta.discourse.org/t/best-way-to-temporarily-remove-public-access-to-a-users-topics/277242/9 "2023-08-31T00:49:08Z")

</div>

> [@ClawdiaWolf](#):
>
> 听起来发帖人想要的是类似 vBulletin 的全局忽略功能。

哦，这很有趣：

> **全局忽略**  
> 此选项允许您有效地将一个或多个用户添加到每个成员的“忽略列表”中。但是，此列表中的用户仍然可以看到他们自己的帖子和主题……
> 
> 输入用户 ID 号列表，用空格分隔（例如：4 12 68 102）。
> 
> – [vBulletin Manual - User Banning Options](https://www.vbulletin.com/docs/html/main/options_userbanning)

---

<div class="post-metadata">

**Author:** ![rahim123](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@rahim123](https://meta.discourse.org/u/rahim123)\
**Post date:** [2023年八月31日 00:51 UTC](https://meta.discourse.org/t/best-way-to-temporarily-remove-public-access-to-a-users-topics/277242/10 "2023-08-31T00:51:57Z")

</div>

这确实很有趣。不过，我认为在这种特定情况下，如果它有“查看此隐藏帖子”链接，或者帖子内容在 HTML 中被 CSS 隐藏，那是不够的。对我来说，前者 URL 应该会向非员工返回 404。

---

<div class="post-metadata">

**Author:** ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)\
**Post date:** [2023年八月31日 00:52 UTC](https://meta.discourse.org/t/best-way-to-temporarily-remove-public-access-to-a-users-topics/277242/11 "2023-08-31T00:52:07Z")

</div>

> [@maiki](#):
>
> 哦，这很有趣：
> 
> > **全局忽略**  
> > 此选项允许您有效地将一个或多个用户添加到每个成员的“忽略列表”中。但是，在此列表中的用户仍然可以看到他们自己的帖子和主题……
> > 
> > 输入用户 ID 号列表，用空格分隔（例如：4 12 68 102）。
> > 
> > – [vBulletin Manual - User Banning Options](https://www.vbulletin.com/docs/html/main/options_userbanning)

我现在想要这个功能。 😅 这或多或少是一个影子禁令功能。

---

<div class="post-metadata">

**Author:** ![rahim123](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@rahim123](https://meta.discourse.org/u/rahim123)\
**Post date:** [2023年八月31日 00:54 UTC](https://meta.discourse.org/t/best-way-to-temporarily-remove-public-access-to-a-users-topics/277242/12 "2023-08-31T00:54:15Z")

</div>

这实际上和影子禁令（shadowbanning）差不多，对吧？ 😉

> [@Discourse Shadowban](https://meta.discourse.org/t/discourse-shadowban/85041):
>
> warning That plugin was built in an afternoon. Expect bugs The last resort for dealing with trolls that just won’t go away It blocks the notifications, and it blocks the post from showing up in topic view. And it shouldn’t be possible for the user to tell they’re shadowbanned unless they try. The list of shadowbanned users is stored in a setting with the usernames separated by |s. There’s probably a better way to do it, but I’m not sure how.

---

<div class="post-metadata">

**Author:** ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)\
**Post date:** [2023年八月31日 00:56 UTC](https://meta.discourse.org/t/best-way-to-temporarily-remove-public-access-to-a-users-topics/277242/13 "2023-08-31T00:56:02Z")

</div>

我不认为那个插件目前正在工作，但也许其他人可以确认。

---

<div class="post-metadata">

**Author:** ![ClawdiaWolf](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/clawdiawolf/32/262518_2.png) [@ClawdiaWolf](https://meta.discourse.org/u/ClawdiaWolf)\
**Post date:** [2023年八月31日 00:57 UTC](https://meta.discourse.org/t/best-way-to-temporarily-remove-public-access-to-a-users-topics/277242/14 "2023-08-31T00:57:47Z")

</div>

> [@rahim123](#):
>
> 这实际上和影子禁令（shadowbanning）差不多，对吧？😉

没错，我甚至忘了那个插件还存在 😆

我 _很长_ 一段时间没用过那种禁令了。我的一个实例上还保留着那个插件的注释行 🙂

---

<div class="post-metadata">

**Author:** ![maiki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maiki/32/233950_2.png) [@maiki](https://meta.discourse.org/u/maiki)\
**Post date:** [2023年八月31日 01:03 UTC](https://meta.discourse.org/t/best-way-to-temporarily-remove-public-access-to-a-users-topics/277242/15 "2023-08-31T01:03:19Z")

</div>

大家可以自行决定是否要创建一个 #Contribute > Feature 主题；Global Ignore 对 vB 来说是个有趣的功能，但对我个人而言，它似乎并不是个实用的工具。我主要运营的是小型网站，大家彼此都认识。

这让我想到，@rahim123，我不揣测你为何要迁就他们，但在我运营的小型网站上，我不会这么做。如果有人想要离开，我会说可以匿名化他们的贡献内容，但这与我们小型网站之间的协议相悖。

在我为客户搭建的网站中，相关条款总会涵盖这方面的内容，而且我认为用户没有理由期望既能“关闭”自己的内容，又能允许后续“重新开启”。

我不是在评论屏蔽（shadowbanning）作为一种工具的好坏，因为网络上的情况很复杂，但将“用户可请求的屏蔽（出于个人原因）”作为一个开关功能，恐怕很难让人接受。🤔

我可能会尝试寻求折中方案：“标记出你想删除的主题，然后我会停用你的账号。”

---

<div class="post-metadata">

**Author:** ![rahim123](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@rahim123](https://meta.discourse.org/u/rahim123)\
**Post date:** [2023年八月31日 01:17 UTC](https://meta.discourse.org/t/best-way-to-temporarily-remove-public-access-to-a-users-topics/277242/16 "2023-08-31T01:17:07Z")

</div>

在这种情况下，我将根据具体情况的细节来满足用户的请求。

我已经执行了删除操作。被删除的主题将无限期地保留在数据库中，对吗？没有自动硬删除？

如果/在需要时，我可以通过以下方式访问已删除主题的列表：  
`/filter?q=status%3Adeleted%20topics%2Ccreated-by%3A%40Username`  
但不幸的是，似乎没有批量取消删除操作。在 Discourse 中至少实现这一点是否是一个合理的要求？或者是否有任何其他方法可以通过 GUI 来完成？

---

<div class="post-metadata">

**Author:** ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)\
**Post date:** [2023年八月31日 01:20 UTC](https://meta.discourse.org/t/best-way-to-temporarily-remove-public-access-to-a-users-topics/277242/17 "2023-08-31T01:20:35Z")

</div>

你看到这篇帖子了吗？

> [@Bulk deletion of topics](https://meta.discourse.org/t/bulk-deletion-of-topics/257474/3?u=lilly):
>
> Hello and welcome @SophieRice1 slight_smile You can use the bulk options from the search results to delete en masse. You can add in the advanced filters to get what you need: And then access the options from the wrench icon: Personally I’d recommend selecting them individually just to be sure (though you can always undelete any you accidentally clip out), but if you want to ‘select all’ you will need to scroll down to load them all, or it will do them in ‘visible’ bat…

---

<div class="post-metadata">

**Author:** ![rahim123](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@rahim123](https://meta.discourse.org/u/rahim123)\
**Post date:** [2023年八月31日 01:21 UTC](https://meta.discourse.org/t/best-way-to-temporarily-remove-public-access-to-a-users-topics/277242/18 "2023-08-31T01:21:40Z")

</div>

是的，谢谢，我没看到任何关于批量取消删除的内容？

---

<div class="post-metadata">

**Author:** ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)\
**Post date:** [2023年八月31日 01:23 UTC](https://meta.discourse.org/t/best-way-to-temporarily-remove-public-access-to-a-users-topics/277242/19 "2023-08-31T01:23:50Z")

</div>

我不知道。像这样大规模删除和恢复用户帖子并不是我见过的常见情况。

---

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [2023年八月31日 01:39 UTC](https://meta.discourse.org/t/best-way-to-temporarily-remove-public-access-to-a-users-topics/277242/20 "2023-08-31T01:39:28Z")

</div>

如果只是他们的主题，我将建议将它们批量重新分类到#staff，或一个具有类似受限权限的新类别。

[下一頁](https://meta.discourse.org/t/best-way-to-temporarily-remove-public-access-to-a-users-topics/277242.md?page=2)
