Title: BuddyPress Favorite Notification
Author: Varun Dubey
Published: <strong>Agustus 9, 2015</strong>
Last modified: Juli 22, 2026

---

Search plugins

![](https://ps.w.org/bp-favorite-notification/assets/banner-772x250.png?rev=3016900)

![](https://ps.w.org/bp-favorite-notification/assets/icon-256x256.png?rev=3016900)

# BuddyPress Favorite Notification

 By [Varun Dubey](https://profiles.wordpress.org/vapvarun/)

[Download](https://downloads.wordpress.org/plugin/bp-favorite-notification.2.0.1.zip)

 * [Details](https://su.wordpress.org/plugins/bp-favorite-notification/#description)
 * [Reviews](https://su.wordpress.org/plugins/bp-favorite-notification/#reviews)
 *  [Installation](https://su.wordpress.org/plugins/bp-favorite-notification/#installation)
 * [Development](https://su.wordpress.org/plugins/bp-favorite-notification/#developers)

 [Support](https://wordpress.org/support/plugin/bp-favorite-notification/)

## Description

**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**
 * An inline “who liked this” line under each activity:“
John Doe”, “John Doe and Jane Smith”, or “John, Jane, and 10 others”. * A “View 
all” modal listing the members who favorited an activity, with clickable profile
links. The modal loads up to 50 members and shows a “+N more” count beyond that;
raise or lower the cap with the `bpfn_who_favorited_limit` 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_who_favorited_limit`, `bpfn_email_from_name`, and `bpfn_email_from_email`. *
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

 * **[Documentation and Support](https://docs.wbcomdesigns.com/)** – Setup walkthrough
   and usage guides for every Wbcom plugin

#### Translations

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

#### Links

 * [Plugin Homepage](https://wbcomdesigns.com/downloads/buddypress-favourite-notification/)
 * [Documentation](https://docs.wbcomdesigns.com/)
 * [Support](https://wbcomdesigns.com/support/)
 * [Request Features](https://wbcomdesigns.com/contact/)

#### Compatibility

 * WordPress 6.5 and higher
 * PHP 8.0 and higher
 * BuddyPress required – 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’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’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](https://wbcomdesigns.com/downloads/buddyx-theme/)** – A free, fast
   community theme for BuddyPress, BuddyBoss and PeepSo with a modern layout and
   dark mode.
 * **[BuddyNext](https://wbcomdesigns.com/downloads/buddynext/)** – Stand up a complete
   WordPress community with activity streams, member spaces, profiles, direct messaging,
   and built-in moderation.
 * **[Jetonomy](https://wbcomdesigns.com/downloads/jetonomy/)** – Add forums, question-
   and-answer boards, and idea spaces that stay tidy through trust-based auto-moderation
   even past 100,000 topics.
 * **[Mediaverse](https://wbcomdesigns.com/downloads/mediaverse/)** – Let members
   build photo and video albums, react, follow each other, and message privately
   while AI moderation keeps things clean.
 * **[Eventonomy](https://wbcomdesigns.com/downloads/eventonomy/)** – Run community
   events with RSVPs, calendars, and front-end submissions.
 * **[WB Gamification](https://wbcomdesigns.com/downloads/wordpress-gamification-plugin/)**–
   Reward members with points, badges, and leaderboards to keep engagement high.
 * **[Listora](https://wbcomdesigns.com/downloads/listora/)** – Publish searchable
   directories across ten listing types with reviews, maps, and member-submitted
   entries from the front end.
 * **[WP Career Board](https://wbcomdesigns.com/downloads/wp-career-board/)** – 
   Add a job board with front-end listings, applications, and employer profiles.
 * **[Learnomy](https://wbcomdesigns.com/downloads/learnomy/)** – Build and sell
   online courses, auto-grade quizzes, collect payments, and award certificates 
   when learners finish.

## Screenshots

[⌊Admin dashboard with favorite and notification statistics.⌉⌊Admin dashboard with
favorite and notification statistics.⌉[

Admin dashboard with favorite and notification statistics.

[⌊Tools tab - favorites migration and database maintenance options.⌉⌊Tools tab -
favorites migration and database maintenance options.⌉[

Tools tab – favorites migration and database maintenance options.

[⌊Activity favorite (heart) control showing active and inactive states.⌉⌊Activity
favorite (heart) control showing active and inactive states.⌉[

Activity favorite (heart) control showing active and inactive states.

[⌊Notifications screen listing a favorite notification.⌉⌊Notifications screen listing
a favorite notification.⌉[

Notifications screen listing a favorite notification.

[⌊Discover - more free tools from Wbcom Designs.⌉⌊Discover - more free tools from
Wbcom Designs.⌉[

Discover – more free tools from Wbcom Designs.

## Installation

#### 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](https://docs.wbcomdesigns.com/) 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’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’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’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](https://docs.wbcomdesigns.com/) – Free guides for every Wbcom
   plugin
 * [Support](https://wbcomdesigns.com/support/) – Get help from our team
 * [Contact us](https://wbcomdesigns.com/contact/) – 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’s configured mail system.

## Reviews

![](https://secure.gravatar.com/avatar/0d39cf2a93932cc3bd35704b0efed1c975e1811d6069fd01665b00195d31ddb2?
s=60&d=retro&r=g)

### 󠀁[Great Plugin](https://wordpress.org/support/topic/great-plugin-39690/)󠁿

 [david4](https://profiles.wordpress.org/david4/) Oktober 30, 2024

Just what I was looking for for my Community website! Good job! Keep up the good
hard work y’all are doing. 🙂

![](https://secure.gravatar.com/avatar/264ba465e472c3ab4f9351717199372c43a3dd6c1a6afbc97ac95c6f535741e0?
s=60&d=retro&r=g)

### 󠀁[Looove](https://wordpress.org/support/topic/looove/)󠁿

 [deenanc](https://profiles.wordpress.org/deenanc/) Agustus 8, 2022

Great plugin. It’s like I have facebook on my website!

![](https://secure.gravatar.com/avatar/d61f603c99091ed6732705529cc562ff4031d51cc950d2cf0f18f1a1fb72c948?
s=60&d=retro&r=g)

### 󠀁[Thanks!](https://wordpress.org/support/topic/thanks-2028/)󠁿

 [Unknown](https://profiles.wordpress.org/reubenclosbanos/) Pébruari 10, 2021

great work!

![](https://secure.gravatar.com/avatar/5cf3b72680c612d31962f92ce8d7d0ad1c35260811c747b8201b3dbfff1eba0e?
s=60&d=retro&r=g)

### 󠀁[Superb](https://wordpress.org/support/topic/superb-659/)󠁿

 [elisawilson](https://profiles.wordpress.org/elisawilson/) Juli 30, 2019

Superb functionality for BuddyPress powered community website

![](https://secure.gravatar.com/avatar/a3f6ad43b54427d334043b0f1aacea084984b1d281ee519995adf9dc924c712d?
s=60&d=retro&r=g)

### 󠀁[Again Exactly what I Required](https://wordpress.org/support/topic/again-exactly-what-i-required/)󠁿

 [darron29](https://profiles.wordpress.org/darron29/) April 2, 2018

I am using several of your free and paid plugins all are great and helped me building
my community site. Thanks

 [ Read all 5 reviews ](https://wordpress.org/support/plugin/bp-favorite-notification/reviews/)

## Contributors & Developers

“BuddyPress Favorite Notification” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ Varun Dubey ](https://profiles.wordpress.org/vapvarun/)
 *   [ wbcomdesigns ](https://profiles.wordpress.org/wbcomdesigns/)

[Translate “BuddyPress Favorite Notification” into your language.](https://translate.wordpress.org/projects/wp-plugins/bp-favorite-notification)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/bp-favorite-notification/),
check out the [SVN repository](https://plugins.svn.wordpress.org/bp-favorite-notification/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/bp-favorite-notification/)
by [RSS](https://plugins.trac.wordpress.org/log/bp-favorite-notification/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.0.1 – July 2026

 * New – Added German, Spanish, French, Italian and Portuguese (Brazil) translations.
 * Improve – Rebuilt the admin into the unified Wbcom card-panel UI under the shared“
   WB Plugins” menu, with Overview, Tools, and Discover tabs.
 * Improve – Removed the “Enhanced Notifications” toggle. BuddyPress escapes notification
   descriptions down to a plain link, so the setting could never change what members
   saw.
 * Improve – Frontend design tokens now chain through the active theme palette (
   BuddyX –bx-color-*, then block-theme colour presets) so the heart, notification
   count badge, and realtime toasts pick up the site’s brand colours instead of 
   fixed literals.
 * Improve – Added a shared –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 – 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 – 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 – Added keyboard focus-visible rings to the who-liked list links, realtime
   toast action links, and the permission role chips.
 * Fix – 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 – 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 – Toast and screen-reader strings in the realtime notifier had no translatable
   source.
 * Fix – Activity-favorite email now uses one coherent orange accent for header,
   excerpt, and button instead of a blue header paired with orange buttons.
 * Fix – Per-user notification preferences (member Settings > Favorite Notifications)
   now load and save correctly – the settings module was previously never loaded.
 * Fix – Migration-notice dismissal now persists (added the missing AJAX handler).
 * Fix – Replaced native browser confirm() dialogs in the admin with an accessible
   confirm modal.
 * Fix – Removed a duplicate registration of the bpfn_options setting and corrected
   the text domain to match the plugin slug.
 * Fix – Added a sanitize callback for register_setting and removed the deprecated
   load_plugin_textdomain call.
 * Fix – 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 – A safety-net handler re-added notifications without checking the member’s
   preference, undoing the choice even once the check above was honoured.
 * Fix – Email notifications ignored the preference for ordinary activity posts,
   because the type was mapped to a preference key the settings screen never writes.
 * Fix – 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 – WordPress Coding Standards compliance across all PHP files.
 * Dev – Removed two debug log entries that were written on every request.
 * Dev – Resolved 12 PHPStan level 5 findings (undefined template variables, always-
   true checks) with defensive guards.
 * Dev – 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 – Tested up to WordPress 7.0.

#### 2.0.0 – 2025-11-24

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

 * New – 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 – A “View all” modal for 3+ favorites, listing members with clickable profile
   links.
 * New – Real-time AJAX updates on the favorite display when members like and unlike,
   with a 5-minute cache.
 * New – 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 – 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 – 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 – 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 – Unified admin interface on a single consolidated page.
 * Improve – Simplified asset loading logic.
 * Improve – Email module cleanup: removed duplicate hooks.
 * Improve – Admin dashboard uses WordPress native postbox styling, with consistent
   section spacing and clickable activity links throughout.
 * Improve – Object caching with a 5-minute TTL for favorite counts, and indexed
   database queries in place of user-meta scans.
 * Fix – Duplicate email notifications: members were receiving two identical emails
   for each favorite action.
 * Fix – Realtime popup notifications now work correctly.
 * Fix – Updated the deprecated bp_core_get_user_domain() to bp_members_get_user_url().
 * Dev – New modules: BPFN_Module_Favorite_Display and BPFN_Favorites_Migration.

#### 1.2.3 – 2024-11-23

 * Improve – Code quality assessment and documentation.

#### 1.2.0 – 2024-11-20

 * New – User notification preferences UI.
 * New – Activity type detection.
 * Improve – Notification formatting.

#### 1.1.0 – 2024-11-15

 * New – Email notification support.
 * New – Customizable email templates.
 * New – Notification grouping.
 * Improve – Performance improvements.

#### 1.0.6 – 2024-11-10

 * New – Initial release: favorite notifications, BuddyPress integration, and user
   preferences.

## Meta

 *  Version **2.0.1**
 *  Last updated **1 dinten ago**
 *  Active installations **100+**
 *  WordPress version ** 6.5 or higher **
 *  Tested up to **7.0.2**
 *  PHP version ** 8.0 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/bp-favorite-notification/)
 * Tags
 * [activity](https://su.wordpress.org/plugins/tags/activity/)[buddypress](https://su.wordpress.org/plugins/tags/buddypress/)
   [favorites](https://su.wordpress.org/plugins/tags/favorites/)[Notifications](https://su.wordpress.org/plugins/tags/notifications/)
   [realtime](https://su.wordpress.org/plugins/tags/realtime/)
 *  [Advanced View](https://su.wordpress.org/plugins/bp-favorite-notification/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  5 5-star reviews     ](https://wordpress.org/support/plugin/bp-favorite-notification/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/bp-favorite-notification/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/bp-favorite-notification/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/bp-favorite-notification/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/bp-favorite-notification/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/bp-favorite-notification/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/bp-favorite-notification/reviews/)

## Contributors

 *   [ Varun Dubey ](https://profiles.wordpress.org/vapvarun/)
 *   [ wbcomdesigns ](https://profiles.wordpress.org/wbcomdesigns/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/bp-favorite-notification/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://wbcomdesigns.com/donate/)