# 隐藏/取消列出/更改主题分类，直到第一条评论

**URL:** https://meta.discourse.org/t/hide-unlist-change-category-for-topic-until-first-comment/148955
**Category:** Support
**Created:** [2020年四月23日 07:20 UTC](https://meta.discourse.org/t/hide-unlist-change-category-for-topic-until-first-comment/148955 "2020-04-23T07:20:18Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![yochaimaytal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yochaimaytal/32/165032_2.png) [@yochaimaytal](https://meta.discourse.org/u/yochaimaytal)
#### Post date: [2020年四月23日 07:20 UTC](https://meta.discourse.org/t/hide-unlist-change-category-for-topic-until-first-comment/148955/1 "2020-04-23T07:20:19Z")

</div>

大家好。  
我正在寻找一种方法，在 Discourse 平台上创建一个主题（而不是外部网站上的文章），并让该主题在有人评论之前保持不可见。  
我在想类似[定时发布主题](https://meta.discourse.org/t/how-to-create-a-timed-topic/60731?u=yochaimaytal)的方法，只是将第一条评论作为触发条件。有点像“如果”条件判断。

让我解释一下用途：  
我正在制作一个幻灯片，将分享给观众，其中展示不同的产品。我想邀请大家进一步讨论这些产品。我原本的计划是为每个产品创建一个主题，包含幻灯片详情，将其设为不可见，并在幻灯片中提供链接。然后，如果有人决定评论，该帖子就会变得可见，或从隐藏类别移动到正确的类别。  
这样我就不用发布一堆没有评论或缺乏兴趣的空主题了。

有没有办法实现类似的功能？  
谢谢！

---

<div class="post-metadata">

### Author: ![Thomas\_G](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thomas_g/32/200158_2.png) [@Thomas\_G](https://meta.discourse.org/u/Thomas_G)
#### Post date: [2020年四月23日 09:04 UTC](https://meta.discourse.org/t/hide-unlist-change-category-for-topic-until-first-comment/148955/2 "2020-04-23T09:04:17Z")

</div>

我明白你想做什么，但我有个问题。既然该话题位于私有分类中，用户该如何进入这个隐藏话题呢？

* * *

你提到：

> [@yochaimaytal](#):
>
> 并提供一个链接

这是个好主意。你可以创建一个话题，将其设为不列出，如果有人回复，再将其重新列出。但我没看到有什么方法可以自动将其列出，或者将其发布在私有分类中。

* * *

我还找到了这个话题，或许能帮到你：

> [@Category setting: unhide topic from latest when there is a reply](https://meta.discourse.org/t/category-setting-unhide-topic-from-latest-when-there-is-a-reply/71397):
>
> I’m interested in creating some categories where people are encouraged to create new topics liberally (for example, sharing links or “TIL” type posts). I’m concerned about this cluttering up the front page and I’m aware of the “hide topics in this category from latest” setting. Many of the topics would likely receive no replies. But on occasion, I think some of these topics could spark a discussion. It’d be cool if there were an option to auto-unhide the topic from latest once there were a r…

---

<div class="post-metadata">

### Author: ![yochaimaytal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yochaimaytal/32/165032_2.png) [@yochaimaytal](https://meta.discourse.org/u/yochaimaytal)
#### Post date: [2020年四月24日 09:56 UTC](https://meta.discourse.org/t/hide-unlist-change-category-for-topic-until-first-comment/148955/3 "2020-04-24T09:56:07Z")

</div>

这听起来是个好主意。  
我很希望能自动化处理，但如果只能手动操作，我也可以接受。  
谢谢。

---

<div class="post-metadata">

### Author: ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)
#### Post date: [2020年四月24日 10:03 UTC](https://meta.discourse.org/t/hide-unlist-change-category-for-topic-until-first-comment/148955/4 "2020-04-24T10:03:55Z")

</div>

> [@yochaimaytal](#):
>
> 让这个主题在有人评论之前不可见。

* * *

> [@yochaimaytal](#):
>
> 如果这是唯一的选择，那就手动操作。

嘿，你有没有试过在新主题上`切换为未列出`？当你发布主题时，它会自动变为未列出状态。

---

<div class="post-metadata">

### Author: ![yochaimaytal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yochaimaytal/32/165032_2.png) [@yochaimaytal](https://meta.discourse.org/u/yochaimaytal)
#### Post date: [2020年四月24日 10:11 UTC](https://meta.discourse.org/t/hide-unlist-change-category-for-topic-until-first-comment/148955/5 "2020-04-24T10:11:21Z")

</div>

我原以为 @Thomas_G 是这个意思：

- 创建一个主题
- 在发帖器的齿轮图标中切换“不公开”选项（在发布之前）
- 分享该链接
- 如果帖子收到评论，则手动将其更改为“公开”

我想我会试试这个方法。

---

<div class="post-metadata">

### Author: ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)
#### Post date: [2020年四月24日 10:14 UTC](https://meta.discourse.org/t/hide-unlist-change-category-for-topic-until-first-comment/148955/6 "2020-04-24T10:14:28Z")

</div>

没问题，看起来是个好计划😉

我想他的意思是通过扳手手动操作。如果我错了，他可以纠正我👍

---

<div class="post-metadata">

### Author: ![Thomas\_G](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thomas_g/32/200158_2.png) [@Thomas\_G](https://meta.discourse.org/u/Thomas_G)
#### Post date: [2020年四月24日 11:54 UTC](https://meta.discourse.org/t/hide-unlist-change-category-for-topic-until-first-comment/148955/7 "2020-04-24T11:54:08Z")

</div>

@yochaimaytal 的评论完全符合我的提议！

> [@yochaimaytal](#):
>
> - 创建一个主题
> - 在发帖器（发布前）的齿轮图标中切换“未列出”选项
> - 分享该链接
> - 如果帖子收到评论，则手动将其更改为“已列出”

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2024年六月7日 02:23 UTC](https://meta.discourse.org/t/hide-unlist-change-category-for-topic-until-first-comment/148955/8 "2024-06-07T02:23:31Z")

</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: [2024年六月7日 04:43 UTC](https://meta.discourse.org/t/hide-unlist-change-category-for-topic-until-first-comment/148955/9 "2024-06-07T04:43:27Z")

</div>


