SHARE
TWEET

Untitled

a guest Mar 25th, 2013 52 Never
  1. <?php
  2.         $args = '';
  3.         $user_ids = custom_profile_search();
  4.         $args = 'include=' . implode(',', $user_ids);
  5.         $args .= '&per_page=100&max=100';
  6.        
  7.         // at this step $args looks like this 'include=1,13,14,16,17,19,20,21,22&per_page=100&max=100'
  8.  
  9.         if (bp_has_members($args)):
  10. ?>
  11.         <?php while ( bp_members() ) : bp_the_member(); ?>
  12.                 // over here this one particular member get's doesn't show up
  13.         <?php endwhile; ?>
RAW Paste Data
Top