# \[Paid\] Open/Active Topic Limit

**URL:** https://meta.discourse.org/t/paid-open-active-topic-limit/160324
**Category:** Marketplace
**Created:** [August 10, 2020, 8:37am UTC](https://meta.discourse.org/t/paid-open-active-topic-limit/160324 "2020-08-10T08:37:23Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![markersocial](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/markersocial/32/170136_2.png) [@markersocial](https://meta.discourse.org/u/markersocial)
#### Post date: [August 10, 2020, 8:37am UTC](https://meta.discourse.org/t/paid-open-active-topic-limit/160324/1 "2020-08-10T08:37:23Z")

</div>

* * *

# Update: CLOSED

* * *

_ **What would you like done?** _

* * *

**Admin Options:**  
Selected categories:  
TL:  
Error text:

* * *

**Use:**  
User is only allowed to have 1 topic that is currently active/open in a custom selection of categories.

Say the selected categories are A and B. If the user creates a topic in category A, then tries to make another topic in either category A or B - then disallow it.

An active/open topic can be determined from the values In the ‘topics’ table in the db matching these:  
deleted at: NULL  
visible: TRUE  
closed: FALSE  
archived: FALSE  
category\_id: (matches any of the selected categories)

Users equal to or above the selected trust level should not be affected (default: staff).

* * *

**User UI:**  
If a new topic is rejected, display an error including the custom error text and provide a link to their currently open topic underneath. If there is more than one open topic (should be a rare case), then either link to one (preferably most recent) or all of them. Whichever is most simple.

* * *

_ **When do you need it done?** _  
No strict deadline, an estimate would be helpful though.

_ **What is your budget, in $ USD that you can offer for this task?** _  
Open to offers, just PM me. 📧 - I’ll update this thread if the task is taken.

---

<div class="post-metadata">

### Author: ![fzngagan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fzngagan/32/259349_2.png) [@fzngagan](https://meta.discourse.org/u/fzngagan)
#### Post date: [August 10, 2020, 8:49am UTC](https://meta.discourse.org/t/paid-open-active-topic-limit/160324/2 "2020-08-10T08:49:51Z")

</div>

Hello from [Pavilion](https://thepavilion.io). Sending you a PM regarding this.

---

<div class="post-metadata">

### Author: ![markersocial](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/markersocial/32/170136_2.png) [@markersocial](https://meta.discourse.org/u/markersocial)
#### Post date: [August 10, 2020, 5:15pm UTC](https://meta.discourse.org/t/paid-open-active-topic-limit/160324/3 "2020-08-10T17:15:02Z")

</div>

I’ve updated the spec to be more simple and precise. Have removed the requirements involving the review queue also, which added quite a bit of complexity.

---

<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: [September 9, 2020, 5:15pm UTC](https://meta.discourse.org/t/paid-open-active-topic-limit/160324/4 "2020-09-09T17:15:12Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
