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
Does de:comments work with Postmatic?
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
Does the editing option only appear and the countdown start only once a comment has been published?
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.
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. π
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 π
Not sure if you’ve been following, but Epoch+SCE integration is real now π