Skip to content

Modern Member Widget

The Member Activity Summary widget shows a compact statistics card for a single member: their avatar, name, how long they’ve been a member, their activities, comments, friends, and groups, an optional activity chart, and a link to their profile.

It can be used two ways:

  1. As a sidebar widget listed under Appearance > Widgets as BP Stats - Member Activity Summary.
  2. As the [bp_stats_modern_widget] shortcode anywhere on the site.
[bp_stats_modern_widget]
Attribute Default What it does
user_id="auto" auto Shows the profile owner on member profile pages, the author on author archive pages, and the logged-in member everywhere else.
user_id="current" - Always shows the currently logged-in member, whichever page they’re on.
user_id="123" - Shows the member with user ID 123.
user_id="username" - Shows the member with that username.
title="" - Optional title shown above the card.
[bp_stats_modern_widget]
[bp_stats_modern_widget user_id="current"]
[bp_stats_modern_widget user_id="42"]
[bp_stats_modern_widget user_id="alice"]
[bp_stats_modern_widget title="Your activity"]

If no member can be found (for example, a logged-out visitor on a page that isn’t a profile), the shortcode shows a short message instead of the card.

To use it:

  1. Go to Appearance > Widgets.
  2. Find BP Stats - Member Activity Summary.
  3. Add it to any widget area.
  4. Set the options below.
  5. Save.
Setting Default What it does
Title Activity Summary (when left empty) Widget heading.
Show statistics for Auto-detect (context-aware) Which member the widget shows. See the options below.
Show activity chart On Shows or hides the activity chart.

Show statistics for options:

  • Auto-detect (context-aware) - the profile owner on member profiles, the author on author pages, the current member elsewhere.
  • Always current logged-in user - always the member viewing the page.
  • Displayed user on profiles, current elsewhere - the profile owner on profiles, the current member everywhere else.

Logged-out visitors on pages without a member to show see “Please log in to view member statistics.”

Section Content
Header Avatar, display name, and how long they’ve been a member (days, months, or years).
Filter A 7 days / 30 days / 3 months period menu.
Stats grid Activities, Comments, Friends, and Groups for the selected period.
Chart A small chart of the member’s recent activity (when enabled).
Footer A View profile link to the member’s profile.

The numbers load right after the page appears, so a brief placeholder is normal.

The widget follows your theme’s colors and spacing, including dark mode on BuddyX and Reign.

  • Widget styling follows BuddyX 5.1 and Reign color settings, including dark mode.
  • New icons throughout the card.
  • The period menu has a proper label for screen reader users, and screen readers announce the new numbers when the period changes.
  • The card design matches the rest of the plugin.
  • Widget data is cached, so a widget on many pages doesn’t slow your site down.