您在這裡
使用者登入
最新文章
回應
3 年 5 個月 之前
6 年 5 個月 之前
6 年 5 個月 之前
6 年 5 個月 之前
6 年 5 個月 之前
6 年 5 個月 之前
6 年 6 個月 之前
6 年 6 個月 之前
6 年 6 個月 之前
6 年 6 個月 之前
Re: 聊天室phpfreechat
同问题 好像每个版本都出问题
##########
http://www.micfeng.com
新聞大聯播
#########
Re: 聊天室phpfreechat
我有找到資料
可是還是搞不定
http://drupal.org/node/125227
誰能來幫幫忙
Re:
I believe I have a fix for this problem. Go to the pfcglobalconfig.class.php file in sites/all/modules/phpfreechat/phpfreechat/src/. This is where the serverid is set - clearly it has not been set in the params["serverid"] array so set it needs to be set manually as follows:
找到params["serverid"] ,
大約在147 行
將:
<?php // check the serverid is really defined
if (!isset($params["serverid"]))
$this->errors[] = _pfc("'%s' parameter is mandatory by default use '%s' value", "serverid", "md5(__FILE__)");
$this->serverid = $params["serverid"];
?>// check the serverid is really defined
改成
<?php if (!isset($params["serverid"])){
//$this->errors[] = _pfc("'%s' parameter is mandatory -- so using default: '%s' value", "serverid", "md5(__FILE__)");
$params["serverid"]= md5(__FILE__);
$this->serverid =$params["serverid"];
}
else
$this->serverid = $params["serverid"];
?>
The above is a code fragment that replaces the equivalent lines in the file. You then need to go to each content type and enable it for chat as required. I have noticed that it all works very well with IE 6 but Firefox (latest) seems to have a number of issues that need fixing e.g. excessive ajax posts from the xajax.js script ; BOLD is not working properly for chat data and a flickering logo on hover. The latter need some more investigation. In IE the results are great and many thanks to those who developed this code.
##########
http://www.micfeng.com
新聞大聯播
#########