- Code: Select all
$params["max_channels"] = 3;
- Code: Select all
var $max_channels = 3;
Advice will be appreciated. Thanks.
Moderators: OldWolf, re*s.t.a.r.s.*2
$params["max_channels"] = 3;
var $max_channels = 3;
<?php
require_once dirname(__FILE__)."/src/phpfreechat.class.php";
$params = array();
$params["title"] = "Chat Rooms";
//$params["nick"] = "guest".rand(1,1000); // setup the intitial nickname
$params["frozen_nick"] = true; // do not allow to change the nickname
$params['firstisadmin'] = false;
//$params["isadmin"] = true; // makes everybody admin: do not use it on production servers ;)
$params["serverid"] = md5(__FILE__); // calculate a unique id for this chat
$params["debug"] = false;
$params["theme"] = "msn";
$params["clock"] = false;
$params["showsmileys"] = false;
$params["display_pfc_logo"] = false;
$params["max_msg"] = 0; // max message in the history (message seen when reloading the chat)
$params["max_text_len"] = 400; // a message cannot be longer than 50 caracteres
$params["max_displayed_lines"] = 150; // The maximum number of lines displayed in the window. Old lines will be deleted
$params["height"] = "400px";
$params["quit_on_closedwindow"] = true;
$params["timeout"] = 300000;
$params["refresh_delay_steps"] = array(2000,300000,15000,420000,3600000,600000);
$params["channels"] = array("The Lounge");
$params["max_channels"] = 3;
$params["admins"]=array("abcdefg"=>"1234");
$chat = new phpFreeChat( $params );
?>
itchibahn wrote:Geez, I need to stop staring at the codes and look for obvious...![]()
After rehashing, it's doing what it supposed to do...![]()
Thanks.
Return to General Support (v1.x)
Users browsing this forum: No registered users and 21 guests