• Hello,

    I first want to say this is such a great plugin. Much appreciate the work that goes into this ??

    I just have a quick question. Is there a way to have the “wpdiscuz-ajax.php” be used for when posting the comment as well? I see it uses that when doing other AJAX things like clicking “load comments” if they are behind the button (for example) when “Use native WordPress AJAX” is disabled but I notice that when posting the comment it uses the “admin-ajax.php” file even if that setting is disabled.

    Reason I ask is because for some reason I am getting a 500 error on the admin-ajax.php file when I try to post a comment. Other parts of my site work fine using the admin-ajax.php file (I see it show 200 in dev-tools and no console errors) but for commenting it seems to throw a 500. I installed a fresh wordpress and it works fine so I know it’s probably some conflict with my plugins or something. But I’m hoping maybe there is a way to just skip the admin-ajax.php file altogether?

    Thank you in advance!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support gVectors Support

    (@gvectorssupport)

    Please check and let us know if the “Use WordPress native AJAX functions” option is enabled or not? It’s located in the Dashboard > wpDiscuz > Settings > General Settings tab.

    Please check out more info about the option here: https://wpdiscuz.com/docs/wpdiscuz-7/plugin-settings/general-settings/#use-wordpress-native-ajax-functions

    Thread Starter CMProduct

    (@ddapparel)

    Hello @gvectorssupport thank you for your reply.

    Maybe I shouldn’t have made it as long, or I should have put a TL;DR section.

    Yes “Use WordPress native AJAX functions” is disabled.

    Is there a way to have the “wpdiscuz-ajax.php” be used for when posting the comment instead of admin-ajax.php?

    Thank you

    Plugin Support gVectors Support

    (@gvectorssupport)

    Seems there is a plugin/theme conflict on your website.

    Please deactivate the plugins/theme one by one and check after each deactivation to find the problem maker.

    Keep the cache plugin (if you have) deactivated during this testing process.

    Don’t forget to press Ctrl+F5(twice) on the frontend each time before checking.

    Please keep us informed.

    Thread Starter CMProduct

    (@ddapparel)

    Is there a way to have the “wpdiscuz-ajax.php” be used for when posting the comment instead of admin-ajax.php?

    Plugin Support gVectors Support

    (@gvectorssupport)

    The wpDiscuz uses the admin-ajax.php when posting the comment as there are some media uploading functions that are using the admin-ajax.php. So currently we cannot change the working logic.

    If you have any conflict with the admin-ajax.php, you should find a problem maker by deactivating the plugins/theme.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Use wpdiscuz-ajax for posting comment?’ is closed to new replies.