• 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

clear chat for new users

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

Post a reply
4 posts • Page 1 of 1

Postby joshw » Sun Jun 24, 2007 7:22 pm

hi

$params["max_msg"] = 0; is not working for me. I need a new user to see a blank chat area. here is my code


require_once dirname(__FILE__)."/src/phpfreechat.class.php";
$params = array();
$params["nick"] = "";
$params["isadmin"] = true; // just for debug ;)
$params["serverid"] = md5(__FILE__); // calculate a unique id for this chat
$params["max_msg"] = 0;
//$params["debug"] = true;
$chat = new phpFreeChat( $params );

here's the url

http://www.abilityunleashed.com/abilitychat/
Last edited by joshw on Sun Jun 24, 2007 9:56 pm, edited 1 time in total.
joshw
New member
 
Posts: 9
Joined: Sun Jun 03, 2007 3:46 pm
Top

Postby phpfreechat » Sun Jun 24, 2007 10:06 pm

You need to run /rehash to take into account new parameters.
I did it.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby joshw » Mon Jun 25, 2007 12:49 pm

sorry, /rehash ?
joshw
New member
 
Posts: 9
Joined: Sun Jun 03, 2007 3:46 pm
Top

Postby joshw » Mon Jun 25, 2007 12:54 pm

thanks! i got it
joshw
New member
 
Posts: 9
Joined: Sun Jun 03, 2007 3:46 pm
Top


Post a reply
4 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 6 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