oh, i thought there is a variable for that.
i have made a refresh button for the thread information using ajax... so thats the replaced text when clicking on the button .
regarding the issue, it does happend also on firefox now for some reason, but i have no idea what is the problem .
why would $activeusers would be invalid for foreach ..
--------------- Added [DATE]1368652200[/DATE] at [TIME]1368652200[/TIME] ---------------
this is the code for $activeusers in showthread :
PHP Code:
$activeusers = array();
if ($vbulletin->userinfo['userid']) // fakes the user being in this thread
{
$loggedin = array(
'userid' => $vbulletin->userinfo['userid'],
'username' => $vbulletin->userinfo['username'],
'invisible' => $vbulletin->userinfo['invisible'],
'invisiblemark' => $vbulletin->userinfo['invisiblemark'],
'inthread' => $threadinfo['threadid'],
'lastactivity' => TIMENOW,
'musername' => $vbulletin->userinfo['musername'],
);
$numberregistered = 1;
$numbervisible = 1;
fetch_online_status($loggedin);
$loggedin['comma'] = $vbphrase['comma_space'];
$activeusers[$numberregistered] = $loggedin;
$doneuser["{$vbulletin->userinfo['userid']}"] = 1;