Ronald Huereca is part developer, part mammal. And he only comes out at night. View the author's website.
 

Ajax Edit Comments 1.1.0.8 Release Candidate

It was bug-fix weekend for me this weekend. A few long-standing bugs in Ajax Edit Comments have “hopefully” (crossing fingers) been resolved. A very special thanks to Louis and Mo for letting me have access to their blogs and testing in an environment that would have been very difficult for me to duplicate.

Since a good chunk of code has changed, I want to just put out a release candidate for now for those wishing to try the plugin on their blog.

The following issues were addressed this weekend.

  1. Admin were able to edit, but non-admin couldn’t. This was caused by the timer offset in the WordPress admin panel. This issue was fixed in the release candidate.
  2. MySQL errors resulted in the comment unable to save. This was caused my blogs and MySQL database not in UTF-8. This issue was fixed in the release candidate.
  3. Some characters were being screwed up when saving to the WordPress database. This issue was caused by non-UTF-8 back-ends. This issue was fixed in the release candidate.
  4. The blog would be inoperable in Internet Explorer due to multiple session headings being called. This issue was fixed in the release candidate.

For those who have previous issues with any four of those issues, please re-install and see if your issue is resolved. If all is well, I’ll release this thing officially. I’ve also updated the PO files for any translators wishing to translate the plugin. Every part of the plugin should now be able to be translated.

Thanks again for everyone’s help in making this a better plugin.

Read the Discussion (21 Responses)

  • David says...

    http://dmay.net/blog

    My Backend is in utf-8, but it still doesn’t work.
    In the previous version, changing “the_editor” into “the_title” in line 405 helped solving problem 3. so I will stick with 1.1.0.6, with this change everything’s just working fine there.

  • Matt says...

    http://www.skyminds.net/

    Thank you Ronald, I’ll have a go at it tomorrow and keep you posted ! :)

  • Post Author

    Ronald Huereca says...

    http://www.ronalfy.com

    David,

    I’ll see about changing that and see if it works on my local install. That’s good to know.

  • Post Author

    Ronald Huereca says...

    http://www.ronalfy.com

    David,

    I released a development version using your code changes. If you have a moment, could you try it out and see if it resolves issue #3?

    Thanks,

    Ronald

  • Louis says...

    http://uhec.net
  • Jeffro2pt0 says...

    http://www.jeffro2pt0.com

    Hello Ronald, first off, thanks for this great plugin, I mentioned it here http://www.jeffro2pt0.com/digg-like-comment-editor-for-wordpress/ secondly, the only real problem I have with this plugin is that when I want to click on a link or email address that has been posted by one of my readers, I can never really click on the links, as instead the editing window comes on.

    I have since worked around this issue by right clicking on the link and selecting OPEN IN NEW WINDOW but I was wondering if there would be a way for me to either turn the admin comment editor off via a tab or button so that I can click on links without editing them? Perhaps there could be a way to allow users to edit their links, but turn the live editing off for admins.

    Other than this quirky issue, everything else seems to be running fine. I wish every wordpress blog had at least some sort of (EDIT COMMENT) feature.

  • Post Author

    Ronald Huereca says...

    http://www.ronalfy.com

    Jeff,

    There is a way. Go to the Users panel and Ajax Edit Comments. From there you can customize how you see the edit comments.

  • mo says...

    http://pictor.us/

    Yes!

    i am very glad i was able to help, and even more happy that the major bugs have been wiped out. an RC release, splendid !

  • David says...

    http://dmay.net/blog

    Hi Ronald, I’m sorry, your version still doesn’t work for me. All Umlauts were transformed into question marks.
    I think there is something wrong in my Database, but I don’t find it. The tables are all in utf-8, should work - but doesn’t.
    I tested it local on my computer and it worked, but not on my webserver.

  • Post Author

    Ronald Huereca says...

    http://www.ronalfy.com

    David,

    What’s your charset under WordPress? Options->Reading. Is it UTF-8 or something else?

  • David says...

    http://dmay.net/blog
  • David says...

    http://dmay.net/blog

    Hm, installed a new Wordpress on my server with the new AJAX-Edit Version and it works. Now I have to find the reason. ^^

  • Post Author

    Ronald Huereca says...

    http://www.ronalfy.com

    David,

    Very interesting. One question though. Did you use the 1.1.0.8 RC, or the development version that I linked to in the above comment? I need to know if/when I release the official version.

    Thanks.

  • mo says...

    http://pictor.us/

    Jeff, I thought I’d just mention that I’ve been able to right click > open in new tab the links. :)

  • Matt says...

    http://www.skyminds.net/

    Using 1.1.0.8 RC for a few days, issue #4 is definitely solved :)

    One thing though : I get a lot of “Load Comment Failed!” when clicking on a comment to edit. This seems to happen randomly, both in the admin panel or on the blog posts.

  • Post Author

    Ronald Huereca says...

    http://www.ronalfy.com

    Hey Matt,

    I also get the same problem every now and then. I’ll try increasing the timeout on the load and see if that fixes it.

  • Jeffro2pt0 says...

    http://www.jeffro2pt0.com

    Thanks Mo. Ronald actually emailed me some suggestions. I didn’t know that this plugin had two different option panels in the administration area. Apparently, if you go into the USERS area of the WordPress Admin area, there is another Ajax Edit plugin OPTIONS TAB which actually provided the options I needed.

  • Post Author

    Ronald Huereca says...

    http://www.ronalfy.com

    Thanks Jeff. Looks like I need to make it more clear in the read me file. Perhaps I should also do a video demo of the admin panels.

    I found another issue before I can release the version. The authors (editing the authors) are having the same character issues as the comments were, so I’ll need to resolve that too.

  • Jeffro2pt0 says...

    http://www.jeffro2pt0.com

    I suppose you could do that, or combine the two different areas into one panel.

  • Post Author

    Ronald Huereca says...

    http://www.ronalfy.com

    I can’t combine the two areas unfortunately. One is for overall site-wide access. The other panel is necessary for blogs that have multi-admin (such as this one) where one admin might want some options, while another might not.

  • David says...

    http://dmay.net/blog

    Hi Ronald, tested both Versions ( 1.1.0.8 and the RC) on a new Worpress Installation and it both worked. I used the German Wordpress Installation, the new Version seem to set up the Database differently than the previous did.

Join the Discussion