Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author kilozwo

    (@kilozwo)

    Hello,

    you can avoid that by setting the postmeta “npn_notified” to “1”.

    Posts with this postmeta attached will never fire a mail. This postmeta is attached automatically when first publishing the post and prevents wordpress from fireing more emails if you change the post later.

    Posts published prior to plugin-activation need to get the postmeta attached manually.

    Kind regards…

    Thread Starter didr

    (@didr)

    Thank you for your explanation. But I cannot see how to do it besides I apply sql and phpmyadmin.

    Plugin Author kilozwo

    (@kilozwo)

    Make sure you display “Custom_Fields” on your Edit-Page (for posts in the backend).

    There you can add a new field. “npn_notified” should be already in the dropdown. Set the value to 1 and click add.

    Thread Starter didr

    (@didr)

    Thank you, this is a very nice and important feature.
    A wish for the future: it would be very comfotable to have a quick edition or mass edition for setting notififaction.

    Thread Starter didr

    (@didr)

    After some month I forgot this custom field and slight changes of a lot of old posts fired the notification as new ones. I suggest following additional test for mail notification in the line 62:
    … AND ( $_POST[‘original_post_status’] != ‘publish’ )
    If now some author wants to send notification mail after changing post he/she can set it to draft and then again to publish.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Delayed notification after status change’ is closed to new replies.