WordPress.org

Forums

Spectacu.la Discussion
Replying not working properly (7 posts)

  1. Lourich
    Member
    Posted 4 years ago #

    Hi, first off great plugin but I have found a problem I'm having, when replying to a post using the reply button it works fine but if you make a new comment (not replying or quoting), the comment goes under the reply of the previous made comment (indented) and does not start as a new comment, it seems it does not end the reply session when making a new comment. Hope you understand what I'm trying to get at.

    This happens in all browsers, IE, Opera, Firefox, Chrome and Safari.

    I'm wondering if had to with editing of the css to change the button colours.

    edit: I can rule out editing the css as I used the original one and it still does the problem stated above.

    http://wordpress.org/extend/plugins/spectacula-threaded-comments/

  2. Lourich
    Member
    Posted 4 years ago #

    I think I narrowed down the problem to incompatibility with another plugin, External Links.

    http://wordpress.org/extend/plugins/sem-external-links/

  3. Spectacula
    Member
    Plugin Author

    Posted 4 years ago #

    I'll take a look at that plug-in and see if I can see what's up.

  4. Lourich
    Member
    Posted 4 years ago #

    Thank you replying and checking, I disabled that External links plug-in and it works perfect now, if you have some time to figure it out it would be appreciated but if you don't I understand.

  5. Spectacula
    Member
    Plugin Author

    Posted 4 years ago #

    Okay. It seems that the "external links" plug-in kills the normal JavaScript on threaded comments, even without my plug-in in place.
    Just tried this plug-in on my dev environment with 2010 theme and just the external links plug-in. They still sort of work in the none JS way after throwing an error to the console. The problem shows itself more readily with my plug-in as there's a load more javascript for it to break and I'm doing a fair few things to avoid page reloads.

    Just done a little more digging and it seems the problem comes about as a result of the "external links" plug-in changing the quotes in the anchor tag from single quote to double. That conflicts with the double quotes that WordPress uses in the reply link's javascript effectively closing off the JavaScript before it has really finished.

    So onclick='return addComment.moveForm("comment-8", "8", "respond", "1346")' becomes onclick="return addComment.moveForm(" with the rest of the code looking like more attributes to most browsers.

    I could strip off the WordPress onclick code and use my own method with relative easy by I'd suggest you contact the author of the external links plug-in and ask them to fix it as I'd only be masking someone else's problem.

  6. Spectacula
    Member
    Plugin Author

    Posted 4 years ago #

    There is a simple fix for this. Go to External Links Settings and untick the box marked "apply globally", post and comment content will still be dealt with but it won't try and do every link on the page.

  7. Lourich
    Member
    Posted 4 years ago #

    Thanks for looking into this, I will contact them but it was more of a convenience to my users so they did not have to navigate away from the site when links were posted, I removed it until they fix it.

    Again thanks for your time and explanation.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Spectacu.la Discussion
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic