• 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

Clearing chat, not just client screen area

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

Post a reply
5 posts • Page 1 of 1

Postby roschler » Tue Oct 24, 2006 7:17 pm

Hello,

I know I can use /clear to clear the chat window of messages. But new users logging on will still see the old chat messages that I assume are stored in the message file. Is there a way to clean out the messages for a chat room so all new users see a fresh screen? Hopefully in a way that does not require clearing out the history log file?

Thanks.
roschler
Member
 
Posts: 23
Joined: Thu Oct 19, 2006 6:44 pm
Top

Postby phpfreechat » Tue Oct 24, 2006 7:24 pm

use this parameters :
$params["max_msg"] = 0;
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby roschler » Tue Oct 24, 2006 10:13 pm

kerphi,

Will that affect the messages being stored on disk?


BTW, what is the logic for the chat logs. Do they keep getting appended forever? Are they reset at the end of the day and archived, or just reset? Which file should I look at to see what's happening?

Thanks.
roschler
Member
 
Posts: 23
Joined: Thu Oct 19, 2006 6:44 pm
Top

Postby phpfreechat » Wed Oct 25, 2006 8:56 am

It will just affect the message history length: the messages users see when they connect at first time or when they reload.

The chat logs are stored by the log proxy. And are never cleared.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby roschler » Wed Oct 25, 2006 2:04 pm

Ok thanks!
roschler
Member
 
Posts: 23
Joined: Thu Oct 19, 2006 6:44 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 22 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