Skip to:
Content
Pages
Categories
Search
Top
Bottom

Show BP Friends Avatars List…

  • Profile photo of dalmasmedia
    dalmasmedia
    Participant

    @dalmasmedia

    I am currently looking for a way to show a list(array) of bp-friends(avatar’s), this is the code I am working on… Does anyone have any suggestions?

    Thank you

    ‘<?php $user_id = $bp->loggedin_user->id;
    $args = ‘user_id=’.$user_id.’&per_page=10&populate_extras=0′;
    if ( bp_has_members( $args ) ){
    echo $args;
    ?>


    <?php
    }
    else echo ‘You have no friends!’;
    ?>’

  • The topic ‘Show BP Friends Avatars List…’ is closed to new replies.
Skip to toolbar