WordPress.org

Ready to get started?Download WordPress

Forums

bbPress Notify
Notify Custom User Roles (5 posts)

  1. therandomguy12345
    Member
    Posted 11 months ago #

    I would like to see the option to notify custom user roles. Currently, even after creating a custom user role, you cannot make an option to notify them.

    Regarding "Notifications about new topics are sent to" option.

    Respond as soon as possible. All help is appreciated.

    http://wordpress.org/extend/plugins/bbpress-notify/

  2. lwyndham
    Member
    Posted 11 months ago #

    I too was looking for this functionality.

    In the end I modified the plugin so that it added the custom role(s) of my choice.

    With a little knowledge it was not too difficult.

    Remember you need to add the custom role to both new topic and replies I added...

    Step 1 - added custom role to the arrays $newsettings_newtopic and $newsettings_newreply

    Step 2 - added new case statement for the custom roles to function function notify_new_topic and function notify_new_relpy

    Step 3 - Added another case statement for the custom role to function _topic_recipients_inputfield() and function _reply_recipients_inputfield()

    Hope this helps!!!

  3. lwyndham
    Member
    Posted 11 months ago #

    I too was looking for this functionality.

    In the end I modified the plugin so that it added the custom role(s) of my choice.

    With a little knowledge it was not too difficult.

    Remember you need to add the custom role to both new topic and replies I added...

    Step 1 - added custom role to the arrays $newsettings_newtopic and $newsettings_newreply

    Step 2 - added new case statement for the custom roles to function function notify_new_topic and function notify_new_relpy

    Step 3 - Added another case statement for the custom role to function _topic_recipients_inputfield() and function _reply_recipients_inputfield()

    Hope this helps!!!

  4. Sirenum
    Member
    Posted 11 months ago #

    Thanks for the plugin and advice. Here is the code to include s2Member levels.

    [Excessive code moderated. Please use a pastebin.]

  5. David Laietta
    Member
    Posted 10 months ago #

    Hi Sirenum, can you put the code for s2Member levels into a pastebin for us to use?

Reply

You must log in to post.

About this Plugin

About this Topic