Skip to:
Content
Pages
Categories
Search
Top
Bottom

Group Member Count Showing Users Already Deleted

  • @thecorkboard

    Participant

    Versions:
    WPmu 2.9.2
    BP 1.2.3

    Issue:
    For course sites I maintain I flushed/deleted all old blogs and users. However, member counts in the Groups Widget (http://lis753.tametheweb.com/) and at the Group Page (http://lis753.tametheweb.com/groups/class-group/) still show the original number pre-flush. Any thoughts?

    Additional Recommendation:
    Provide a quick and easy way to clear out all or specified group content (activity/forum posts/ etc.) without deleting the group.

Viewing 6 replies - 1 through 6 (of 6 total)
  • @djpaul

    Keymaster

    Group member count is stored in the wp_bp_groups_groupmeta table, if you “cleared out” your group in the database directly then of course this variable won’t update.
    If, however, you’ve kicked people out the group and it hasn’t updated, then it’s a bug.

    @thecorkboard

    Participant

    Bug it is! Will report.

    Thanks :)

    @nuprn1

    Participant

    looking at the code – the total_member_count groupmeta updates when on the group’s members page (‘groups_template_group_members’, ‘groups/single/home’)

    @thecorkboard

    Participant

    rich! –
    Yep that works.

    For everyone else, here’s what I did to refresh the member count:
    1) Go to your groups members page at something like mysite.com/groups/my-group/members
    2) Do a hard refresh

    The member count will then be accurate.

    @thecorkboard

    Participant

    @johnjamesjacoby

    Keymaster
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Group Member Count Showing Users Already Deleted’ is closed to new replies.
Skip to toolbar