Need help with plugin to allow only one thread in selected forums
mark-in-dallas Offline
Junior Member
**
Posts: 5
Joined: Jul 2010
Post: #6
RE: Need help with plugin to allow only one thread in selected forums
I'm actually starting over, because Yumi's suggestion of hooking to datahandler_post_validate_thread made me realize that this check should be done before the editor is even opened.  I think it might be rather irratating to any member that was posting a new thread to be told that they could not, after they had already typed it and tried to submit.

Hooking into newthread_do_newthread_end would be the place to do so, right?

And dlash.tato, thanks for your suggestion.  You are absolutely right.  I am not really a programmer though and have just been trying to piece this together from other things I've been able to do and get to work.  Oops

I took that querie from a modification I made to the tweet to Twitter plugin, to block threads in private forums from being tweeted, which did work, but now you've got me thinking I should go back and try to change that to a WHERE clause too.
07-09-2010 10:17 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: Need help with plugin to allow only one thread in selected forums - mark-in-dallas - 07-09-2010 10:17 PM

 Standard Tools
Forum Jump: