Skip to content

Notifications

The addon sends PeepSo notifications to subscribers when forum content is posted, using PeepSo’s own notification system (PeepSoNotifications).

When Who is notified Notification type
A new topic is posted in a forum Subscribers of that forum (bbp_get_subscribers for the forum) wbpbi_new_topic_notification
A new reply is posted in a topic Subscribers of that topic (bbp_get_subscribers for the topic) wbpbi_new_reply_notification

The member who triggered the action is not notified about their own post.

Each notification links back to the correct destination:

  • Topic notifications link to the topic permalink (via bbp_get_topic_permalink and the bbpeepso_topic_id post meta).
  • Reply notifications link to the reply permalink (via bbp_get_reply_permalink and the bbpeepso_reply_id post meta).

Titles are HTML-entity decoded so encoded characters read correctly.

Two switches in Configuration turn each type on or off site-wide:

  • New topic notifications (wbpbi_topic_new_topic_notification)
  • New reply notifications (wbpbi_new_reply_notification)

The addon also registers PeepSo profile alerts (through the peepso_profile_alerts filter) so members can toggle these in their own PeepSo notification preferences:

  • “Someone creates a topic in a subscribed forum” (wbpbi_new_topic_notification)
  • “Someone replies to a subscribed topic” (wbpbi_new_reply_notification)

Notifications are only sent when the corresponding activity type is also enabled, because they are created inside the new-topic and new-reply activity handlers.