PDA

View Full Version : Limit maximum number of open threads per user, per forum


TalkPhotography
12-13-2008, 03:31 PM
We'd like to be able to restrict members to x number of open threads in a particular forum.

Despite my usually good google-wu, I can't find anything that may do this.
In this particular subforum, members have the ability to close their own threads, but we'd like to restrict the maximum number of open threads per user in this forum to x (So theyre forced to close old threads if they want to open a new one).

Is there anything that can do this?

Thanks in advance :)

Lynne
12-13-2008, 03:42 PM
I've never seen anything like that. I imagine you can write a plugin using a hook at the top of the newthread page ('newthread_start' hook location) and do a quick query to see how many open threads the user has in that forum and if they have the max, give them a message saying they must close other threads in order to make a new one.

TalkPhotography
12-14-2008, 11:08 AM
Thanks Lynne :)

I'll look into that, see how easy it is. I do have a bit of a coding background, but I'll give it a go :)