# \[Paid\] Open/Active Topic Limit

**URL:** <https://meta.discourse.org/t/paid-open-active-topic-limit/160324>\
**Category:** Marketplace\
**Created:** [10 augustus 2020 om 08:37 UTC](https://meta.discourse.org/t/paid-open-active-topic-limit/160324 "2020-08-10T08:37:23Z")\
**Posts on this page:** 1\
**Showing post:** 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:** [10 augustus 2020 om 08:37 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.

---

_[View the full topic](https://meta.discourse.org/t/paid-open-active-topic-limit/160324)._
