hymoo
02-17-2009, 10:51 AM
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.
if ($vbulletin->options['showmoderatorcolumn']) { cache_moderators(); } else { cache_moderators($vbulletin->userinfo['userid']); }
but this seems to have no effect.
Anyone have any clue how I can reset the moderator_cache to show the correct information.
(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.
if ($vbulletin->options['showmoderatorcolumn']) { cache_moderators(); } else { cache_moderators($vbulletin->userinfo['userid']); }
but this seems to have no effect.
Anyone have any clue how I can reset the moderator_cache to show the correct information.