# Default category

**URL:** https://meta.discourse.org/t/default-category/34481
**Category:** Feature
**Created:** [October 14, 2015, 5:59am UTC](https://meta.discourse.org/t/default-category/34481 "2015-10-14T05:59:41Z")
**Posts on this page:** 15
**Page:** 2

<div class="post-metadata">

### Author: ![j127](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j127/32/79093_2.png) [@j127](https://meta.discourse.org/u/j127)
#### Post date: [February 16, 2018, 3:27am UTC](https://meta.discourse.org/t/default-category/34481/21 "2018-02-16T03:27:53Z")

</div>

I can’t post in `uncategorized`, but I can post without any category. It’s definitely going to be a problem. Staff won’t remember.

Here’s what it looks like on my computer:

 ![Screenshot%20from%202018-02-15%2019-25-16](https://global.discourse-cdn.com/meta/original/3X/f/b/fb6aafcae8215206c7f627535f9d407bc7c021e8.png)

After posting, it has no category:

 ![Screenshot%20from%202018-02-15%2019-25-31](https://global.discourse-cdn.com/meta/original/3X/6/f/6f1fb8e719cc13f8f22847f785d08098458e560b.png)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [February 16, 2018, 3:29am UTC](https://meta.discourse.org/t/default-category/34481/22 "2018-02-16T03:29:23Z")

</div>

That is the way it is. You will need to switch forum software if this is a showstopper for your staff.

---

<div class="post-metadata">

### Author: ![j127](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j127/32/79093_2.png) [@j127](https://meta.discourse.org/u/j127)
#### Post date: [February 16, 2018, 3:33am UTC](https://meta.discourse.org/t/default-category/34481/23 "2018-02-16T03:33:10Z")

</div>

There’s no way to write a simple plugin to override it? (or some other way to do it)

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [February 16, 2018, 4:04am UTC](https://meta.discourse.org/t/default-category/34481/24 "2018-02-16T04:04:32Z")

</div>

Hmm… what is really bizarre, is if your topic title or body is too short, you get multiple error messages, including “You must select a category”, but once the title and body meet the requirements, the category error just disappears too…

Nothing entered:

 ![image](https://global.discourse-cdn.com/meta/original/3X/7/1/71d885496761ad6b89e3e9aa8a9149caf8475331.png)

Topic Title and Body not meeting requirements:

 ![image](https://global.discourse-cdn.com/meta/original/3X/5/c/5c47452a6111546530acba6c8dc272e81910b844.png)

One of the two meeting requirements

 ![image](https://global.discourse-cdn.com/meta/original/3X/a/7/a700a9e78ff8a66ede5f02c4a2f4da3ef2c9766c.png)

Body and Title meeting requirements (category error remains, but I can click Create Topic and it will actually create it)

 ![image](https://global.discourse-cdn.com/meta/original/3X/0/6/0685d19edc6aa84b94be5f5105710d1308602182.png)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [February 16, 2018, 4:09am UTC](https://meta.discourse.org/t/default-category/34481/25 "2018-02-16T04:09:57Z")

</div>

I am not against changing it so staff can no longer **create** topics in uncategorized if it is disabled.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [February 16, 2018, 4:16am UTC](https://meta.discourse.org/t/default-category/34481/26 "2018-02-16T04:16:10Z")

</div>

I can actually prove this regressed (or intentionally changed). It used to prevent it (you can see it at Sitepoint). I can’t create a topic without a category, as Staff.

So maybe the new composer or work done when saving the draft caused this to regress?

Clicking Create Topic fails and the error message shakes to get your attention to what is wrong.

 ![image](https://global.discourse-cdn.com/meta/original/3X/f/a/fa757aa6cb2e78de47e7de2511f3759b3ff3807b.png)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [February 16, 2018, 4:22am UTC](https://meta.discourse.org/t/default-category/34481/27 "2018-02-16T04:22:31Z")

</div>

It sounds like a bug, maybe this was all handled client side in the past instead of being handled correctly server side, post creator should just ban this, problem solves.

---

<div class="post-metadata">

### Author: ![j127](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j127/32/79093_2.png) [@j127](https://meta.discourse.org/u/j127)
#### Post date: [February 16, 2018, 2:19pm UTC](https://meta.discourse.org/t/default-category/34481/28 "2018-02-16T14:19:48Z")

</div>

> [@sam](#):
>
> I am not against changing it so staff can no longer create topics in uncategorized if it is disabled.

Is there any use case where people would want forum threads to not have a category? It seems like that would hide those posts from users, if they are using the category view by default.

Or maybe a setting called “default category” would be useful – then staff could still override it (if there is any use case for that).

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [February 17, 2018, 12:10am UTC](https://meta.discourse.org/t/default-category/34481/29 "2018-02-17T00:10:58Z")

</div>

If it is indeed a regression we should fix it @j.jaffeux

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [February 17, 2018, 2:15am UTC](https://meta.discourse.org/t/default-category/34481/30 "2018-02-17T02:15:44Z")

</div>

Sure, but we got to do the fix server side imo

Client site it’s a bit more tricky cause you want the selector to sort of include uncategorized when topic is edited, overall I just wish we could junk the site setting

---

<div class="post-metadata">

### Author: ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### Post date: [July 7, 2018, 8:34pm UTC](https://meta.discourse.org/t/default-category/34481/32 "2018-07-07T20:34:09Z")

</div>

> [@erlend\_sh](#):
>
> Having a `default_category` setting that would indeed be nice. It wouldn’t affect order, it would just have that category pre-selected by default.

Any chance that this gets implemented?

---

<div class="post-metadata">

### Author: ![BobbyZopfan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bobbyzopfan/32/149374_2.png) [@BobbyZopfan](https://meta.discourse.org/u/BobbyZopfan)
#### Post date: [May 19, 2019, 10:30am UTC](https://meta.discourse.org/t/default-category/34481/33 "2019-05-19T10:30:55Z")

</div>

> [@erlend\_sh](#):
>
> Having a `default_category` setting that would indeed be nice. It wouldn’t affect order, it would just have that category pre-selected by default.

Any development on this?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [May 20, 2019, 2:56am UTC](https://meta.discourse.org/t/default-category/34481/34 "2019-05-20T02:56:16Z")

</div>

This can be done with a theme component, if urgent post on #Marketplace

---

<div class="post-metadata">

### Author: ![BobbyZopfan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bobbyzopfan/32/149374_2.png) [@BobbyZopfan](https://meta.discourse.org/u/BobbyZopfan)
#### Post date: [May 20, 2019, 3:31am UTC](https://meta.discourse.org/t/default-category/34481/35 "2019-05-20T03:31:21Z")

</div>

Great. True. Reasonable.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [July 15, 2019, 6:55am UTC](https://meta.discourse.org/t/default-category/34481/39 "2019-07-15T06:55:36Z")

</div>

UX and server side validation have been fixed

[Previous page](https://meta.discourse.org/t/default-category/34481.md?page=1)
