For some reason, only some of my parameters seem to be working, and I can't figure out why. Here's the relevant section of my web page code:
- Code: Select all
require_once dirname(__FILE__)."/phpchat/src/phpfreechat.class.php";
$params = array();
$params["title"] = "Habs Fan Summit";
$params["nick"] = "";
$params["clock"] = false;
$params["admins"] = array('JayInPA' => 'passwordredacted');
$params["timeoffset"] = "3600";
$params["shownotice"] = "7";
$params["height"] = "640";
$params["serverid"] = md5(__FILE__); // calculate a unique id for this chat
$params["debug"] = false;
$params["channels"] = array("Summit");
$chat = new phpFreeChat( $params );
I can /identify and my password will be accepted. However, it doesn't seem to be accepting the values of the TITLE, CLOCK, TIMEOFFSET, HEIGHT, or CHANNELS parameters.
Any ideas? Thanks to anyone who can help out.