BuddyPress Favorite Notification

Àpèjúwe

BuddyPress Favorite Notification closes the feedback loop in your community. When a member favorites an activity or a comment, the author is told about it right away through BuddyPress notifications, an optional email, and a realtime popup that appears without a page refresh.

It also adds a Facebook-style “who liked this” line under each activity, and gives site owners a dashboard showing what is trending. BuddyPress is required.

What you get

Notifications when content is appreciated
* A BuddyPress notification to the author whenever their activity or comment is favorited.
* Realtime on-screen popups powered by the WordPress Heartbeat API, with an AJAX fallback, so a member sees the favorite as it happens.
* HTML email alerts with separate templates for favorited activities and favorited comments.
* No notification when you favorite your own content.
* Works with all BuddyPress activity types, including group activities, blog posts, and comments.

Favorite count display
* Three display modes, chosen in Settings: inline usernames (“John, Jane, and 10 others”), an icon with the count, or an icon and count that opens the full list.
* A choice of favorite icon Ìtumọ̀ Yorùbá: – heart, star, bookmark, thumbs up, or none Ìtumọ̀ Yorùbá: – so favorites are not mistaken for the Like reaction.
* A “View all” modal listing the members who favorited an activity, with clickable profile links. It loads a page at a time with a Load more control, so it stays usable on activities with thousands of likes. Set the page size with the bpfn_favorites_modal_per_page filter.
* Updates over AJAX as members like and unlike, with a 5-minute cache so the line loads instantly.
* The favorite display is shown to logged-in members only.

Admin dashboard
* Overview stats: total favorites, notifications sent, active users, and the most liked activity.
* Recent favorites from the last 7 days.
* Trending activities over the last 7 days and the last 30 days, top 10 each, with rank, content preview, author, and a direct link.

Tools and maintenance
* Automatic monthly cleanup of old read notifications, on by default, with a retention period of 7, 15, 30, 60, or 90 days.
* A manual cleanup button, the last cleanup result, and the next scheduled run.
* Chunked background migration of existing favorites, processed in batches so large sites do not time out, with progress tracking and a log.

Built for larger communities
* A custom, indexed favorites table for fast lookups instead of scanning user meta.
* Object caching on the favorite counts and the who-liked queries.

Member preferences
* Members get a Settings > Favorite Notifications screen in their BuddyPress profile where they can turn favorite notifications on or off per activity type (posts, comments) and per channel (web, email, realtime).
* Turning a channel off stops that notification. Notifications are on by default, so members only visit this screen if they want less.

Developer friendly
* Action and filter hooks throughout, including bpfn_notification_string, bpfn_email_from_name, and bpfn_email_from_email.
* Display hooks for full control of the favorite line: bpfn_favorite_icon_html, bpfn_favorite_display_format, bpfn_favorite_display_html, bpfn_display_modes, and bpfn_favorite_icons.
* Email templates can be overridden from your theme.
* Modular architecture with separate notification, email, realtime, settings, admin, and favorite display modules.
* Translation ready with an included POT file, and RTL support.

Perfect For

  • BuddyPress communities that want members to know when their posts land well
  • Social networks where engagement and return visits matter
  • Membership sites that use the activity stream as the main feed
  • Any BuddyPress site that wants to see what content is trending

Premium Support

Our support team is ready to help with setup, configuration, and troubleshooting. Reach us through the links below.

Documentation

Translations

  • English (default)
  • Ready for translation in your language with the included POT file
  • RTL language support included

Links

Compatibility

  • WordPress 6.5 and higher
  • PHP 8.0 and higher
  • BuddyPress required Ìtumọ̀ Yorùbá: – the plugin deactivates itself and explains why if BuddyPress is not active
  • Compatible with BuddyPress Nouveau and Legacy templates
  • Works with modern WordPress themes, including BuddyX and Reign

WhatÌtumọ̀ Yorùbá: ’s New in 2.1.0

The “who liked this” line is now yours to shape. A new Display tab lets you keep the familiar inline usernames, swap them for a compact icon and count, or make that count open the full list of members. You can also change the icon itself: a heart reads as the Like reaction to many members, so a star or bookmark keeps favorites visually distinct.

The full list now pages through with a Load more control instead of stopping at the first 50 members, which matters once an activity collects thousands of likes. Nothing changes on update unless you change the setting: existing sites keep inline usernames.

WhatÌtumọ̀ Yorùbá: ’s New in 2.0.1

Member notification preferences now actually work. Until this release a member who turned favorite notifications off still received them on every channel: the check that was meant to read their choice returned “enabled” for any request made through admin-ajax, which is exactly how BuddyPress favoriting works. Two further paths ignored the preference as well. If your members have complained that switching notifications off does nothing, this is the release that fixes it.

