• Resolved luc3283

    (@john5171)


    I have a custom plugin where the user submits a ‘comment style’ form. After submission, the page refreshed and showed in text on the page ‘comment held for moderation’ type of message.

    Following one of the recent updates of this plugin, this message no longer shows. Only purging the page (using admin) shows this message.

    What has changed?

    PS comments submit fine, just the visual notification does not show.

    • This topic was modified 7 years ago by luc3283.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support LiteSpeed Lisa

    (@lclarke)

    Hi, john5171

    Do you recall when this stopped working? It might be helpful to pinpoint it to a specific plugin update.

    Does this comment form have its own page, or does it show up on a post page (like the native comment form does)?

    If it has its own page, you can exclude that page from being cached. Navigate to LiteSpeed Cache > Settings > Excludes and add the path to the form in the Do Not Cache URIs box.

    If it does not have its own page, is it a widget? You can use ESI to turn the form into an uncached block. (If you are unaware of ESI, check out this blog post for a primer.)

    If it does not have its own page and it is not a widget, the plugin could be modified to turn the form into an ESI block. There’s more information on that in our wiki.

    Hope this helps!

    Plugin Support Cold Egg

    (@eric780217)

    Hi, john5171

    Do you mind to provide the Cache Commenters setting status is Enabled or Disabled from plugin?

    Thread Starter luc3283

    (@john5171)

    As you can test it here:

    https://www.ahcafr.com/semenax-reviews/

    The comment form does not have its own page, it displays a message on the same page.

    I tried Cache Commenters on and off and it doesn’t help.

    It redirects to the same URL as before, except it shows the message. So I am not sure how to find a special URL to whitelist.

    I think the problem started with version 1.6.

    Note, I am not a tech expert and cannot modify code very well.

    Thread Starter luc3283

    (@john5171)

    Any update on this?

    I wanted to add, refreshing the page using ctrl+f5 does show the message.

    Plugin Support LiteSpeed Lisa

    (@lclarke)

    Hello. Apologies for the delay.

    You say it’s a custom plugin? Do you have access to the author of the plugin? Because it seems to me that you will need to ask him or her to make some changes to it in order to make the plugin compatible.

    I would recommend making the comment form into an ESI block. This requires some coding, and you can get more information on our wiki: API Overview and ESI examples.

    Once the plugin is ESI-ready, you would simply need to enable ESI for your site. From the WordPress Dashboard, navigate to LiteSpeed Cache > Settings > ESI and set Enable ESI to ON.

    I hope this helps!

    Thread Starter luc3283

    (@john5171)

    I see… what about from your plugin’s interface. I see so many options, I am sure I can just make some exclusion to make the plugin work. But I don’t know what exactly….

    Plugin Support LiteSpeed Lisa

    (@lclarke)

    Because the comment form is an actual part of the page, in order to exclude it from cache using the built-in settings, you’d have to exclude every page that it appears on.

    Without making changes to the code, there’s no way to exclude the form by itself.

    If the comment form was a widget, you could enable ESI and exclude the widget from cache.

    If the comment form used the traditional WordPress comment hooks, it could probably be controlled with the Cache Commenters setting.

    But since neither of those things appears to be true, there’s really nothing else I can suggest, aside from contacting your plugin developer and getting them to make a few changes.

    I’m sorry I can’t be more help!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Form submission confirmation is no longer showing’ is closed to new replies.