Skip to content

Settings - Maintenance

The Maintenance view is the third sub-tab under Settings. Access it at WB Plugins > BP Statistics > Settings > Maintenance.

This view holds two jobs: Reset activity log (permanent) and Full historical indexing (rebuilds the log from existing BuddyPress data).

The Settings tab has three sub-tabs:

  1. General - tab switches + which charts show
  2. Display - who sees the tabs + retention + IP anonymization
  3. Maintenance - this view

Bookmarks to the old “Reset & Index” page open this view.

Looking for log retention or IP anonymization? Those are on Settings - Display. This sub-tab has no Save button, because both jobs start from their own buttons.

One button that empties the activity log.

Reset all logs (red button)

What it does:

  • Deletes every recorded entry in the plugin’s activity log.
  • Leaves BuddyPress users, groups, activities, and content completely untouched.
  • Removes only the recorded log of past actions.

Clicking Reset all logs opens a confirmation dialog on the page:

This will permanently delete every row in the activity log table. This cannot be undone. Continue?

Click Continue to reset, or Cancel to close the dialog without changing anything. A progress bar shows while the reset runs.

After a reset, charts that depend on the activity log (for example the Activity Log tab) stay empty until new activity is recorded or you run Full historical indexing.

Permanent. A reset cannot be undone. Take a database backup first if you might want the data back. Resetting is most useful right before a fresh Full historical indexing, because it gives you a clean baseline.

Scans your existing BuddyPress data and writes activity log entries for past actions. Useful when:

  • You’ve just installed the plugin on an established community.
  • You’ve reset the log and want to rebuild it from BuddyPress data.
  • You suspect entries are missing for a type of action and want to backfill them.

Six checkboxes choose what to include. All are ticked by default; untick the ones you don’t need. At least one must stay ticked.

Checkbox What gets indexed
User registrations and profiles Member sign-ups.
Activities and comments BuddyPress activity updates and comments.
Friendships and requests Friend connections.
Groups and memberships Group creation and memberships.
Blog posts and comments WordPress posts and comments.
Activity favorites/likes Favorites and likes on activity.

Click Start full indexing. A confirmation dialog opens on the page:

A full reindex re-scans every BuddyPress activity on this site. It can take several minutes on large communities. Continue?

Click Continue to start, or Cancel to go back. The job runs in batches so it stays safe on large sites. Keep the browser tab open while it works.

While the job runs you’ll see a progress bar with the percentage complete and a short status line. When it finishes, a Recent log entries table shows the latest 10 entries, so you can check the right data was captured.

Total run time depends on how much BuddyPress data your site has. Small communities finish in a minute or two; very large ones can take much longer.

Indexing respects the Activity log retention setting on Settings > Display. If retention is 90 days and you index everything, entries older than 90 days are removed by the next daily cleanup.

  • The Reset all logs and Start full indexing confirmation dialogs display correctly again, with readable text and clear Cancel and Continue buttons.
  • The settings screens work on phones. In 2.0.0 they could appear blank on small screens.