• Resolved vusisindane

    (@vusisindane)


    Hello. I noticed that in ../includes/bbpress.php:28, you are using a deprecated function bbp_get_topic_subscribers. Firstly, I suggest you change that to bbp_get_topic_engagements. This will automatically solve another problem I had, which is that if a user does not explicitly subscribe to a thread, even if they have replied to it, they do not receive a notification.

    I am scratching my head a bit here because there should be a way for a user to unsubscribe from a threat, and obviously, if they are automatically subscribed using the suggested function above, there will be no way of unsubscribing them.

    In that case, maybe it is better to automatically subscribe a user to a thread (and maybe add that as an option in the admin dashboard), then a user can unsubscribe if they want to – in which case they will no longer receive notifications. Either way, we will still have to find another function, apart from bbp_get_topic_subscribers, because that one is deprecated as mentioned before.

    Thank you. Great work.

    • This topic was modified 3 years, 2 months ago by vusisindane.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author wpdever

    (@wpdever)

    Hi,

    Thanks for letting me know. I’ll update that function soon.
    I’m not too sure about notifying users about replies in topics they’re not subscribed to, I may add a way to save users who have actively unsubscribed, preferably using the same bbPress unsubscribe button for email notifications.

    Thank you and and let me know if you have any other suggestions.

    Plugin Author wpdever

    (@wpdever)

    Hi,

    I’ve added an option to notify any user who replied in a topic, even if not subscribed.
    So people can opt out, I suggest adding some form and saving user preference as a user meta field. I’ve added this hook ‘wnbell_bbpress_receivers’ so you can add code to loop through users and only notify users who didn’t opt out.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘BBPress Improvement’ is closed to new replies.