Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of Hugo

Member count off by 1 (4 posts)

Started 1 year, 6 months ago by: paulhastings0

  • Profile picture of paulhastings0 paulhastings0 said 1 year, 6 months ago:

    WP 3.0.1
    BP 1.2.6
    Child theme of BP-Default

    I remember stumbling across a discussion about this once, but I can’t seem to find it. The member count in our community’s members directory is off by one.

    I checked in the Dashboard and confirmed that the actual number of users on the site is 249. So does anyone have any idea why this is happening?

  • Profile picture of paulhastings0 paulhastings0 said 1 year, 6 months ago:

    :bump:

  • Profile picture of Hugo Hugo said 1 year, 6 months ago:

    @paulhastings0 Paul have you had a look at where those two values are being derived from, determining that and comparing the functions in the core files may give a clue and help narrow down what’s happening.

  • Profile picture of hcleary hcleary said 1 year, 6 months ago:

    I have this problem as well.
    All Users: bp_get_total_member_count() in /theme/members/index.php,
    Viewing count: bp_members_pagination_count() in /theme/members/members-loop.php