vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=328036

Plugin for loggedinuser
by Dr.CustUmz
19 May 2020 18:01

So I have a query I run on hook : forumdisplay_loggedinuser


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

there's more to the code, and this works on forumdisplay by using $viewers in forumdisplay_loggedinuser template.

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)

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



All times are GMT. The time now is 17:29.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.