![]() |
Per User Thread Limit (Per Forum)
I've searched and found a few explanations that came close, but not quite what I am looking for.
How could I go about restricting a member to posting a single thread in a certain forum? The system would have to check to see if they have posted a thread in that same forum, and prevent them from creating another one. It's probably more complicated than I would expect, but I figured I'd ask. I was hoping to find a MOD that would handle this, but the ones I found only limited the number of threads in a forum per usergroup instead of per user. -Thank you |
Quote:
|
You could just do something like this in a plugin using hook newthread_start:
Code:
if ($vbulletin->db->query_first("SELECT threadid FROM " . TABLE_PREFIX . "thread or if you'd rather create a phrase for the error message: Code:
eval(standard_error(fetch_error(phrase_name))); BTW, in general borbole's right, in many cases a mod wouldn't be this small so you wouldn't be likely to get an answer here unless someone knew of an existing mod. |
All times are GMT. The time now is 01:42 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|