• Resolved emmanuel33

    (@emmanuel33)


    Hi,

    I’m currently experiencing an issue with your plugin.
    My comment form is working with ajax in order not to refresh the page when the user is posting.

    The problem is that your plugin returns me “Wrong usage of print_flagging_link().” when I’m calling comment_reply_link.

    As a workaround I saw in your code I could use this to manually call the report link :

    define('no_autostart_safe_report_comments', true);
    $zeno_report_comments = new Zeno_Report_Comments(false);

    But unfortunately, this isn’t working.

    Do you have any solution ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter emmanuel33

    (@emmanuel33)

    Furthermore, I just noticed, none of the translation contained inside the __construct (“esc_html__”) are working. (translated with Loco Translate).

    Plugin Author Marcel Pol

    (@mpol)

    Hi, I suspect the global for $in_comment_loop is not set to true.
    Do you use a certain theme or plugin for ajax comments? That way I can test with that.

    Plugin Author Marcel Pol

    (@mpol)

    Hi,
    In my test setup the filters for those text strings do work. With real functions, also with anonymous functions. I am using Twenty Sixteen to test.
    It might be that something in your theme does not work right. Which theme do you use?

    Thread Starter emmanuel33

    (@emmanuel33)

    Hi Marcel, thanks for your answer, I found a workaround since I posted the ticket.

    Sorry for not responding to your question, I had a ton of work so pretty much forgot to check the ticket.

    Anyway, fyi I was using Sage 9 starter theme.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin not working with ajax comments’ is closed to new replies.