v2.0.2 Latest
Improve
- Activity log indexes are rebuilt once on update and duplicate indexes are dropped, so logging and reports stay fast on large sites.
- Statistics caches refresh when members post, join or connect, without deleting rows from the options table, and work with or without an object cache.
- Profile and group charts count in the database for the chosen period: last 7 days, this month, last month or this year by month.
- The admin group picker loads 50 groups and searches as you type, so sites with thousands of groups can pick any of them.
- Failed logins are logged at most once a minute per visitor IP, and long usernames are shortened before they are stored.
- Every chart has a text summary for screen readers.
- Widgets use your theme's widget text size, and the Statistics group tab shows a chart icon in Reign.
- Stylesheets work for right-to-left sites without a separate RTL copy.
- The Users screen loads members one page at a time, so it stays fast with thousands of members.
- Users screen filters, search and sorting run on the server and cover every member.
- Export CSV on the Users and Activity Log screens exports every matching row, not just the visible page.
- Statistics pages follow Reign and BuddyX dark mode colours, including the date picker icon.
- The weekly cleanup only rebuilds the activity log table when there is space worth reclaiming.
- Chart lines use the theme palette with distinct colours per series, in light and dark mode, instead of random colours.
- The Member Activity Summary, Group Analytics and Groups Overview widgets sit in your theme's widget box like its own widgets: one card, plain rows, 50px avatars and theme colours in light and dark mode.
Fix
- Settings cards keep their right margin on phones instead of touching the screen edge.
- Admin screens no longer leave an open output buffer behind, which could break downloads and other plugins' redirects.
- Site admins can always see group Statistics, on the tab, in the API and in widgets.
- Private and hidden groups no longer appear in the Groups Overview widget or group totals for people who are not members.
- Clearing every group role in settings now hides the group Statistics tab instead of showing an Access Denied page.
- Activity log retention is kept between 7 and 730 days; a value outside that range, or a cleared field, is corrected with a notice.
- Old log entries are removed at the right time on database servers that are not set to UTC.
- Another member's statistics card is only shown to people allowed to see that member's statistics.
- Dates in the admin and on charts follow the site timezone.
- The Summary chart on the Overview screen no longer shows an unlabelled legend swatch.
- The plugin no longer deactivates itself when BuddyPress is missing; it shows a notice instead.
- The licence status is kept when the store does not answer, and licence calls verify SSL.
- The License tab shows the result of Activate and Deactivate.
- The plugin changelog view loads from the cache without errors.
- The Top Groups report works on MariaDB.
- Re-indexing no longer logs the same item twice.
- Group statistics totals count each group once, in the same scope as the group list.
- Re-indexing history no longer skips rows when a pass is repeated.
- Last active dates on the Users screen show real BuddyPress activity instead of "Never".
- Group statistics widgets show the correct post and comment counts.
- The Groups Overview widget labels each group's member and activity counts, and shows one short message when no groups exist yet.
- The title attribute of the [bp_stats_modern_widget] shortcode now shows above the card.
- Uninstalling the plugin also removes the saved settings of its sidebar widgets.
- The Users screen no longer shows a Logins column that could only ever read 0.
- Member names with symbols such as & show correctly in Overview, group and search lists.
- Group names with symbols such as & show correctly in the member Statistics widgets, group charts and the admin group picker.
- The member Statistics tab no longer leaves a large gap under the headline on phones.
- Right-to-left sites no longer request a missing stylesheet.
- The Users and Activity Log table headers follow the admin dark theme.
- Chart labels, empty states and error messages on profile and group statistics can now be translated.
- Translations for statistics scripts now load on live sites, not only when script debugging is on.
- Group statistics no longer keep showing a loading spinner after the data has loaded.
- The Retry button on a failed chart is a real button that works with the keyboard.
- On phones, the Community Pulse card, the Overview summary and the Activity Log search no longer leave large blank gaps.
- Saving one settings tab on a new site no longer hides the member Statistics tab and group reports; settings never saved read as their defaults.
Security
- Recent log entries in the admin and group names in profile widgets are shown as text, so stored markup can never run.
- Visitor IP addresses ignore forwarding headers unless they come from a trusted proxy.
- Each activity log request is capped at 500 rows.
- The group statistics API follows group privacy settings, the same as the Statistics tab.
- Stored log details are read without creating PHP objects.
- The group activity chart API now follows the group roles allowed to see statistics, the same as the Statistics tab.
Dev
- New bp_stats_trusted_proxies filter for sites behind a load balancer or CDN.
- New REST route GET /bp-stats/v1/admin/users, and the reindex route takes a cursor.
- Returning an empty array from bp_stats_user_scope_ids now means no members, and the filter applies to the Users screen.
- Removed unused legacy AJAX handlers and dead admin scripts.
- New filters bp_stats_can_view_group_stats, bp_stats_failed_login_log_interval and bp_stats_display_timezone.
- Topic badge colours accept a tone through bp_stats_topic_colors and bp_stats_topic_style.
- Removed the hourly bp_stats_warm_cache event, the Grunt build, minified copies and the unused PDF library.
Compat
- Requires PHP 8.1 or later. Tested with BuddyPress 12 and later and with BuddyBoss Platform.