Skip to:
Content
Pages
Categories
Search
Top
Bottom

Stop ’small carousel’ members list on profile page displaying ’friends only’

  • @graq

    Participant

    A fairly normal page loop in the header might do something like: `bp_has_members(“type=random&per_page=12&max=12&user_id=false”)`

    Looking through the code, the small carousel of members ultimately calls `bp_has_members()` in `plugins/buddypress/bp-core/bp-core-templatetags.php`
    This over rides any user_id arguments with this line:
    `if ( !empty( $bp->displayed_user->id ) )
    $user_id = $bp->displayed_user->id;`
    With no further filters beyond that. This means that I cannot change the behaviour of this?

    Any ideas on how I might make it work, for example, just as on other pages?

Viewing 1 replies (of 1 total)
  • @commoneasy

    Participant

    Hi man, sorry to bump this old topic. did you find any solution for this? i try to use a member loop on BP profile page showing friends of friends, unfortunately the loop only shows direct friends of the current displayed user…(and thus showing no friends at all)..THANKS!

Viewing 1 replies (of 1 total)
  • The topic ‘Stop ’small carousel’ members list on profile page displaying ’friends only’’ is closed to new replies.
Skip to toolbar