PDA

View Full Version : Thread ID Variable


Kybyrian
01-19-2013, 08:19 PM
I'm using a plugin with the hook newpost_complete and am trying to set a conditional for a certain thread, but I can't seem to find a variable that specifies the thread id of the current thread.

I've tried $thread['threadid'], $threadinfo['threadid'], $post['threadid'], and $threadid, but neither of the four have worked at all. What variable would specify the ID of the current thread that I could use with this hook?

mokujin
01-20-2013, 01:40 PM
$this->threadinfo['threadid']
$this->thread['threadid']
$this->post['threadid']
:D :D :D just try