AndyB
Well-known member
In my model I'm able to get the visitor userId using the following code:
What I would like to be able to do is get the thread_id, but nothing I try works. Is it possible to get the thread_id of the last visited thread?
PHP:
$visitor = XenForo_Visitor::getInstance();
$userId = $visitor['user_id'];
What I would like to be able to do is get the thread_id, but nothing I try works. Is it possible to get the thread_id of the last visited thread?