• Trying to put together the ability to use ajax to query for new comments on a post every 10 seconds, then display any new comments made while the page is being viewed, without a refresh.

    I’m getting stuck within the comments code that I don’t get fully … anyone interested in developing this further?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter doranpalmer

    (@doranpalmer)

    I’ve got everything working as it should with ajax, loading the page and calling directly to comments.php or the comments_template function, but while both grab the comments again, neither updates the comments with a new query even though both methods starts with a db query.

    That’s where I’m stuck, any ideas?

    I’m looking for a similar solution.

    Due to bandwidth constraints, I don;t want visitors to have to refresh each time they want to see new posts. To give you an idea of the problem, if you go to the celticquicknews site, you’ll see that there can be upto 800 ‘comments’ per day on each article, and with people refreshing everytime as the total posts gets longer, it just eats up bandwidth.

    I like the way Disqus updates your own comments immediately, so I’d be looking for something like that, except everyones comments should appear immediately (and without the refresh).

    I’m thinking maybe some kind of RSS solution would be required, but displaying on the main site.

    or maybe one of the vertical comment scrollers customized to full screen.

    Can anyone point me in the right direction?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fully live Ajax comments’ is closed to new replies.