Php free chat is AWESOME, but the one issue i see a lot struggle with is the timeout issue, where users time out for no apparent reason..
Been trying my hacks for avoiding that, since its so annoying for the users..
I changed the chat startup in chat.js.tpl.php to this :
Event.observe(window, 'load', function() {
pfc = new pfcClient();
if (pfc_isready) {
pfc.loadChat(pfc_theme);
setInterval(pfc.sendRequest('/update'), 5000);
}
});
And that seems to make the timeout issue gone for all ..
(basically what it does is send a "hidden" command every 5 sec to keep user connected and live in chat)
PLEASE DO NOT ADD THIS BEFORE A COMMENT FROM ONE OF THE PHP FREE CHAT DEVELOPERS OR MODERATORS
I do NOT know if its a bad idea, or too heavy on servers etc..
But at least it works (for me).. and wanted to share it in case it also fixes it for others...