Profile Statistics Tab

Members can view their activity statistics directly on their BuddyPress profile. This guide covers the frontend Statistics tab.
Overview
When enabled, a Statistics tab appears on member profiles showing:
- Activity timeline
- Engagement charts
- Group participation
- Friend statistics
Enabling Profile Statistics
In Admin Settings
- Go to WB Plugins > Statistics > General Settings
- Enable “Show Member Stats”
- Select which reports to display
- Choose which user roles can view
- Save changes
Configuration Options
Reports to Display: Profile Activity Report, Engagement Report, Message Report (requires Messages component), Group Report
Visibility: Public (anyone can view), Members only, Friends only, Self only
Statistics Tab Content
Activity Summary
Overview cards showing:
| Card | Shows |
|---|---|
| Total Posts | Activity updates created |
| Total Comments | Comments on activities |
| Groups Joined | Number of group memberships |
| Friends | Total friend count |
Activity Chart
Line or bar chart showing activity over time with X-axis: Days/weeks/months, Y-axis: Activity count, Toggleable time range.
Recent Activity
List of user’s recent activities: Activity text preview, Date and time, Engagement (comments, likes).
Group Participation
Groups the member belongs to: Group name and avatar, Member’s role (admin, mod, member), Activity count in group.
Tab Position
Control where Statistics appears in profile navigation using the bp_stats_profile_statistics_tab_filter filter. Default position: 80. Lower numbers = earlier in menu.
Tab Label
Customize the tab label using the bp_stats_statistics_label filter. Default: “Statistics”.
Access Control
Default Permissions
By default: Members can view their own stats, Admins can view all stats, Non-logged-in users cannot view.
Custom Permissions
Use the bp_stats_can_view_user_stats filter for custom permission logic.
Widget Shortcode
Display profile stats anywhere with shortcode: [bp_stats_modern_widget]
Parameters: user_id – Specific user (default: current user), show_chart – Display sparkline chart (true/false), show_avatar – Display user avatar (true/false)
Platform Compatibility
BuddyBoss Compatibility: Respects BuddyBoss navigation structure, Compatible with BuddyBoss themes, Uses platform’s date formatting.
Youzify Compatibility: Statistics icon added to Youzify menu, Styling matches Youzify design, Tab integrates with Youzify navigation.
Troubleshooting
Tab not appearing – Check “Show Member Stats” is enabled, Verify user has permission to view, Clear cache and refresh.
Empty statistics – User may have no activity since plugin activation, Check that activity logging is enabled, Allow time for data to accumulate.
Chart not loading – Check JavaScript console for errors, Verify Chart.js is loading, Check for plugin conflicts.
