require_once "chat/src/phpfreechat.class.php"; // adjust to your own path
$params = array();
$params["serverid"] = md5(__FILE__); // calculate a unique id for this chat
//$params["refresh_delay"] = 5000; // 5000ms = 5s
$params["title"] = "Web-Base-Chat";
//$params["frozen_nick"] = true;
$params["nick"] = "wb_guest_".rand(1,100); // setup the intitial nickname
$params["channels"] = array("Base");
//$params["isadmin"] = true; // uncomment this line to give admin rights to everyones
$params["admins"] = array("pnigl" => "mypassword"); // login as toto and type /identify mypassword to get the admin rights
$params["proxys_cfg"]["censor"]["words"] = array("fuck","sex","bitch"); // this is the list of words to banish
$params["proxys_cfg"]["censor"]["replaceby"] = "*"; // this is the charactere to use when a censored word is found
$chat = new phpFreeChat($params);
For some reason i can't set the frozen_nick, because then it won't accept either a manual nor a param set user (nick). Furthermore when I logged in with an auto_nick (e.g. wb_guest_99) and I close the window, clear cookies and temp IE files... It asks for a manual nick at the next login (in a new IE-window). It never picks up the auto nick anymore, unless I clear the 'data/private' folder.
Another question... Is there a way to disable the possibillity to close tabs (remove the red x) without going into the code?
When will version 1.0 be available?
Thanks a lot... The chat has a great future and once I got into the stuff I'll be happy to contribute my help, beginning with a german lang.php for example.
imp_d