Mickie D
03-05-2017, 03:58 PM
I am writing a small log script that will eventually give me details on threads that are read over a day, week, month.
I want to know who is reading what so we can make decisions based on this information.
Anyway, I have almost all the data I want to collect on SHOWTHREAD COMPLETE plugin hook (i think that is the right location).
I am guessing/hoping that I can use
$vbulletin->thread[threadid]
Is that correct, without the need to select the information from the database
I know I can use
$vbulletin->userinfo['userid']
also is there a list of these globals anywhere?
--------------- Added 1488738917 at 1488738917 ---------------
Found it
$vbulletin->GPC['threadid']
I want to know who is reading what so we can make decisions based on this information.
Anyway, I have almost all the data I want to collect on SHOWTHREAD COMPLETE plugin hook (i think that is the right location).
I am guessing/hoping that I can use
$vbulletin->thread[threadid]
Is that correct, without the need to select the information from the database
I know I can use
$vbulletin->userinfo['userid']
also is there a list of these globals anywhere?
--------------- Added 1488738917 at 1488738917 ---------------
Found it
$vbulletin->GPC['threadid']