Had some err's for some time but finally got it working.
1 err in the text doc.
says to find:
------------------------------------------------------------------
while ($loggedin = $db->fetch_array($forumusers))
{
$userid = $loggedin['userid'];
if (!$userid)
{ // Guest
$numberguest++;
$inforum["$loggedin[inforum]"]++;
}
else if (empty($userinfos["$userid"]) OR ($userinfos["$userid"]['lastactivity'] < $loggedin['lastactivity']))
{
$userinfos["$userid"] = $loggedin;
}
if(preg_match("/chat.php/",$loggedin['location']) && $loggedin['userid']){
$vbchat_users[$loggedin['userid']] = $loggedin;
}
}
------------------------------------------------------------------
it is all right except the bottom few lines. The chat.php is not already in the index.php. I guess it's becuase i didn't have the file in before.
However if you never loaded this before you should find this text below.
------------------------------------------------------------------
while ($loggedin = $db->fetch_array($forumusers))
{
$userid = $loggedin['userid'];
if (!$userid)
{ // Guest
$numberguest++;
$inforum["$loggedin[inforum]"]++;
}
else if (empty($userinfos["$userid"]) OR ($userinfos["$userid"]['lastactivity'] < $loggedin['lastactivity']))
{
$userinfos["$userid"] = $loggedin;
}
}
if (!$vbulletin->userinfo['userid'] AND $numberguest == 0)
{
$numberguest++;
}
------------------------------------------------------------------
replace it with the // Get the users in vBChat text in the notepad.
Remember that you have to go to Milad's post and download the new vbchat2.3 for vb3.5. You can not download the file by the original creator at this time. He has not been around to make modifcations.
Good luck everyone hope this helps.
Thanks to Milad for the fix with 3.5 and to the original creator.
|