Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author bnfw

    (@voltronik)

    Hi Jean-Philippe,
    Thanks for your message.

    Have you tried the ‘New Post Published’ notification?

    Thanks,
    Jack

    Thread Starter Jeff

    (@photoreview)

    Yes, but this only sends an email notification for a public post, not a private one.

    Thread Starter Jeff

    (@photoreview)

    I tried the ‘New Post Published’ notification setting on three different sites. Works perfectly well when post visibility is set to public but fails when post is privately published ??

    Plugin Author bnfw

    (@voltronik)

    Hi Jean-Philippe,
    Thanks – just replied to your other thread. Now closing.

    Thanks,
    Jack

    Thread Starter Jeff

    (@photoreview)

    Hi Jack,

    I opened 2 threads because it’s 2 different topics.

    My previous thread ‘Missing Post Status Transition’ is about email notification when a post visibility change from Private to Public. It can be solved with the hook I provide you.

    The current thread ‘New Private Post Published’ is about email notification when a private post is published. This thread is still not solved.

    Let me know if I can be of any help.
    Thanks,

    Jean-Philippe

    Plugin Author bnfw

    (@voltronik)

    Hi Jean-Philippe,
    Ah, I see.

    In the case of BNFW – I try to make the the post status transitions ‘invisible’ to the end user. As such, I’ll probably include private_to_publish as part of the New Post Published notification as essentially, the post is being published.

    Hope this helps.

    Thanks,
    Jack

    Thread Starter Jeff

    (@photoreview)

    Hi Jack,

    I think you didn’t understand what I meant, probably because English is not my first language, I’m sorry.

    The hook I provide you yesterday (and tested on my end) on another thread:
    add_action( 'private_to_publish' , array( $this, 'publish_post' ) );
    is for when post visibility change from Private to Public. This thread is solved.

    However, if someone wants to privately publish a post (therefore post visibility is set to Private) and be notified about this, then no email notification is sent. Am I clear enough or do you need further details?

    Jean-Philippe

    Plugin Author bnfw

    (@voltronik)

    Hi Jean-Philippe,
    Ah, yes – thank you. I understand now!

    I’ll consider adding it as a new notification type to a future version of BNFW.

    Thanks,
    Jack

    Thread Starter Jeff

    (@photoreview)

    Cool, looking forward to updating BNFW then ??
    Thank you for the great support. Have a good one!

    Plugin Author bnfw

    (@voltronik)

    No probs!
    If you liked the plugin and support, please feel free to leave an honest review.

    Thanks,
    Jack

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘New Private Post Published’ is closed to new replies.