# 即使“允许未分类主题”未勾选，用户仍可创建未分类的主题

**URL:** https://meta.discourse.org/t/users-can-create-topic-without-selecting-a-category-even-when-allow-uncategorized-topics-unchecked/281435
**Category:** Support
**Created:** [2023年十月7日 09:46 UTC](https://meta.discourse.org/t/users-can-create-topic-without-selecting-a-category-even-when-allow-uncategorized-topics-unchecked/281435 "2023-10-07T09:46:30Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Hyan](https://avatars.discourse-cdn.com/v4/letter/h/5fc32e/32.png) [@Hyan](https://meta.discourse.org/u/Hyan)
#### Post date: [2023年十月7日 09:46 UTC](https://meta.discourse.org/t/users-can-create-topic-without-selecting-a-category-even-when-allow-uncategorized-topics-unchecked/281435/1 "2023-10-07T09:46:30Z")

</div>

您好 Discourse 社区，

我遇到了与下面主题相同的问题。用户既不是员工也不是版主（新注册用户）。但他们可以创建不选择分类的主题。

> [@Discourse allows to create uncategorized topics even when "allow uncategorized topics" is unchecked](https://meta.discourse.org/t/discourse-allows-to-create-uncategorized-topics-even-when-allow-uncategorized-topics-is-unchecked/57454/2):
>
> You did this as staff / moderator, I’m guessing. And I’m guessing that regular users cannot do that on your site. Staff are expected to be more careful.

两个亮点是，这些主题是从旧网站迁移过来的，并且“允许未分类主题”之前是勾选的（我正在将其更改为不勾选）。在站点设置中有一个“警告：如果存在任何未分类主题，您必须在关闭此选项之前对其进行重新分类。”这是否意味着我的站点中有未分类的主题阻止了此设置生效？  
然后，我该如何查找所有未分类的主题？提前感谢。

---

<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年十月7日 15:21 UTC](https://meta.discourse.org/t/users-can-create-topic-without-selecting-a-category-even-when-allow-uncategorized-topics-unchecked/281435/2 "2023-10-07T15:21:38Z")

</div>

> [@Hyan](#):
>
> 如何才能找到所有未分类的主题？提前感谢。

如果您启用了“允许未分类主题”，那么在高级搜索页面的分类下拉字段中应该有一个未分类的选项。  
或者访问 [https://yourforum.com/c/uncategorized/1](https://yourforum.com/c/uncategorized/1)

---

<div class="post-metadata">

### Author: ![Lhc\_fl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lhc_fl/32/268115_2.png) [@Lhc\_fl](https://meta.discourse.org/u/Lhc_fl)
#### Post date: [2023年十月7日 15:27 UTC](https://meta.discourse.org/t/users-can-create-topic-without-selecting-a-category-even-when-allow-uncategorized-topics-unchecked/281435/3 "2023-10-07T15:27:07Z")

</div>

> [@Hyan](#):
>
> 如何才能找到所有未分类的主题？提前谢谢。

前往 [https://yoursite.com/c/1-category/1，在那里您将找到所有未分类的主题。](https://yoursite.com/c/1-category/1%EF%BC%8C%E5%9C%A8%E9%82%A3%E9%87%8C%E6%82%A8%E5%B0%86%E6%89%BE%E5%88%B0%E6%89%80%E6%9C%89%E6%9C%AA%E5%88%86%E7%B1%BB%E7%9A%84%E4%B8%BB%E9%A2%98%E3%80%82)

---

<div class="post-metadata">

### Author: ![Hyan](https://avatars.discourse-cdn.com/v4/letter/h/5fc32e/32.png) [@Hyan](https://meta.discourse.org/u/Hyan)
#### Post date: [2023年十月8日 04:24 UTC](https://meta.discourse.org/t/users-can-create-topic-without-selecting-a-category-even-when-allow-uncategorized-topics-unchecked/281435/5 "2023-10-08T04:24:59Z")

</div>

谢谢，@Lilly @Lhc_fl 我已将“未分类”中的所有主题移出，并且“允许未分类主题”已取消勾选，用户仍然可以在不选择类别的情况下发帖。我期望在帖子编辑器中，应该有占位符文本“在此处键入前请选择一个类别”，并且鼠标指针应被禁用。还有其他地方需要我更改吗？

---

<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年十月9日 20:59 UTC](https://meta.discourse.org/t/users-can-create-topic-without-selecting-a-category-even-when-allow-uncategorized-topics-unchecked/281435/6 "2023-10-09T20:59:30Z")

</div>

> [@Hyan](#):
>
> 我已经将所有主题从“未分类”中移出，并且“允许未分类主题”已取消勾选，但用户仍然可以在不选择分类的情况下发帖。我期望在帖子编辑器中会显示占位符文本“在此处键入前请选择一个分类”，并且鼠标指针会被禁用。

请提供一个显示未选择分类的撰写器的屏幕截图。在配置了不允许“未分类”主题的设置后，我无法重现该问题。

---

<div class="post-metadata">

### Author: ![Hyan](https://avatars.discourse-cdn.com/v4/letter/h/5fc32e/32.png) [@Hyan](https://meta.discourse.org/u/Hyan)
#### Post date: [2023年十月10日 07:44 UTC](https://meta.discourse.org/t/users-can-create-topic-without-selecting-a-category-even-when-allow-uncategorized-topics-unchecked/281435/7 "2023-10-10T07:44:58Z")

</div>

是的。作为一个普通用户，这是作曲家截图

 ![image](https://global.discourse-cdn.com/meta/original/4X/6/6/5/66577bbd8443858cb1e9dfd559f110bb93e4626e.jpeg)

“未分类”类别中没有主题/帖子

 ![image](https://global.discourse-cdn.com/meta/original/4X/8/4/b/84bcd1b958340432130ab60ba2ce9f1149cba0e9.jpeg)

在我的站点设置中，“允许未分类主题”未被选中。管理员用户的截图

 ![image](https://global.discourse-cdn.com/meta/original/4X/7/2/5/725d4934bb8d9302732d517ee237943629141d71.jpeg)

---

<div class="post-metadata">

### Author: ![Hyan](https://avatars.discourse-cdn.com/v4/letter/h/5fc32e/32.png) [@Hyan](https://meta.discourse.org/u/Hyan)
#### Post date: [2023年十月10日 15:36 UTC](https://meta.discourse.org/t/users-can-create-topic-without-selecting-a-category-even-when-allow-uncategorized-topics-unchecked/281435/8 "2023-10-10T15:36:38Z")

</div>

更新 - 尽管作曲家的占位符没有提到“必须选择一个类别”，但当我尝试提交主题时，会弹出一个错误提示，阻止我进行操作。这很好，但我仍然想知道为什么占位符文本没有放在编辑作曲家中。

 ![image](https://global.discourse-cdn.com/meta/original/4X/d/b/9/db95b563ff86842da21f9b912a81ddce8f3a8928.jpeg)

---

<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年十月10日 16:53 UTC](https://meta.discourse.org/t/users-can-create-topic-without-selecting-a-category-even-when-allow-uncategorized-topics-unchecked/281435/9 "2023-10-10T16:53:07Z")

</div>

有一个名为 `default composer category` 的设置，用于定义打开撰写器时选定的类别。👍
