# 邀请用户在创建新主题前选择类别

**URL:** https://meta.discourse.org/t/invite-people-to-choose-category-before-create-a-new-topic/214077
**Category:** Feature
**Created:** [2022 年1 月 6 日 17:32 UTC](https://meta.discourse.org/t/invite-people-to-choose-category-before-create-a-new-topic/214077 "2022-01-06T17:32:26Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Cerix](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cerix/32/94018_2.png) [@Cerix](https://meta.discourse.org/u/Cerix)
#### Post date: [2022 年1 月 6 日 17:32 UTC](https://meta.discourse.org/t/invite-people-to-choose-category-before-create-a-new-topic/214077/1 "2022-01-06T17:32:26Z")

</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: [2022 年1 月 6 日 17:40 UTC](https://meta.discourse.org/t/invite-people-to-choose-category-before-create-a-new-topic/214077/2 "2022-01-06T17:40:16Z")

</div>

以防万一您不知道，有一个管理员设置 `allow uncategorized topics`（允许未分类主题），您可以切换该设置，通过不允许“未分类”来让人们在创建主题时选择一个类别，这是否有帮助？

 ![allow uncategorized topics](https://global.discourse-cdn.com/meta/original/3X/2/5/251403b92f23f07c58652fa599ebcef681b6abd7.jpeg)

---

<div class="post-metadata">

### Author: ![Cerix](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cerix/32/94018_2.png) [@Cerix](https://meta.discourse.org/u/Cerix)
#### Post date: [2022 年1 月 6 日 17:49 UTC](https://meta.discourse.org/t/invite-people-to-choose-category-before-create-a-new-topic/214077/3 "2022-01-06T17:49:31Z")

</div>

我知道这个功能，但我不希望禁用它，未分类的主题很有用。

我认为问题仅仅与用户体验有关。

---

<div class="post-metadata">

### Author: ![jimkleiber](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jimkleiber/32/121814_2.png) [@jimkleiber](https://meta.discourse.org/u/jimkleiber)
#### Post date: [2022 年1 月 6 日 18:12 UTC](https://meta.discourse.org/t/invite-people-to-choose-category-before-create-a-new-topic/214077/4 "2022-01-06T18:12:07Z")

</div>

您或许可以用 CSS 来突出显示类别选择框，使其更明显地提示用户应该从那里开始。

也许可以使用一些更高级的 JavaScript 技术，在类别框填写完毕之前不允许用户点击编辑器正文，或者弹出一个提示，询问他们是否真的要将其提交为“未分类”。甚至可以弹出一个提示，当用户首先点击正文框时，会提醒他们先选择一个类别。

我不太确定您希望看到什么样的解决方案，也许是我没理解，您能更详细地描述一下吗？例如，用户点击这个，然后用户看到这个，等等？

---

<div class="post-metadata">

### Author: ![Cerix](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cerix/32/94018_2.png) [@Cerix](https://meta.discourse.org/u/Cerix)
#### Post date: [2022 年1 月 6 日 18:35 UTC](https://meta.discourse.org/t/invite-people-to-choose-category-before-create-a-new-topic/214077/5 "2022-01-06T18:35:20Z")

</div>

> [@jimkleiber](#):
>
> 弹出一个提示，询问他们是否真的要将其作为未分类提交。

点击“创建主题”后，弹出一个提示或模态框，询问他们是否真的要将其作为未分类提交，这将是完美的。
