The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Is there a "hook" to run some PHP code after a new thread is created?
I'm looking to run some PHP code with the thread title that was just created. Can anyone tell me how to get my code invoked just after a thread is created?
|
#2
|
|||
|
|||
You might check out the threaddata_postsave hook. I don't have the vbulletin code in front of me, but if memory serves, you'll probably find that in the class_dm_threadpost.php.
|
#3
|
||||
|
||||
threaddata_ppostsave will execute on all editing and saving of threads. newthread_complete will execute on new threads posted through newthread.php.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|