• Resolved nevermoor

    (@nevermoor)


    Hello,

    I’m trying to set up a major site redesign using the Montezuma theme, and your plugin does nearly everything I want out of the box.

    The only issue is that after I make a new comment, it reloads the entire comment list to display the new comment. I need it to only insert the new comment without reloading the list. I loaded up debug mode but couldn’t tell if this issue is your plugin working as intended or if I have a setup issue.

    Console:

    [WP-Ajaxify-Comments] Initializing version 0.15.0 wp-ajaxify-comments.js:78
    [WP-Ajaxify-Comments] Found jQuery 1.10.2 wp-ajaxify-comments.js:78
    [WP-Ajaxify-Comments] Found jQuery blockUI 2.6 wp-ajaxify-comments.js:78
    [WP-Ajaxify-Comments] Search comment form (selector: '#commentform')... Found:
    e.fn.init[1]
     wp-ajaxify-comments.js:78
    [WP-Ajaxify-Comments] Search comments container (selector: '#comments')... Found:
    e.fn.init[1]
     wp-ajaxify-comments.js:78
    [WP-Ajaxify-Comments] Search respond container (selector: '#respond')... Found:
    e.fn.init[1]
     wp-ajaxify-comments.js:78
    [WP-Ajaxify-Comments] Search comment paging links (selector: '#comments [class^='nav-'] a')... Not found wp-ajaxify-comments.js:78
    [WP-Ajaxify-Comments] Initialization completed wp-ajaxify-comments.js:78
    [WP-Ajaxify-Comments] Comment has been posted wp-ajaxify-comments.js:78
    [WP-Ajaxify-Comments] Found comment URL 'http://freekraut.net.v3.cloudsites.gearhost.com/FK_Testing/?p=12982#comment-350058' in X-WPAC-URL header. wp-ajaxify-comments.js:78
    [WP-Ajaxify-Comments] Found unapproved state '0' in X-WPAC-UNAPPROVED wp-ajaxify-comments.js:78
    [WP-Ajaxify-Comments] Anchor '#comment-350058' extracted from comment URL 'http://freekraut.net.v3.cloudsites.gearhost.com/FK_Testing/?p=12982#comment-350058' wp-ajaxify-comments.js:78
    [WP-Ajaxify-Comments] Scroll to anchor element
    e.fn.init[1]
     (scroll sped: 500 ms)... wp-ajaxify-comments.js:78

    Website: http://freekraut.net.v3.cloudsites.gearhost.com/FK_Testing
    I can send you commenting credentials if you need / want them

    http://wordpress.org/plugins/wp-ajaxify-comments/

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter nevermoor

    (@nevermoor)

    Another symptom that might help is that the comment form behavior changes after the first comment on a page. It loses its quicktags, and my code that gets it by ID and focuses on it no longer works.

    Please send me login credentials. You can send me a private message here: http://blog.janjonas.net/contact.

    Thread Starter nevermoor

    (@nevermoor)

    Sent. Thanks!

    Everything seems to work fine. Do your problems still exist?

    Thread Starter nevermoor

    (@nevermoor)

    Yes, just tested.

    Steps to show what I m:

    1. Login at http://freekraut.net/FK_Testing/wp-login.php
    2. Notice Comment Box has short tags
    3. Make comment
    4. Page reloads entire comment list and breaks (among other things) the short tags.

    I would have expected the new comment to load into place using AJAX without changing any other objects. That’s how the (ancient) plugin I’m using on my main page works (WordPress Thread Comment). If that just isn’t how this plugin works, that’s fine. I just can’t tell.

    What are “short tags”? Are you talking about this “Up”-links?
    Do you use any 3rd party plugin to add these links? Could you please send me the name of the plugin(s) you are using?

    Thread Starter nevermoor

    (@nevermoor)

    Sorry, I mean quick links (like to make text bold, italic, etc) right above the comment box.

    They come from WordPress 3.6 (with some styling from the theme)

    Now I see your problem. I will try to find a way to enable the quicktags after the comments have been posted…
    Maybe a stupid question: Where do I enable these default WordPress 3.6 quicktags? Are they also included in the default WordPress themes like “twenty thirteen”?

    Thread Starter nevermoor

    (@nevermoor)

    I guess that’s my question. If your plugin forces a reload of the entire comment section after posting, then fixing that specific issue won’t be a complete solution for me and I’ll need to find something else.

    That’s just a symptom of reloading the comment section rather than using AJAX to load in the newly posted comment. I need to find a way to do the latter.

    I have the same issue with the quick tags not loading after a new comment is posted. I use the great and simple MarcTV Quicktags plugin which passes the admin area code editor quick tags to the comment form.

    Hi nevermoor,

    Sorry for my late reply. The following settings should fix your problem:

    ‘OnAfterUpdateComments’ callback:
    quicktags(QTags.instances[0].settings);QTags._buttonsInit();

    @mr Press: If this does not solve your problem, please open another support thread.

    Best regards,
    Jan

    Thread Starter nevermoor

    (@nevermoor)

    Worked like a charm.

    Really appreciate all your work on this!

    Thanks for your feedback.

    Please think about supporting the plugin by making a small donation (http://blog.janjonas.net/donate) or write a short review (http://wordpress.org/support/view/plugin-reviews/wp-ajaxify-comments#postform).

    Thanks in advance,
    Jan

    I apologize for my late reply. Your callback for the quicktags indeed solves the problem. Many thanks!

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Reloading entire comment list after new comment’ is closed to new replies.