Quote:
Originally Posted by ambrosious
How did you fix it?
|
wellif you loook at the instructions given it shows this as a replacement variable in the index.php (under //Guest & Before //Configure Peeps In VBChat):
Code:
$numberguest++;
$inforum["$loggedin[inforum]"]++;
}
else if (empty($userinfos["$userid"]) OR ($userinfos["$userid"]['lastactivity'] < $loggedin['lastactivity']))
{
$userinfos["$userid"] = $loggedin;
}
if(preg_match("/vBChat.php/",$loggedin['location']) && $loggedin['userid']){
$vbchat_users[$loggedin['userid']] = $loggedin;
}
}
Now i dontknow anything when it comes to html or java..but idid look at one thing that was a lil a different and instead of actully manually editing it....i just copied from the main index.php from the original forum folder and pasted it to the revision for the chat (figured why not, it worked right when it was original):
Code:
$numberguest++;
$inforum["$loggedin[inforum]"]++;
}
else if (empty($userinfos["$userid"]) OR ($userinfos["$userid"]['lastactivity'] < $loggedin['lastactivity']))
{
$userinfos["$userid"] = $loggedin;
}
}
foreach($userinfos AS $userid => $loggedin)
{
$numberregistered++;
if ($userid != $bbuserinfo['userid'])
{
$inforum["$loggedin[inforum]"]++;
}
$loggedin['musername'] = fetch_musername($loggedin);
if (fetch_online_status($loggedin))
{
$numbervisible++;
eval('$activeusers .= ", ' . fetch_template('forumhome_loggedinuser') . '";');
}
}
now this showed myself online and also got rid of the dup members....currently active users is right now as well...now...because i couldnt get the whos in chat to work i just completely removed it from the forums....to me its all good....the chat is the most important part...and BTW...i did this with vb3.0.5...i dont see a problem with it woking with 3.0.6....which i will be upgrading to, soon...i hope this has helped you as all i did was copy the original index.php variable from the original vbulletin 3.0.5 and re-replaced the instructions given (since i had already followed the instros and edited the index.php)...attached is the index edited...so in essence all you have to do is open the file and edit the license # with your LEGIT license # from vbulletin (i edited my license # out for this attachment for security reasons of course) then replace the index file...:nervous: