ok... lets start it new
edit ur /usr/lib/index.lib.php3
plaste bbefore "require("./${ChatPath}config/config.lib.php3");"
//a VBB integration hack by Stasik - source parts were taken from other authors

chdir("/home/realweb/public_html/forums/");
require("./global.php");
chdir("/home/realweb/public_html/chat/chat/");
if ($bbuserid == 0)
{
print "no"; //Message if the user has no cookie
exit;
}
else
{
if ($bbusername == "" || (isset($bbusername))==0)
{
$getusername=$DB_site->query_first("SELECT username FROM user WHERE userid=$bbuserid");
$username=$getusername[username];
$bbusername = $username;
}
else
{
$username = $bbusername;
} }
$U = $username;
$pat = "[[:space:]]";
$repl = "";
$U = ereg_replace($pat,$repl,$U);
$pat = ',';
$U = ereg_replace($pat,$repl,$U);
stripslashes($U);
$N = 20;
$D = 10;
$Form_Send = 1;
//Replace admin with your administration nick
if($U != "Admin")
{
$PASSWORD="1";
}
If you had a login problems (bad password), I have forgotten to say, that you have to DELETE all exisind accounts and leave only admin-account