• Resolved odonnry

    (@odonnry)


    Hello,

    I am looking to trigger a notification to all registered users when a new document is uploaded or existing document is updated. The uploads would only come from admins and not user generated. I am using WP Download Manager to handle the documents internally. How can I go about triggering a notification when these action takes place?

    Thanks

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

    (@voltronik)

    Hi @odonnry,
    Thanks for your message.

    Providing that the custom post type in the WP Download Manager plugin is set to ‘public’ then you should be able to see notifications for it in the ‘Notification Type’ dropdown in BNFW.
    If it isn’t set to public, you may be able to use the register_post_type_args filter in order to change this.

    Let me know how you get on.

    Thread Starter odonnry

    (@odonnry)

    Hi Thank you for the reply. The documents being added through WP Download Manager are set to public but I see no option in BNFW for this type of trigger. I dont even see a field called “Notification Type”. When I select to add a new notification the only field close is called “Notification For”, assuming that is the right field to select the notification type, I dont see anything referencing WPDM or documents in general. Any further assistance would be greatly appreciated.

    Plugin Author bnfw

    (@voltronik)

    Hi @odonnry,
    Yes – Notification For is what I actually meant.

    Is the WP Download Manager custom post type accessible by other plugins or only by itself? Wonder if it’s function is set to private or something.

    BNFW is pretty simple in this regard – if the post type is available, it shows it in the list. So I figure something in WP Download Manager is preventing it from showing.

    Thread Starter odonnry

    (@odonnry)

    Under the attributes for a specific document that is uploaded in WP DM, in the Add Custom Field section, there are BNFW options listed. Might this be a way to make this work? Im not sure how to use the Custom Field option, but for BNFW there are options such as:

    BNFW_Notification
    BNFW_Message
    BNFW_Subject
    BNFW_Users
    BNFW_email_formatting
    etc…

    Plugin Author bnfw

    (@voltronik)

    Hi @odonnry,
    Unfortunately not. It needs to be the other way around – needs to show in BNFW for it to work.

    Perhaps it’s worth getting in touch with the plugin authors of WPDM?

    Plugin Author bnfw

    (@voltronik)

    Hi @odonnry,
    Out of interest, are you using any WPDM add-ons at all?

    Plugin Author bnfw

    (@voltronik)

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Notification trigger’ is closed to new replies.