Forums

P2 Comment Reply (11 posts)

  1. ekborg
    Member
    Posted 2 years ago #

    After installing P2 theme....which I absolutely love now, I have never been able to get the Threaded-Reply to work. A user can only click on "reply" at the top of a post. But clicking on "reply" on an individual comment, does not work. Nothing happens.

    Here is what the link is trying to do...(i placed an example url in place of my sites.)

    <a rel="nofollow" class="comment-reply-link" href="http://example.com/postid#respond" onclick="return addComment.moveForm(&quot;comment-9353&quot;, &quot;9353&quot;, &quot;respond&quot;, &quot;3031&quot;)">Reply</a>

  2. ekborg
    Member
    Posted 2 years ago #

    Here is the code for the "reply" button at the top of each post:

    <a rel="nofollow" class="comment-reply-link" href="http://example.com/postid#respond" onclick="return addComment.moveForm(&quot;prologue-3083&quot;, &quot;0&quot;, &quot;respond&quot;, &quot;3083&quot;)">Reply</a>

    Here is the same post with a reply on individual comments:

    <a rel="nofollow" class="comment-reply-link" href="http://example.com/postid#respond" onclick="return addComment.moveForm(&quot;comment-9356&quot;, &quot;9356&quot;, &quot;respond&quot;, &quot;3083&quot;)">Reply</a>

  3. ekborg
    Member
    Posted 2 years ago #

    Looks like the main difference is "prologue" vs "comment" in the onClick=function.

  4. ekborg
    Member
    Posted 2 years ago #

    Is no one having this same issue?

  5. ekborg
    Member
    Posted 2 years ago #

    Is there really, nobody having this same issue, or can direct me in a better place to find answers?

  6. valuser
    Member
    Posted 2 years ago #

    But clicking on "reply" on an individual comment, does not work.

    Clicking on "reply" on an individual comment appears to work in p2 v1.2.2.

    Other than that I can't really help.

  7. Lance Willett
    Theme Wrangler
    Posted 2 years ago #

    If you are using the latest version of P2 and the latest stable version of WordPress the comment reply functionality should work out of the box.

    If you load your site in Firebug with Console enabled do you get any JS errors? My guess is a plugin is interfering with the theme JS or something like that. As with all WP debugging it's a good idea to disable plugins and make sure you don't have P2 modifications.

  8. ekborg
    Member
    Posted 2 years ago #

    Thank you for the response guys. I have deactivated all plugins and re-installed P2 and still have problems. I opened up Firebug console and get zero errors when loading site. Its almost as if, it just times out.

    Im at a loss here, because I am usually pretty good and troubleshooting. And to have the reply button work at the top of the post, but not on individual comments, is strange. I have tested this on all major browsers and OS's.

  9. Lance Willett
    Theme Wrangler
    Posted 2 years ago #

    In your WP general settings, under Discussion, what's your setting for "Enable threaded (nested) comments"?

  10. ekborg
    Member
    Posted 2 years ago #

    Enabled (nested) comments up to 10 levels deep—is check marked yes.

    Note Lance, I just had a few users try nesting and hitting reply. This seems to be a very random issue. I posted, then replied to my own in a nested fashion, but once I reloaded the page, I could no longer reply anywhere in that thread. Then another user was able to reply on one thread, but no others.

    He was on a PC and Firefox, I am on a Mac and Safari. The only thing that is the same is the randomness.

    So strange. I was hoping to get this fixed, but being such a strange random issue, I know its not easy to replicate and figure out.

    Thanks for your help though Lance.

    Regards,

    Greg

  11. ekborg
    Member
    Posted 2 years ago #

    Btw...my site, if you would like to see the randomness is my personal family blog so ignore the content, if you will, lol...but the top most post is where I was testing.

    Ekborg.net

Topic Closed

This topic has been closed to new replies.

About this Topic