This topic has 3 replies, 3 voices, and was last updated 8 years by Laura.

  • Author
  • #137799
     Hegel
    Participant

    Hi,

    Is there a way to use the “members carousel” short-code to display only members with profile pics?

    Kind Regards,

     

    Ethan.

    #137846
     Laura
    Moderator

    Hello, not available right now but might be possible with some development, maybe a developer can do it for you 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #138031
     leonid
    Participant

    i fix in my project in bp-functions.php (find lines by text “kleo_members_carousel” ):

    COPY CODE
                    if ( bp_has_members( bp_ajax_querystring( 'members' ). '&type='.$type.'&per_page='.$total ) ) :
                            while ( bp_members() ) : bp_the_member();
                                    $ava = bp_get_member_avatar('type='.$image_size.'&width='.$width.'&height='.$height.'&class=');
                                    if (!preg_match('/gravatar\.com/', $ava)) {
                                    $output .= '<li><a href="'. bp_get_member_permalink().'">'. $ava .
    //bp_get_member_avatar('type='.$image_size.'&width='.$width.'&height='.$height.'&class=').
    
    '</a></li>';
                                    }
                            endwhile;

    As result only with pics.

    #138422
     Laura
    Moderator

    It should be done at child theme 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?