#4235 closed defect (bug) (no action required)
Member count (Version 1.6-bleeding)
Reported by: | Mqlte | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Core | Keywords: | |
Cc: |
Description
Hello,
my page has around 2,500 members. The most of them weren't active since I installed BuddyPress.
The member counter worked fine for me in BuddyPress 1.5.5
But in the current Version 1.6-bleeding 6029 the member count shows only 334 members at all. But my page has 2,521 members at all and 334 active members since I installed BuddyPress.
What have you changed since 1.5.5?
Thanks for reading.
Regards
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
This has indeed been changed in BP 1.6-bleeding.
The idea is this: The "total members" number that you were formally seeing (2,521) is actually not very meaningful. While it may represent the correct number of WP accounts on your site, throughout the rest of BuddyPress, only active members are included in this kind of total count. This caused very misleading results when you had a lot of members with no activity, qualifying (in my book) as a bug.
See #4061, r5987
If you prefer to have the less meaningful 2,521, you should create a child theme of bp-default that includes the file activity/index.php, and swaps out the use of
bp_get_total_member_count()
with the oldbp_get_total_site_member_count()
.