![]() |
problems with $imodcache
Well, the problem is easy. the first value of the array in imodcache is always -1.
(eg. $imodcache[1] == the moderator cache for forum id 1, mine is -1 ;x) all arrays are like this: $imodcache[-1][restinfo]; instead of imodcache['forumid'][restinfo]. I try and refresh the moderator cache with the following. Code:
if ($vbulletin->options['showmoderatorcolumn']) { cache_moderators(); } else { cache_moderators($vbulletin->userinfo['userid']); } Anyone have any clue how I can reset the moderator_cache to show the correct information. |
Never really looked into this, but those entries could relate to S.Mods as they have access to all orums (indicated with value -1).
|
All times are GMT. The time now is 05:55 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|