The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Plugin for loggedinuser
So I have a query I run on hook : forumdisplay_loggedinuser
Code:
$viewers = $db->query_first("SELECT user.avatarid FROM " . TABLE_PREFIX . "user WHERE userid = " . $loggedin['userid'] . ""); My issue is in showthread, showthread uses the same template (forumdisplay_loggedinuser) to show active users, yet my plugin is not loading in showthread. I have played with the hook location, (obviously hooking it to showthread_loggedinuser) first, and have tried a few other locations, yet I cant get this to return anything at all in showthread. None of the plugin is wrapped in a this script condition either. THE FULL CODE (works in forumdisplay, can not get to work in showthread) PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|