Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Custom loop for Groups Member Directories

@lesanis

Participant

Hello shanebp,

Thank you for your response! I do not know what d($included_users); does. I just found the code from an old thread. I modified it after your reccommendation to


<?php $included_users = implode(',',get_users('role=subscriber&fields=ID')); ?>

<?php if ( bp_group_has_members( bp_ajax_querystring( 'group_members' ) .'&include=' .$included_users ) ) : ?>

After that change the page is not breaking but the code does not work at all to filter the members.. Is there anything else that you think I should change?

Thank you!!

Skip to toolbar