roysmyth (@roysmyth)

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

  • roysmyth
    Participant

    @roysmyth

    I just wrote a little hack to do it. Seems very low prioirty for the bbpress team.

    Actually, what I hacked was the bbPress Custom Topic & Reply Notifications plugin. I was already using it on the site and it is a much more manageable thing to hack.

    You can get in touch directly if you want to do the same. wembaster at northshorehikers.org

    Makes the users happy.


    roysmyth
    Participant

    @roysmyth

    For future consideration.

    Please add two hooks in bbpress/includes/common/functions.php after lines 1105 and 1245 to filter the array of user ids.

    Something like
    $user_ids = apply_filters( ‘bbp_forum_subscription_mail_ids’, $user_ids );
    and
    $user_ids = apply_filters( ‘bbp_topic_subscription_mail_ids’, $user_ids );


    roysmyth
    Participant

    @roysmyth

    Thanks for the quick response.

    Since I need to prevent email going to some members who have already subscribed to forums and topics, looks like I need to hook into:

    bbp_pre_notify_subscribers
    bbp_pre_notify_forum_subscribers

    or perhaps put my own versions of these functions in my child theme:

    bbp_notify_forum_subscribers
    bbp_notify_subscribers

    Am I on the right track?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)