The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi
I want to run a query as soon as anyone creates a new thread, the query will include the ID of the newly created thread. Which hook should I use, and how do I access the threadid? TIA |
#2
|
|||
|
|||
![]()
Look in the newthread.php file for the following:
Code:
// ### NOT PREVIEW - ACTUAL POST ### $threadinfo = fetch_threadinfo($newpost['threadid']); |
#3
|
|||
|
|||
![]()
thank you, perfect.
a hook immediately after that line is : newthread_post_complete which works a treat ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|