Moderators: OldWolf, re*s.t.a.r.s.*2
require_once "phpchat/src/phpfreechat.class.php"; // adjust to your own path
$params = array();
$params["serverid"] = md5("cebronx_chat"); // used to identify the chat
$params["channels"] = array('CEBronx.ORG');
$params["language"] = "es_ES";
$params["title"] = "Capilla Evangelica del Bronx, Parker Street.";
if ($desc == "1") $params["isadmin"] = true;
$params["nick"] = $pun_user['username']; // setup the intitial nickname
// $params["prefix"] = "myprefix_";
$params["frozen_nick"] = true; // do not allow to change the nickname
$params["shownotice"] = 3; // 0 = nothing, 1 = just nickname changes, 2 = connect/quit, 3 = nick + connect/quit
$params["max_nick_len"] = 20; // nickname length could not be longer than 10 caracteres
$params["max_text_len"] = 300; // a message cannot be longer than 50 caracteres
$params["refresh_delay"] = 2000; // chat refresh speed is 2 secondes (10000ms)
$params["max_msg"] = 0; // max message in the history is 15 (message seen when reloading the chat)
$params["height"] = "230px"; // height of chat area is 230px
$params["width"] = "800px"; // width of chat area is 800px
$chat = new phpFreeChat($params);
}
Return to General Support (v1.x)
Users browsing this forum: No registered users and 19 guests