General Settings

The General Settings page controls the core behavior of BuddyPress Stats. Access it at WB Plugins > Statistics > General Settings.
Data Collection Settings
Enable Statistics
Toggle to enable or disable activity tracking.
- Enabled: Plugin tracks user logins, activity posts, comments, and interactions
- Disabled: No new data is collected; existing data remains available
Data Retention
How long to keep activity logs in the database.
| Option | Use Case |
|---|---|
| 30 days | Sites with limited storage |
| 60 days | Short-term analysis |
| 90 days | Recommended for most sites |
| 365 days | Long-term trend analysis |
Older logs are automatically deleted by a daily cron job.
Default Date Range
The initial time period shown when viewing charts and reports.
- Last 7 days
- Last 30 days (recommended)
- Last 3 months
- All time
Caching Settings
Enable Transient Caching
Stores calculated statistics in WordPress transients for faster page loads.
Benefits:
- Reduces database queries
- Faster dashboard loading
- Lower server resource usage
How it works:
- Statistics are calculated and cached
- Cache refreshes automatically when new activity occurs
- Manual cache clear available on Reset & Index page
Privacy Settings
Show Member Stats
Enable the Statistics tab on member profiles.
When enabled, members can view their own activity data. Admins can control:
- Which reports appear on profiles
- Which user roles can see the tab
Show Group Stats
Enable the Statistics tab on group pages.
Configure visibility by:
- Group role (admin, moderator, member)
- Group type (public, private, hidden)
IP Anonymization
GDPR-compliant IP address handling.
| Setting | IP Address Stored |
|---|---|
| Disabled | 192.168.1.100 (full) |
| Enabled | 192.168.0.0 (anonymized) |
When enabled, the last two octets are replaced with zeros before storage.
Display Settings
Statistics Tab Label
Customize the label shown on profile and group navigation.
Default: “Statistics”
Statistics Tab Position
Control where the Statistics tab appears in navigation menus.
Lower numbers = earlier position. Default: 80
Report Settings
Profile Reports
Select which reports appear on member profile Statistics tabs:
- Profile Activity Report: Activity timeline
- Engagement Report: Engagement chart over time
- Message Report: Messaging statistics (if messages component active)
- Group Report: Group participation summary
Group Reports
Select which reports appear on group Statistics tabs:
- Group Activity Chart: Activity trends
- Top Contributors: Most active members
- Member Growth: Group membership over time
Advanced Settings
Log Retention on Deactivation
What happens to data when the plugin is deactivated:
| Option | Behavior |
|---|---|
| Keep all data | Logs, options, and user meta preserved |
| Delete logs only | Activity log table deleted |
| Delete everything | All plugin data removed |
Default: Keep all data
Debug Mode
Enable additional logging for troubleshooting. Logs are written to wp-content/debug.log.
Only enable when investigating issues.
Saving Settings
Click Save Changes to apply your configuration.
Changes take effect immediately. Cached data may take up to an hour to reflect new settings.
