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

Clearing the chat box between visits...

This forum is now locked as we will no longer be developing the v1.x branch

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

Topic locked
8 posts • Page 1 of 1

Postby sdowell » Sat Mar 18, 2006 4:08 am

Is it possible to have the chat box clear between visits. I'd just prefer not going into the chat and seeing left overs from the last chat.

A suggestion would be... If someone is the first one into the chat, then the program automatically clears the buffer from the previous chat session, and displays a clean chat area.

Thanks for making this program available. It's a very nice addition to the forum that I run.

~Steve
sdowell
New member
 
Posts: 5
Joined: Sat Mar 18, 2006 4:02 am
Top

Postby phpfreechat » Sat Mar 18, 2006 11:02 am

It's allready possible, use this parameters :
Code: Select all
$params["max_msg"] = 0;
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby sdowell » Sat Mar 18, 2006 9:17 pm

Hmmm.. That doesn't seem to work.
I tried putting it in the @params list, and also as an item in the $params = array. I'm still seeing a screen full of history when I log into the chat.
I also tried clearing my browser cache. Still see history.

Any suggestions?

~Steve
Last edited by sdowell on Sat Mar 18, 2006 9:29 pm, edited 1 time in total.
sdowell
New member
 
Posts: 5
Joined: Sat Mar 18, 2006 4:02 am
Top

Postby sdowell » Sun Mar 19, 2006 6:18 am

Follow up... When I completely closed my browser, and started a fresh seesion, the history cleared out of the screen. So it does work.
However, I don't typically close out my browser. It's usually always up. So practically speaking, I still see the last history in the chat pane.

I still think it would be a good idea to hard code this functionality into the program... If a user is the first to come into a chat, then the chat pane automatically clears (regardless of whether the browser session was restarted).

At any rate, thanks for hearing my suggestion, and having a quick reply.

~Steve
sdowell
New member
 
Posts: 5
Joined: Sat Mar 18, 2006 4:02 am
Top

Postby phpfreechat » Sun Mar 19, 2006 10:53 am

1. Closing the browser just killed the cached chat parameters from the sessions.

2. When the window is open, why and when do youwant the message to be cleared ?
Currently, with the max_msg=0, the new connected peoples will not see older messages than their connection date. Isn't it the wanted behaviour ?
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby sdowell » Mon Mar 20, 2006 4:12 am

kerphi wrote:Currently, with the max_msg=0, the new connected peoples will not see older messages than their connection date. Isn't it the wanted behaviour ?

Hmmm... Is it by connection date? Maybe that explains why I'm still seeing previous messages even though my $max_msg is set to zero.

I wouldn't expect that someone coming into a chat session should ever see any previous messages at all (even if they had connected earlier that day).

The reason I'm harping on this is because if two people from my forum were having a private conversation on the chat, it just wouldn't be proper for another person to come into the chat and see what the first two had just been discussing. I think that new person coming in should be presented with a blank chat area (even if he might have been in the chat earlier in the day.)

This is the way IRC clients work. If I join a room on IRC, I don't see any previous discussion. I only see discussion from the time I come in. And if I log out of the room and come back in a few minutes later, it's the same. I only see the discussion from the new time I come in.

Sorry. I feel like I'm being a nudge about this. I really do like your chat program, and appreciate the effort you've put into it.

Thanks again,

~Steve
sdowell
New member
 
Posts: 5
Joined: Sat Mar 18, 2006 4:02 am
Top

Postby phpfreechat » Mon Mar 20, 2006 8:41 am

To be short : Setting max_msg to 0 should behave like on IRC.
Maybe there is a bug ? Could you give me the public url of your chat ?

Moreover, if you want your chatter can do "real" private message, just wait for the 1.0 release.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby sdowell » Tue Mar 21, 2006 4:14 am

It does seem to be working now. Don't know what the issue was before. I haven't changed anything since yesterday.

Thanks,
Steve
sdowell
New member
 
Posts: 5
Joined: Sat Mar 18, 2006 4:02 am
Top


Topic locked
8 posts • Page 1 of 1

Return to Feature Requests (v1.x)

Who is online

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