The admin is also rebuilt on the unified Wbcom card-panel interface under the shared “WB Plugins” menu, frontend colours follow your theme palette instead of fixed literals, and every surface mirrors correctly under RTL. The dead “Enhanced Notifications” toggle has been removed: BuddyPress strips notification markup down to a plain link, so the option could never change what members saw. German, Spanish, French, Italian and Portuguese (Brazil) translations are included, and the text domain is now registered so they load at all.

More Free Tools from Wbcom Designs

Favorite Notification closes the loop the second a memberÌtumọ̀ Yorùbá: ’s activity gets liked, turning small moments of appreciation into the real-time nudges that pull people back to your site. That retention loop pays off most when there is a community worth returning to, and these other free tools from Wbcom Designs help you build one:

  • BuddyX Ìtumọ̀ Yorùbá: – A free, fast community theme for BuddyPress, BuddyBoss and PeepSo with a modern layout and dark mode.
  • BuddyNext Ìtumọ̀ Yorùbá: – Stand up a complete WordPress community with activity streams, member spaces, profiles, direct messaging, and built-in moderation.
  • Jetonomy Ìtumọ̀ Yorùbá: – Add forums, question-and-answer boards, and idea spaces that stay tidy through trust-based auto-moderation even past 100,000 topics.
  • Mediaverse Ìtumọ̀ Yorùbá: – Let members build photo and video albums, react, follow each other, and message privately while AI moderation keeps things clean.
  • Eventonomy Ìtumọ̀ Yorùbá: – Run community events with RSVPs, calendars, and front-end submissions.
  • WB Gamification Ìtumọ̀ Yorùbá: – Reward members with points, badges, and leaderboards to keep engagement high.
  • Listora Ìtumọ̀ Yorùbá: – Publish searchable directories across ten listing types with reviews, maps, and member-submitted entries from the front end.
  • WP Career Board Ìtumọ̀ Yorùbá: – Add a job board with front-end listings, applications, and employer profiles.
  • Learnomy Ìtumọ̀ Yorùbá: – Build and sell online courses, auto-grade quizzes, collect payments, and award certificates when learners finish.

Àwọn àwòrán ìbòjú

Ìgbéwọlẹ̀

Automatic Installation

  1. Log in to your WordPress admin dashboard
  2. Navigate to Plugins > Add New
  3. Search for “BuddyPress Favorite Notification”
  4. Click “Install Now” and then “Activate”
  5. Notifications start working right away, with no configuration needed

Manual Installation

  1. Download the plugin ZIP file
  2. Log in to your WordPress admin dashboard
  3. Navigate to Plugins > Add New > Upload Plugin
  4. Choose the downloaded ZIP file and click “Install Now”
  5. Click “Activate Plugin”

Post-Installation Setup

There is nothing to switch on. Once BuddyPress is active and the plugin is activated, favoriting an activity notifies its author, and the “who liked this” line appears under activities for logged-in members.

To review what is happening on your site:

  1. Visit WB Plugins > Favorite Notifications > Overview for favorite statistics and trending activities
  2. Open the Tools tab to run the favorites migration, set the automatic cleanup retention period, or run a cleanup now
  3. Members can review their own notification preferences at Settings > Favorite Notifications in their BuddyPress profile
  4. See the documentation for detailed instructions

Requirements

  • WordPress 6.5 or higher
  • PHP 8.0 or higher
  • BuddyPress installed and active

FAQ

Does this plugin require BuddyPress?

Yes. BuddyPress must be installed and active. The plugin extends the BuddyPress activity and notification components, and deactivates itself with an explanation if BuddyPress is not available.

Do I need to configure anything?

No. There is no settings page. Once the plugin is active, authors are notified when their activity or comment is favorited. The one admin page, WB Plugins > Favorite Notifications, is for statistics and maintenance: an Overview tab, a Tools tab, and a Discover tab.

Will this work with my theme?

Yes. The plugin works with any theme that supports BuddyPress, and follows BuddyPress Nouveau and Legacy template standards. Its styles adapt to your themeÌtumọ̀ Yorùbá: ’s colour palette, and it has been tested with BuddyX and Reign.

How do realtime notifications work?

Realtime popups use the WordPress Heartbeat API, which checks for new notifications every 15 seconds, with an AJAX fallback if Heartbeat is unavailable. When a new favorite is detected, a popup appears on screen without a page refresh.

Will I receive notifications for my own favorites?

No. Members are not notified when they favorite their own content.

Are notifications grouped?

Yes, when several members favorite the same activity. Those favorites collapse into one notification that reads “%d people favorited your activity” instead of one entry per member. Grouping is per activity, so if one member favorites several different activities of yours, you get a separate notification for each of them.

Can members control their notifications?

Yes. Members have a Settings > Favorite Notifications screen in their BuddyPress profile with a switch for each activity type (posts, comments) and each channel (web, email, realtime). Notifications are on by default; turning one off stops it.

Can I customize email templates?

Yes. Copy the templates from the pluginÌtumọ̀ Yorùbá: ’s templates/emails/ directory into a buddypress/bp-favorite-notification/emails/ directory in your theme, and your copies are used instead.

Can I change the email sender name and address?

Yes, with the bpfn_email_from_name and bpfn_email_from_email filters. There is no admin screen for this; by default emails are sent from your site name and your siteÌtumọ̀ Yorùbá: ’s admin email address.

Who can see the “who liked this” display?

Logged-in members only. Logged-out visitors do not see the favorite count line under activities.

How many members does the “View all” modal show?

Up to 50, with a “+N more” count for anything beyond that. Developers can change the cap with the bpfn_who_favorited_limit filter.

Will old notifications pile up in my database?

No. An automatic cleanup runs monthly and removes old read notifications. Set the retention period to 7, 15, 30, 60, or 90 days on the Tools tab, where you can also disable the cleanup, run it on demand, and see the next scheduled run.

I have an existing site with lots of favorites. Do I need to do anything?

The plugin moves existing favorites into its own indexed table. On large sites this runs in the background in batches so it does not time out, and you can watch its progress on the Tools tab.

Does it work with BuddyPress Groups?

Yes. The plugin works with all BuddyPress activity types, including group activities, blog posts, comments, and custom activity types.

Is it translation ready?

Yes. The plugin is fully internationalized and ships a POT file in the languages/ directory, plus RTL support.

Can developers extend this plugin?

Yes. The plugin has a modular architecture and provides action and filter hooks throughout, including bpfn_notification_string, bpfn_who_favorited_limit, bpfn_admin_tabs, bpfn_email_from_name, and bpfn_email_from_email.

Where can I get support?

  • Documentation Ìtumọ̀ Yorùbá: – Free guides for every Wbcom plugin
  • Support Ìtumọ̀ Yorùbá: – Get help from our team
  • Contact us Ìtumọ̀ Yorùbá: – Report bugs and request features

Does the plugin collect any personal data?

No. The plugin does not collect, store, or share personal data outside your WordPress installation. Notification data is stored in your own database, and emails go through your siteÌtumọ̀ Yorùbá: ’s configured mail system.

Àwọn àgbéyẹ̀wò

Ọ̀wàrà 30, 2024
Just what I was looking for for my Community website! Good job! Keep up the good hard work y'all are doing. 🙂
Ògún 8, 2022
Great plugin. It's like I have facebook on my website!
Agẹmọ 30, 2019
Superb functionality for BuddyPress powered community website
Ka gbogbo àwọn àgbéyẹ̀wò 5

Àwọn Olùkópa & Olùgbéejáde

“BuddyPress Favorite Notification” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

Túmọ̀ “BuddyPress Favorite Notification” sí èdè rẹ.

Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.

Àkọsílẹ̀ àwọn àyípadà

2.1.0 Ìtumọ̀ Yorùbá: – July 2026

Choose how the “who favorited this” line looks, and page through the full list of members.

  • New Ìtumọ̀ Yorùbá: – Added a Display tab with a Display Mode setting: inline usernames, icon and count only, or icon and count that opens the full list.
  • New Ìtumọ̀ Yorùbá: – Added a Favorite Icon setting (heart, star, bookmark, thumbs up, or none) so favorites can be told apart from the Like reaction.
  • New Ìtumọ̀ Yorùbá: – The who-favorited list now loads a page at a time with a Load more control, instead of stopping at the first 50 members.
  • New Ìtumọ̀ Yorùbá: – Added the bpfn_favorite_icon_html, bpfn_favorite_display_format, and bpfn_favorite_display_html filters for full control over the display markup.
  • New Ìtumọ̀ Yorùbá: – Added the bpfn_display_modes, bpfn_favorite_icons, and bpfn_favorites_modal_per_page filters.
  • Improve Ìtumọ̀ Yorùbá: – Existing sites keep inline usernames until the new setting is changed, so updating changes nothing on its own.
  • Improve Ìtumọ̀ Yorùbá: – Counter and Load more controls meet the 40px minimum tap target and keep keyboard focus inside the open dialog, returning focus to the counter on close.
  • Fix Ìtumọ̀ Yorùbá: – The favorite display and its post-favorite refresh were two separate copies of the same markup, so any format or icon change reverted the moment a member clicked like. Both now render from one code path.
  • Fix Ìtumọ̀ Yorùbá: – Favorite counts could stay stale for up to five minutes after a like. Cache entries are now versioned per activity and invalidated together, whatever page of the list produced them.
  • Dev Ìtumọ̀ Yorùbá: – bpfn_who_favorited_limit now defaults to 0 (no limit) and acts as a ceiling on the paginated list. Sites filtering it to a positive number keep that maximum.

2.0.1 Ìtumọ̀ Yorùbá: – July 2026

  • New Ìtumọ̀ Yorùbá: – Added German, Spanish, French, Italian and Portuguese (Brazil) translations.
  • Improve Ìtumọ̀ Yorùbá: – Rebuilt the admin into the unified Wbcom card-panel UI under the shared “WB Plugins” menu, with Overview, Tools, and Discover tabs.
  • Improve Ìtumọ̀ Yorùbá: – Removed the “Enhanced Notifications” toggle. BuddyPress escapes notification descriptions down to a plain link, so the setting could never change what members saw.
  • Improve Ìtumọ̀ Yorùbá: – Frontend design tokens now chain through the active theme palette (BuddyX Ìtumọ̀ Yorùbá: –bx-color-*, then block-theme colour presets) so the heart, notification count badge, and realtime toasts pick up the siteÌtumọ̀ Yorùbá: ’s brand colours instead of fixed literals.
  • Improve Ìtumọ̀ Yorùbá: – Added a shared Ìtumọ̀ Yorùbá: –bpfn-primary / secondary / tertiary accent scale and defined the realtime toast stacking z-index token, so activity, comment, and mention toasts keep three distinct hues on every theme.
  • Improve Ìtumọ̀ Yorùbá: – Converted directional CSS to logical properties (margin-inline, inset, text-align:start) across the frontend and admin so every surface mirrors correctly under RTL.
  • Improve Ìtumọ̀ Yorùbá: – Admin action buttons now meet the 40px minimum tap target and show a disabled/processing state while their request is running, preventing double submits.
  • Improve Ìtumọ̀ Yorùbá: – Added keyboard focus-visible rings to the who-liked list links, realtime toast action links, and the permission role chips.
  • Fix Ìtumọ̀ Yorùbá: – The plugin never registered its text domain, so bundled translations could never load. Added the Domain Path header, which WordPress 6.7+ needs to find them.
  • Fix Ìtumọ̀ Yorùbá: – The ‘and N others’ summary and the ‘x ago’ timestamp were assembled from separate fragments, which cannot be translated correctly in every language. Each is now a single translatable phrase.
  • Fix Ìtumọ̀ Yorùbá: – Toast and screen-reader strings in the realtime notifier had no translatable source.
  • Fix Ìtumọ̀ Yorùbá: – Activity-favorite email now uses one coherent orange accent for header, excerpt, and button instead of a blue header paired with orange buttons.
  • Fix Ìtumọ̀ Yorùbá: – Per-user notification preferences (member Settings > Favorite Notifications) now load and save correctly Ìtumọ̀ Yorùbá: – the settings module was previously never loaded.
  • Fix Ìtumọ̀ Yorùbá: – Migration-notice dismissal now persists (added the missing AJAX handler).
  • Fix Ìtumọ̀ Yorùbá: – Replaced native browser confirm() dialogs in the admin with an accessible confirm modal.
  • Fix Ìtumọ̀ Yorùbá: – Removed a duplicate registration of the bpfn_options setting and corrected the text domain to match the plugin slug.
  • Fix Ìtumọ̀ Yorùbá: – Added a sanitize callback for register_setting and removed the deprecated load_plugin_textdomain call.
  • Fix Ìtumọ̀ Yorùbá: – Per-user notification preferences now take effect. A member who turned favorite notifications off still received them on every channel: the enabled-check returned true for any request made through admin-ajax, which is how BuddyPress favoriting works, so the saved preference was never read.
  • Fix Ìtumọ̀ Yorùbá: – A safety-net handler re-added notifications without checking the memberÌtumọ̀ Yorùbá: ’s preference, undoing the choice even once the check above was honoured.
  • Fix Ìtumọ̀ Yorùbá: – Email notifications ignored the preference for ordinary activity posts, because the type was mapped to a preference key the settings screen never writes.
  • Fix Ìtumọ̀ Yorùbá: – The Tools tab “Clear Old Notifications Now” button appeared to do nothing; its result notice now renders in the visible Manual Cleanup card instead of a hidden header node, the loading spinner is styled, and a real database error is reported instead of silently shown as “0 cleared”.
  • Dev Ìtumọ̀ Yorùbá: – WordPress Coding Standards compliance across all PHP files.
  • Dev Ìtumọ̀ Yorùbá: – Removed two debug log entries that were written on every request.
  • Dev Ìtumọ̀ Yorùbá: – Resolved 12 PHPStan level 5 findings (undefined template variables, always-true checks) with defensive guards.
  • Dev Ìtumọ̀ Yorùbá: – Removed dead admin CSS (unused role-grid, license, and legacy button-spinner blocks), dead admin JS (unused toast helper and globals), and two unused component properties; added the missing spinner, badge, preview, and migration-progress styles.
  • Compat Ìtumọ̀ Yorùbá: – Tested up to WordPress 7.0.

