Viewing 5 replies - 1 through 5 (of 5 total)
  • +1

    I just run into the same issue and this was the only post I was able to find.
    Since there was no solution – I tracked down the issue… here is how you can fix this:

    1. open …./plugins/bp-direct-menus/inc/frontend-noajax.inc.php
    2. go to line 73 or near it. You should be looking at the line:

    $groupcount = groups_get_total_group_count();

    3. change that to:

    $groupcount = groups_get_total_member_count();

    4. All should be working fine now.

    Thanks, but sorry to say that didn’t work on my site and gave me a warning.
    I see what your trying to do, but how do you find the right “hook” (if that’s the right word? )

    Hey … to be honest I am not using a hook … I simply opened the plugin frontend script and looked at the code. I actually think that this is a typo and the programmer put the total count instead of the member count.

    I am using BP 1.9.2 and WP 3.8.1 and this simple change is working fine for me.

    I get a warning ;
    Warning: Missing argument 1 for groups_get_total_member_count(), called in /home/XXXXXx/public_html/wp-content/plugins/bp-direct-menus/inc/frontend-noajax.inc.php on line 74 and defined in /home/XXXXXX/public_html/wp-content/plugins/buddypress/bp-groups/bp-groups-functions.php on line 439

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Group Count Shows Total Groups Sitewide’ is closed to new replies.