• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ General Support (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

Problems with params setup

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
5 posts • Page 1 of 1

Postby imp_d » Mon Jul 10, 2006 7:07 pm

Hi, I just tried to setup the page, that contains the chat and its params...

require_once "chat/src/phpfreechat.class.php"; // adjust to your own path
$params = array();
$params["serverid"] = md5(__FILE__); // calculate a unique id for this chat
//$params["refresh_delay"] = 5000; // 5000ms = 5s
$params["title"] = "Web-Base-Chat";
//$params["frozen_nick"] = true;
$params["nick"] = "wb_guest_".rand(1,100); // setup the intitial nickname
$params["channels"] = array("Base");
//$params["isadmin"] = true; // uncomment this line to give admin rights to everyones
$params["admins"] = array("pnigl" => "mypassword"); // login as toto and type /identify mypassword to get the admin rights
$params["proxys_cfg"]["censor"]["words"] = array("fuck","sex","bitch"); // this is the list of words to banish
$params["proxys_cfg"]["censor"]["replaceby"] = "*"; // this is the charactere to use when a censored word is found
$chat = new phpFreeChat($params);

For some reason i can't set the frozen_nick, because then it won't accept either a manual nor a param set user (nick). Furthermore when I logged in with an auto_nick (e.g. wb_guest_99) and I close the window, clear cookies and temp IE files... It asks for a manual nick at the next login (in a new IE-window). It never picks up the auto nick anymore, unless I clear the 'data/private' folder.

Another question... Is there a way to disable the possibillity to close tabs (remove the red x) without going into the code?

When will version 1.0 be available?

Thanks a lot... The chat has a great future and once I got into the stuff I'll be happy to contribute my help, beginning with a german lang.php for example.

imp_d
imp_d
New member
 
Posts: 2
Joined: Mon Jul 10, 2006 6:52 pm
Top

Postby mkoch » Tue Jul 11, 2006 1:38 am

I can't get nick by _GET param working either. Beta 3 seems broken. Go with beta 2.
mkoch
Member
 
Posts: 77
Joined: Tue Feb 21, 2006 5:08 pm
Location: Brussels/Denmark
  • Website
Top

Postby Tobias » Tue Jul 11, 2006 9:07 am

I have the same problems.
Tobias
New member
 
Posts: 7
Joined: Wed Mar 22, 2006 6:35 pm
Top

Postby mkoch » Thu Jul 13, 2006 1:31 am

SVN rev. 654 fixed my problems.
mkoch
Member
 
Posts: 77
Joined: Tue Feb 21, 2006 5:08 pm
Location: Brussels/Denmark
  • Website
Top

Postby neon » Thu Jul 13, 2006 6:35 pm

mkoch wrote:SVN rev. 654 fixed my problems.

Where do I find these revision numbers (which ver. I am using)? Also, where can I get this revision? Thanks!
neon
Member
 
Posts: 10
Joined: Thu Jul 13, 2006 6:33 pm
Top


Post a reply
5 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 8 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub