Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

  • cityfox
    Participant

    @cityfox

    I don’t understand exactly what you mean. For me pagination works well.


    cityfox
    Participant

    @cityfox

    After more research and trying I found a solution that works for my case. Maybe it helps other people, too.

    I added the following code in the members-loop.php directly after bp_the_member():

    $user_id = bp_get_member_user_id();
    if (get_user_meta($user_id,'adi_user_disabled', true)) continue;

    cityfox
    Participant

    @cityfox

    Thanks for the reply. I’m a newbie. I don’t understand what you mean. I put the code with php tags in the groups-loop-file but it doesn’t work correctly. The website shows this:

    array(2) { ["members"]=> array(0) { } ["count"]=> string(1) "0" }

    In the meantime I got another idea: I put the Group Members Loop in the text editor of a wordpress page. I thought if that works I can put the code into a shortcode (with plugin My Shortcodes) and make shortcodes for each group. But the loop doesn’t get the group members. On the website there is the message “This group has no members”. Then I put the group ID into the loop like that:

    bp_group_has_members('group_id=1')

    But still it doesn’t work. I’m lost…

Viewing 3 replies - 1 through 3 (of 3 total)
Skip to toolbar