• Resolved Gabe462

    (@gabe462)


    I’m testing the plugin on a CPT, which I have enabled and set to “Automatic” in AlertMe settings.

    When I check the “send update notification” box and click “Update”, I get two notifications sent per subscribed email. Upon reload, the box is again unchecked.

    Running xdebug, I can see that the following conditional never evaluates to true, so the meta is never set.
    if ( ! isset( $_POST[‘enable_post_alertme’] ) )

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Christopher Raymond

    (@chrisbloomwp)

    Hi @gabe462,
    Is the issue that you are getting duplicate alert emails to the same email address? Thx.

    Thread Starter Gabe462

    (@gabe462)

    Alerts are not sending on post updates.

    That’s related to the fact that I can’t permanently select “send update notification”. When I click that and hit update, a notification email is sent twice. Upon reloading the editor, the box is again unchecked.

    I’ve looked at the database and see that the ‘alertme_enable_post_alertme’ meta is never set.

    Plugin Author Christopher Raymond

    (@chrisbloomwp)

    Hi @gabe462,
    The option to select the “send update notification” needs to be manually selected in order to send out the alert emails. This is to protect the subscribers from potentially getting spammed.

    With the issue of a single alert being sent twice, I haven’t seen that before. I assume you are using the latest version? Regardless I am running some tests to see if I can recreate on my end. Would you mind sharing the URL with the issue?

    Thread Starter Gabe462

    (@gabe462)

    Oh, are you saying that the “send update notification” checkbox is designed as a manual switch for sending notifications on the next post save? That would make sense as to why it never stays checked!

    I only have this on a local dev site, so I can’t share a URL.

    Plugin Author Christopher Raymond

    (@chrisbloomwp)

    Exactly @gabe462, manual selection when ready to notify subscribers.

    So ran some tests and not seeing the double email results you are. Is it possible to move the site off a local dev server and try it on a live server?

    Plugin Author Christopher Raymond

    (@chrisbloomwp)

    Hi @gabe462,
    Ran a handful of tests and didn’t experience multiple emails from a single alert update.
    Do you have multiple subscribe boxes on the same page (automatic add + shortcode)? That would be the only situation where we might see double emails triggered from single alert update. Let me know, thanks.

    Plugin Author Christopher Raymond

    (@chrisbloomwp)

    AlertMe! will work with any custom post type. Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘“send update notification” box doesn’t stay checked’ is closed to new replies.