Quote:
Originally Posted by kh99
Hmm...it might have to do with the order that things happen. I'm away from my test system so I can't try it right now. You left the preRegister in for $chat_userlist, right?
|
You mean this code?
PHP Code:
vB_Template::preRegister('ajax_chat_widget', array('chat_userlist' => $chat_userlist));
Yes. I left it in.
Quote:
Did you set the cache time to 0? You'd want to do that while working on it even if you've decided to set it to 1 minute, otherwise it's easy to get confused when things don't change right away.
|
I set it to 1 and left it for 5-10 min and came back, but it was still empty.
--------------- Added [DATE]1381161136[/DATE] at [TIME]1381161136[/TIME] ---------------
I fixed the problem. I ended up changing the hook from global_start to global_bootstrap_init_start. Not sure if that will mess anything else up, but it got the job done. Thanks again for all your help, kh99.