View Full Version : Thread id Variable
Konstantinos
10-01-2011, 11:30 PM
I am using a custom plugin with hook newpost_complete but while $forumid = $foruminfo['forumid']; returns the correct forum id, $threadinfo['threadid']; doesnt work
, any idea why ?
Try using $threadinfo['threadid'], I think that will work.
Konstantinos
10-02-2011, 12:23 AM
i did a typo. i am using $threadinfo['threadid'] and it doesnt work. edited the first post too
--------------- Added 1317518755 at 1317518755 ---------------
hmm ok i got it
I see you got it. You were trying to get the id of a newly created thread? I think it's $post[threadid] (in case someone else reads this some day).
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.