I just discovered one thing.
I emptyed the /data/private/chat directory. Flushed cash in browser. Started from scratch. The chat seemed to work fine and my messages.data, messages.index and nicknames folder were stored in the "root" (/data/private/chat).
BUT, after a while, not doing anything, just beeing idle on the chat (some other users came too) but these 2 files and the nicknames directory moved to the "mychat" folder !! .. like I have started an other channel !
Anyway, here is my config file, please take a look:
- Code: Select all
<?php
require_once dirname(__FILE__)."/chat/src/phpfreechatconfig.class.php";
$params["serverid"] = md5(__FILE__); // calculate a unique id for this chat
$params["language"] = "ba_BA";
$params["theme"] = "bihinternet";
$ip = $_SERVER['REMOTE_ADDR'];
$params["nick"] = $ip;
$params["prefix"] = "myprefix_";
$params["frozen_nick"] = false; // do not allow to change the nickname
$params["shownotice"] = 1; // 0 = nothing, 1 = just nickname changes, 2 = 1+connect/quit
$params["max_nick_len"] = 20; // nickname length could not be longer than 10 caracteres
$params["max_text_len"] = 200; // a message cannot be longer than 50 caracteres
$params["refresh_delay"] = 5000; // chat refresh speed is 10 secondes (10000ms)
$params["timeout"] = 60000;
$params["max_msg"] = 13; // max message in the history is 15 (message seen when reloading the chat)
$params["height"] = "230px"; // height of chat area is 230px
$params["width"] = "775px"; // width of chat area is 800px
$params["debug"] = false; // activate debug console
$params["debugxajax"] = false; // activate xajax debug (js popup)
$params["connect_at_startup"] = true;
$params["start_minimized"] = false;
$params["nickmarker"] = true;
$params["clock"] = false;
$params["openlinknewwindow"] = true;
$params["btn_sh_whosonline"] = false;
$params["btn_sh_smileys"] = false;
// setup urls
$params["data_public_url"] = "/chat/data/public";
$params["client_script_url"] = "./index.php";
$params["server_script_url"] = "./chat_server.php";
$params["themeurl"] = "chat/themes";
$params["themeurl_default"] = "chat/themes";
// setup paths
$params["container_type"] = "File";
$params["container_cfg_chat_dir"] = dirname(__FILE__)."/chat/data/private/chat";
$params["server_script_path"] = dirname(__FILE__)."/chat_server.php";
?>
---
Maybe there was some "old" users that came back to my site so the mychat directory/channel was created becase they had that in their browser cashe ? (hope you understand what I'm trying to say .. it's to late for this :p)
/Eminos