Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 23:00 19 Apr 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Site News : Chat

Author Message
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5012
Posted: 11:52am 23 Dec 2014
Copy link to clipboard 
Print this post

Made some changes to the Chat function of the forum. It now plays a "Pop" noise when a new message comes through, so you can leave it running in the background and keep an ear out for the Pops.

Also fixed a few bugs, and improved the way it tracks who is online. The client side poles the server every 3 seconds to see if there is any new messages, and the server updates that users time stamp. If the user hasn't polled the server in over 10 seconds, it assumes the user has left and drops them from the list. There is also a bit of code that drops the user from the list when they close the chat window, but this doesn't always fire, depends on the browser. This online user tracking is still a bit flakey, sometimes it will think someone is online even if they left hours ago.

Glenn
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024