Skip to:
Content
Pages
Categories
Search
Top
Bottom

bp_has_members problems


  • Jonas Lundman
    Participant

    @intervik

    Working 6 month with a Bp project and stumble upon this problem in v 5.7 (Not using 6.x) . When running a function with bp_has_members() when viewing another members profile IT ALWAYS filter the viewed members Friends list. In members directory -everything works fine.

    Tried everything. only returns displayed members friends id

    I made in funtions.php a call to :
    function whatever(){
    if ( bp_has_members(“type=online”) ) { ?> //bp_has_members() only does NOT work either

    <?php
    $id = bp_get_member_user_id();
    if(!user_invisible_mode($id)) $COL[] = $id;
    ?>

    <?php }

    I need the loop to work/ return/ go trough all members when calling this funtion on profile views.

    IS THERE a override in the core files that pushes profile -actions- just-filter-friends here?

    THANKS for any help!

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘bp_has_members problems’ is closed to new replies.
Skip to toolbar