# Category option: max topics per user (2 use-case examples)

**URL:** https://meta.discourse.org/t/category-option-max-topics-per-user-2-use-case-examples/18152
**Category:** Feature
**Created:** [27.Июль.2014 22:53:35 UTC](https://meta.discourse.org/t/category-option-max-topics-per-user-2-use-case-examples/18152 "2014-07-27T22:53:35Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![meglio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/meglio/32/71444_2.png) [@meglio](https://meta.discourse.org/u/meglio)
#### Post date: [27.Июль.2014 22:53:35 UTC](https://meta.discourse.org/t/category-option-max-topics-per-user-2-use-case-examples/18152/1 "2014-07-27T22:53:35Z")

</div>

Use case #1: we would like to have a “Jobs - Resume” category and would allow only ONE topic to be created in that category by any user.

Use case #2: we would like to have an “Official company pages” category and would allow only ONE topic to be created by SOME users (btw, is there any way to allow only users with a particular badge to post to a particular category? - if yes then we would grant a Company Representative badge and make a category where only holders of that badge can create topics, and preferrably would limit them to only one topic per user). This can also be one of ways to monetize with time.

---

<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: [28.Июль.2014 01:16:53 UTC](https://meta.discourse.org/t/category-option-max-topics-per-user-2-use-case-examples/18152/2 "2014-07-28T01:16:53Z")

</div>

None of this is planned.

---

<div class="post-metadata">

### Author: ![meglio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/meglio/32/71444_2.png) [@meglio](https://meta.discourse.org/u/meglio)
#### Post date: [28.Июль.2014 07:57:26 UTC](https://meta.discourse.org/t/category-option-max-topics-per-user-2-use-case-examples/18152/3 "2014-07-28T07:57:26Z")

</div>

Will a corresponding pull request be accepted?

[http://imagizer.imageshack.com/img537/9506/eDDGXT.png](http://imagizer.imageshack.com/img537/9506/eDDGXT.png)

- one more field in categories table, 0 by default
- just a few translatable messages (e.g for end users when they try to create more than allowed number of topics in the category)

---

<div class="post-metadata">

### Author: ![Sander78](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sander78/32/296615_2.png) [@Sander78](https://meta.discourse.org/u/Sander78)
#### Post date: [28.Июль.2014 09:15:38 UTC](https://meta.discourse.org/t/category-option-max-topics-per-user-2-use-case-examples/18152/4 "2014-07-28T09:15:38Z")

</div>

I’d make this a plugin. When use cases are so specific, I don’t think it belongs in core.

---

<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: [28.Июль.2014 09:26:11 UTC](https://meta.discourse.org/t/category-option-max-topics-per-user-2-use-case-examples/18152/5 "2014-07-28T09:26:11Z")

</div>

I agree with @Sander78, this should be a plugin.

A core PR to add the extensibility points needed is welcome, note we already support cutsom\_fields on categories table, so storage is set.

---

<div class="post-metadata">

### Author: ![meglio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/meglio/32/71444_2.png) [@meglio](https://meta.discourse.org/u/meglio)
#### Post date: [28.Июль.2014 10:43:48 UTC](https://meta.discourse.org/t/category-option-max-topics-per-user-2-use-case-examples/18152/6 "2014-07-28T10:43:48Z")

</div>

Thanks. Which is the current recommended setup guide for developers? There are more than one.

---

<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: [28.Июль.2014 13:36:50 UTC](https://meta.discourse.org/t/category-option-max-topics-per-user-2-use-case-examples/18152/7 "2014-07-28T13:36:50Z")

</div>

This would need to be a plugin as the only time I have ever heard this  
request is specific to your site.

---

<div class="post-metadata">

### Author: ![meglio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/meglio/32/71444_2.png) [@meglio](https://meta.discourse.org/u/meglio)
#### Post date: [28.Июль.2014 14:02:00 UTC](https://meta.discourse.org/t/category-option-max-topics-per-user-2-use-case-examples/18152/8 "2014-07-28T14:02:00Z")

</div>

Thanks, got it.  
Could you please link me to the current recommended setup guide for developers as there are more than one.

---

<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: [28.Июль.2014 22:55:54 UTC](https://meta.discourse.org/t/category-option-max-topics-per-user-2-use-case-examples/18152/9 "2014-07-28T22:55:54Z")

</div>

See:

> [@Install Discourse on macOS for development](https://meta.discourse.org/t/beginners-guide-to-install-discourse-on-mac-os-x-for-development/15772):
>
> warning This guide covers installation instructions for a macOS development environment, for production guides see: [Install Discourse in production with the official supported instructions](https://meta.discourse.org/t/how-to-install-discourse-in-production/142537) So you want to set up Discourse on macOS to hack on and develop with? We’ll assume that you don’t have Ruby/Rails/Postgres/Redis installed on your Mac. Let’s begin rocket ! Install Discourse Dependencies You will need the following packages on your system: [Git](http://git-scm.com/)[rbenv](https://github.com/sstephenson/rbenv) or [asdf](https://asdf-vm.com/guide/getting-started.html)[ruby-build](https://github.com/sstephenson/ruby-build)[Ruby](https://www.ruby-lang.org/) (latest s…

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [04.Декабрь.2025 11:31:08 UTC](https://meta.discourse.org/t/category-option-max-topics-per-user-2-use-case-examples/18152/10 "2025-12-04T11:31:08Z")

</div>


