Skip to content

BuddyPress Favorite Notification closes the feedback loop in a BuddyPress community. When a member favourites (likes) another member’s activity or comment, the author is told about it right away, and everyone browsing the stream can see who liked a post.

The plugin delivers this through four surfaces:

  • BuddyPress notification to the author, on the BuddyPress notifications screen and toolbar bubble.
  • Email through BuddyPress Emails, with separate editable emails for a favourited activity and a favourited comment.
  • Optional realtime on-screen popup that appears without a page refresh, powered by the WordPress Heartbeat API. You switch it on in the Display tab.
  • A “who liked this” line under each activity, in the style of a social feed, for logged-in members.

Site owners also get an admin dashboard under the shared WB Plugins menu with favourite statistics, trending activities, display and realtime popup settings, and database maintenance tools.

  1. A member favourites an activity. BuddyPress fires its bp_activity_add_user_favorite action.
  2. The plugin records the favourite in its own indexed table, creates a BuddyPress notification for the activity author (unless the author favourited their own content), and sends an email if the author has email alerts on.
  3. The author sees the notification on their next page load, and a realtime popup if popups are switched on and they have a page open.
  4. The “who liked this” line under the activity updates over AJAX.
  • Zero configuration to start. Once BuddyPress and the plugin are active, favouriting notifies the author immediately. There is nothing to switch on.
  • No self-notifications. A member is never notified for favouriting their own content.
  • Grouped notifications. When several members favourite the same activity, the entries collapse into one “N people liked your activity” notification.
  • Members stay in control. Each member has a per-type, per-channel preference screen in their BuddyPress profile settings.
  • Your data stays on your site. Favourites, member preferences and notifications are stored in your own database. See Removing the plugin and your data.
  • Built for scale. Favourites live in a custom indexed table, counts and who-liked queries are object-cached, and the admin dashboard and who-liked modal are paginated and batch-fetched.

BuddyPress 12.0 or later is a hard requirement. If BuddyPress is not active, the plugin does nothing and shows an admin notice explaining why.