Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Ronald Huereca

    (@ronalfy)

    There’s not much I can do to be compatible with Ajax scripts and such, but I have included a global scope callback function which can be called when the Ajax call has finished.

    It’s what I added to make the plugin semi-compatible with WP Ajaxify Comments, which includes a callback mechanism when the Ajax’d comment has finished loading.

    SCE_comments_updated

    https://github.com/ronalfy/simple-comment-editing/blob/master/js/simple-comment-editing.js#L207

    Hey Dan,

    Ronald has it right – Epoch is a strange and complicated beast. If you wanted to edit comments with it we would have to build that feature directly into the plugin. I don’t think that is going to happen any time soon.

    Both wpdiscuz as well as de:comments are fully native ajax comment solutions that do support editing.

    Best,
    Jason

    Thread Starter Dan Knauss

    (@dpknauss)

    Does de:comments work with Postmatic?

    Plugin Author Ronald Huereca

    (@ronalfy)

    We’re getting pretty close to this working.

    Marking as resolved. Assuming the pull request is approved, please open a new thread for any integration issues.

    https://github.com/postmatic/epoch/pull/64

    Thread Starter Dan Knauss

    (@dpknauss)

    Does the editing option only appear and the countdown start only once a comment has been published?

    Plugin Author Ronald Huereca

    (@ronalfy)

    Correct.

    You can try it out here. http://www.ronalfy.com/epoch-test/

    This won’t be functional until the postmatic team approves my changes, probably Epoch 1.1 from what it sounds like.

    Thread Starter Dan Knauss

    (@dpknauss)

    Nice! There’s a slight lag between the comment appearing and the edit link appearing after that, but it works great.

    Great to see you all working together. πŸ™‚

    Plugin Author Ronald Huereca

    (@ronalfy)

    Probably just my server. It’s super slow on Ajax calls for some reason.

    There’s several Ajax calls that take place.

    1. Epoch loads comments.
    2. User posts new comment
    3. Epoch broadcasts new comment event
    4. SCE captures event, sends Ajax call to set temporary editing cookie
    5. SCE gets new comment, passes to Epoch to format it and post it.
    6. SCE timer loads.

    Then you see the editing box πŸ˜€

    Plugin Author Ronald Huereca

    (@ronalfy)

    Not sure if you’ve been following, but Epoch+SCE integration is real now πŸ™‚

    Thread Starter Dan Knauss

    (@dpknauss)

    I saw it! πŸ™‚

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Does not work with Epoch’ is closed to new replies.