2.0.0 Ìtumọ̀ Yorùbá: – 2025-11-24

Major release with a favorite count display, an analytics dashboard, an indexed favorites table, and critical bug fixes.

  • New Ìtumọ̀ Yorùbá: – Favorite count display: a Facebook-style “who liked this” line on activities, formatted as “John”, “John and Jane”, or “John, Jane, and 10 others”.
  • New Ìtumọ̀ Yorùbá: – A “View all” modal for 3+ favorites, listing members with clickable profile links.
  • New Ìtumọ̀ Yorùbá: – Real-time AJAX updates on the favorite display when members like and unlike, with a 5-minute cache.
  • New Ìtumọ̀ Yorùbá: – Custom wp_bp_activity_favorites table with B-tree indexes on activity_id and user_id, a unique constraint against duplicates, and a favorited_at timestamp.
  • New Ìtumọ̀ Yorùbá: – Chunked background migration for existing favorites: 50 users per batch at 5-second intervals, auto-enabled past 100 users, with AJAX progress tracking and a log.
  • New Ìtumọ̀ Yorùbá: – Admin analytics dashboard: overview stat cards, recent favorites from the last 7 days, and top 10 trending activities over 7 and 30 days with rank, preview, author, and direct links.
  • New Ìtumọ̀ Yorùbá: – Automatic monthly cleanup of old read notifications, with a retention period setting, an enable/disable toggle, last-run stats, the next scheduled run, and a manual cleanup button.
  • New Ìtumọ̀ Yorùbá: – Unified admin interface on a single consolidated page.
  • Improve Ìtumọ̀ Yorùbá: – Simplified asset loading logic.
  • Improve Ìtumọ̀ Yorùbá: – Email module cleanup: removed duplicate hooks.
  • Improve Ìtumọ̀ Yorùbá: – Admin dashboard uses WordPress native postbox styling, with consistent section spacing and clickable activity links throughout.
  • Improve Ìtumọ̀ Yorùbá: – Object caching with a 5-minute TTL for favorite counts, and indexed database queries in place of user-meta scans.
  • Fix Ìtumọ̀ Yorùbá: – Duplicate email notifications: members were receiving two identical emails for each favorite action.
  • Fix Ìtumọ̀ Yorùbá: – Realtime popup notifications now work correctly.
  • Fix Ìtumọ̀ Yorùbá: – Updated the deprecated bp_core_get_user_domain() to bp_members_get_user_url().
  • Dev Ìtumọ̀ Yorùbá: – New modules: BPFN_Module_Favorite_Display and BPFN_Favorites_Migration.

1.2.3 Ìtumọ̀ Yorùbá: – 2024-11-23

  • Improve Ìtumọ̀ Yorùbá: – Code quality assessment and documentation.

1.2.0 Ìtumọ̀ Yorùbá: – 2024-11-20

  • New Ìtumọ̀ Yorùbá: – User notification preferences UI.
  • New Ìtumọ̀ Yorùbá: – Activity type detection.
  • Improve Ìtumọ̀ Yorùbá: – Notification formatting.

1.1.0 Ìtumọ̀ Yorùbá: – 2024-11-15

  • New Ìtumọ̀ Yorùbá: – Email notification support.
  • New Ìtumọ̀ Yorùbá: – Customizable email templates.
  • New Ìtumọ̀ Yorùbá: – Notification grouping.
  • Improve Ìtumọ̀ Yorùbá: – Performance improvements.

1.0.6 Ìtumọ̀ Yorùbá: – 2024-11-10

  • New Ìtumọ̀ Yorùbá: – Initial release: favorite notifications, BuddyPress integration, and user preferences.