Ok
use the hack and its great BUT !!!
When u click the Close (or minimse) button we get
Fatal error: Call to undefined function: swear() in J:\wwwroot\rsocbb\index.php on line 388
Other users can still us the box, until they click the close button.
Help as this stops us using the board
also if you go direct to the chatbox.php script it works fine !!!
Plot thickens !!! if u
http://<URL>/index.php?chatbox=open&s=
The index page loads :surprised: if you
http://<URL>/rsocbb/index.php?chatbox=close&s=
u get
Fatal error: Call to undefined function: swear() in J:\wwwroot\rsocbb\index.php on line 388
Having looked at the code the only diff is no spaces either side of the chatbox=0
if($chatbox == "open"){
$request_chat = $DB_site->query("UPDATE user SET chatbox = 1 WHERE username = '$bbuserinfo[username]'");
$bbuserinfo['chatbox'] = 1;
}elseif($chatbox == "close"){
$request_chat = $DB_site->query("UPDATE user SET chatbox=0 WHERE username='".$bbuserinfo['username']."'");
$bbuserinfo['chatbox'] = 0;
}
Cant logg -in the server from work so cant check is this the prob ??
Have now had a dam good think

I recon
elseif($chatbox == "close"){
$request_chat = $DB_site->query("UPDATE user SET chatbox=0 WHERE username='".$bbuserinfo['username']."'");
$bbuserinfo['chatbox'] = 0;
Should be
elseif($chatbox == "close"){
$request_chat = $DB_site->query("UPDATE user SET chatbox = 0 WHERE username = '$bbuserinfo['username']'");
$bbuserinfo['chatbox'] = 0;
Has none else ever had this problem, I have had a nose through most of the pages and I think not
Giz