WordPress.org

Ready to get started?Download WordPress

Forums

AJAX, comments, but not the current plugins (3 posts)

  1. stonegauge
    Member
    Posted 6 years ago #

    Off and on since 2006 I have used the plugins labeled for AJAX Comments without getting the results I want... NOt so much because comments weren't always posting with AJAX (sometimes they worked, sometime sthey didn't, but that is another story)... But I was hoping to emulate what I had seen on a customized comment layout I had been witness to on http://www.dailykos.com (a Scoop blog community and heavily political). When you make a comment, it was driven by AJAX and instantaneous (like the current plugins) but you also saw new comments by other users in a similar instantaneous fashion without the need for refreshing.

    I tested out AJAX Comment Posting by Regula this afternoon in hopes this would be what I was looking for, but it doesn't seem to be. I would post using one browser and watch on another to see if my comment would pop up without having to refresh the browser, that wasn't the case.

    So, question - am I doing something wrong? If not, would this type of modification to the AJAX comment plugins (I use plural because there are several) be possible?

  2. Adam Brown
    Member
    Posted 6 years ago #

    If not, would this type of modification to the AJAX comment plugins (I use plural because there are several) be possible?

    Anything's possible with time and effort. it doesn't even need to be a modification--it could be a completely new plugin.

    All it needs to do is us JS to send a query to the server every couple of minutes to see whether there are new comments. If so, update the page.

    Before you invest a few hours coding this, though, ask yourself whether it's really worthwhile. dailykos is one of the most read (and commented) blogs out there. Unless you're getting lots of comments posted every minute, it's probably not worth writing a plugin like this.

  3. stonegauge
    Member
    Posted 6 years ago #

    I couldn't code it if I tried :)

    You are correct, it's not really a need and it adds more server queries as it stands in certain solutions. This would truly only be a novelty in the end.

Topic Closed

This topic has been closed to new replies.

About this Topic