Nah, the query simply finds registered users that are viewing 'vBChat.php', a code could be added to disclude banned users from showing up, by altering the query.
Open vBChat.php
Find:
Code:
// Any Body Here?
$datecut = TIMENOW - $vboptions['cookietimeout'];
Above Place:
Code:
$Discard_Banned = "";
if(is_array($UserIDCheck) && $Chat_Options['d_bannedusers'] != ""){
$Discard_Banned = implode(",",$UserIDCheck);
$Discard_Banned = "and user.userid not in({$Discard_Banned})";
}
if(is_array($UsergroupCheck) && $Chat_Options['d_bannedgroups'] != ""){
if($Discard_Banned == ""){
$Discard_Banned = "and user.usergroupid not in(".implode(",",$UsergroupCheck).")";
} else {
$Discard_Banned .= "
and user.usergroupid not in(".implode(",",$UsergroupCheck).")
";
}
}
Find:
Code:
user.username, user.vbchat_pref_status,
Replace With:
Code:
user.username, user.usergroupid, user.vbchat_pref_status,
Find:
Code:
" . iif($vboptions['displayloggedin'] == 1, "ORDER BY username ASC") . "
Above Add:
Save & Upload vBChat.php
I ran the query to test it out, it worked, didn't test it out on the vBChat program though, but it should work, let me know the results
- Zero Tolerance