Support » Plugin: Better Notifications for WordPress » CPT pending review email not triggered

  • Resolved ooksanen

    (@ooksanen)


    Possibly something wrong with new_to_pending post status transition? Same trigger on same site worked instantly with another notification plugin.

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

    (@voltronik)

    Hi @ooksanen,
    Thanks for your message.

    I haven’t experienced any issues in my tested recently.
    Can you clarify if you’re using the Classic Editor or the new Block Editor and if you’re using a custom post type?

    ooksanen

    (@ooksanen)

    Hi @voltronik,

    I’m using classic editor and a custom post type (with custom capabilities if that makes any difference).

    The problem seems to affect at least a user group with very limited rights. In fact, they can basically only save a draft or send this CPT in question for review and not do anything else. Also with such limited rights, there is no real “Send for review” button, but the Publish button actually sends the post for review so that might also be one culprit.

    But, as I mentioned, this functionality works out-of-the-box in another notifications plugin so I suspect there’s something funny going on in BNFW.

    Plugin Author bnfw

    (@voltronik)

    Hi @ooksanen,
    So it sounds like this custom functionality is causing an issue.
    As BNFW follows WordPress coding standards, it relies on things being similarly coded. Other plugins are less fussy about this but I alway found them unreliable or inconsistent, hence the birth of BNFW.

    I would investigate this custom functionality and see if you can find another way to achieve the same thing. It may be possible to do this using an ACF front-end form, for example, and I have some info about that on the BNFW site here: https://betternotificationsforwp.com/documentation/how-to-trigger-a-notification-from-an-acf-front-end-form/

    Let me know if this helps.

    ooksanen

    (@ooksanen)

    Hi,

    There is no custom functionality, everything is done with core WP functionality like

    Everything coded (as plugins) following WP coding standards. The posts are saved 100% WP way, from backend and without ACF, with a status “pending”. BNFW just won’t see them, whereas for example Notification (https://wordpress.org/plugins/notification/) does.

    Plugin Author bnfw

    (@voltronik)

    Hi @ooksanen,
    Ok, so to clarify: users with only the ability to save a custom post type as a draft are not triggering the Pending notification – is that correct?

    @voltronik Users are able to save as drafts and send for review.

    I have a custom post type (let’s call it “example”) setup with custom meta capabilities, such as edit_examples, publish_examples, delete_others_examples etc. and I’ve denied all capabilities except for edit_examples and delete_examples from a custom user group so that they can only create new examples, send them for review and delete their own examples. Capabilities are managed with Members plugin (https://fi.wordpress.org/plugins/members/).

    When a user saves their example post, the post goes to DB correctly with a status “pending” but no notification is sent.

    • This reply was modified 4 months, 3 weeks ago by  ooksanen.
    Plugin Author bnfw

    (@voltronik)

    Hi @ooksanen,
    Ok, thanks. I think I understand now.

    Have you tried enabling the ‘bnfw’ capability for this user role and re-testing? You may wish to check their view of the Dashboard in case it enables the ‘Notifications’ menu in the Admin bar.

    Plugin Author bnfw

    (@voltronik)

    Closing due to inactivity. If you need further help with this, please feel free to re-open this thread.

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.