• funflash replied to the topic Ramdom members in the forum Requests & Feedback 11 months ago

    Yep it’s display only friends,
    I wanna make a “suggestion” of members, so a random of 24 members but not his friends.

  • funflash started the topic Ramdom members in the forum Requests & Feedback 11 months ago

    Hello,
    I want to display a list of random members’ avatars in ../single/friends.php
    I tried that:
    <div id="aleaMembers">
    <h4> Autres membres</h4>
    <?php
    if ( bp_has_members( 'type=random&max=24' ) ) : ?>
    <?php while ( bp_members() && !(bp_is_active( 'friends' ))) : bp_the_member(); ?>
    <a href="<?php…
    [Read more]