Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter newpixel

    (@newpixel)

    I fixed the problem, but I had to make a change in the plugin code. If anyone is interested, let me know.

    Hey – I’d love to know the change you made, I’m having issues as well (though it may be a theme conflict).

    Thread Starter newpixel

    (@newpixel)

    Hi Daniel

    The change is in the php file itself (quick-chat.php). Basically it blocks for about 20 seconds waiting for new messages, but this turns out to be unnecessary.

    Inside the function update_messages_ajax_handler()

    Replace this code:

    while((time()-$startTime)<=20){

    With just an open brace:
    {

    If you aren’t able to edit the file I can send you mine. Does this forum have private messages?

    Hey Newpixel –

    Thanks a lot, so far that simple change has worked. The only thing I could see was that somehow that code was getting interference from my theme (changing themes also fixed problem). I hope the code fix doesn’t break something else later :).

    Not sure on the PMs, but I’ll check back here now and again to see if you notice any long-term effects of the change/it beings to lag up again.

    thanks new pixel i cam here for a answer to that and that worked!

    anyone no how to get ride of the little pull up bar that shows up on the bottom of your site i don’t need that.

    natbakinfo

    (@natbakinfo)

    Any idea how to get rid of date and time?
    Thanks

    Thanks, Newpixel! This worked for me as well. Now it refreshes as fast as a regular chat.

    Sassyfrass475 can you send me the modified file ? ?? i can’t seem to make it post without a delay.

    Sorry for the late reply, Lordwarz… I don’t know how to send files on here. But I can tell you how I did it, following Newpixel’s advice.

    The following code is on line 584 of the quick-chat.php file:

    while((time()-$startTime)<=20){

    I changed that line to this:

    {

    That’s it, nothing else. Just change that whole line 584 from

    while((time()-$startTime)<=20){

    to

    {

    Then save the new change and upload it in place of the old file. And that’s it!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Messages take awhile to appear’ is closed to new replies.