01-09-2016, 03:46 AM
Hi All,
Can XThreads allow you to selectively run a hook for certain sub-forums? I know XThreads can allow custom fields and custom templates for specific sub-forums, and I'm already using those features.
For example, I want to use the newthread_do_newthread_end hook, but only one of the sub-forums. The purpose is that new threads in this sub-forum are "more than just threads", and I want to hold state data for these threads, which interacts with other functionality in that sub-forum.
I was going to just write "if I'm in the special forum, then..." code, but I want to check if I'm missing something about XThreads first.
Cheers!
Can XThreads allow you to selectively run a hook for certain sub-forums? I know XThreads can allow custom fields and custom templates for specific sub-forums, and I'm already using those features.
For example, I want to use the newthread_do_newthread_end hook, but only one of the sub-forums. The purpose is that new threads in this sub-forum are "more than just threads", and I want to hold state data for these threads, which interacts with other functionality in that sub-forum.
I was going to just write "if I'm in the special forum, then..." code, but I want to check if I'm missing something about XThreads first.
Cheers!