/bp-themes/bp-default/groups/single/members.php

  1. <?php if ( bp_group_has_members( 'exclude_admins_mods=0' ) ) : ?> 
  2.  
  3. <?php do_action( 'bp_before_group_members_content' ); ?> 
  4.  
  5. <div class="item-list-tabs" id="subnav" role="navigation"> 
  6. <ul> 
  7.  
  8. <?php do_action( 'bp_members_directory_member_sub_types' ); ?> 
  9.  
  10. </ul> 
  11. </div> 
  12.  
  13. <div id="pag-top" class="pagination no-ajax"> 
  14.  
  15. <div class="pag-count" id="member-count-top"> 
  16.  
  17. <?php bp_members_pagination_count(); ?> 
  18.  
  19. </div> 
  20.  
  21. <div class="pagination-links" id="member-pag-top"> 
  22.  
  23. <?php bp_members_pagination_links(); ?> 
  24.  
  25. </div> 
  26.  
  27. </div> 
  28.  
  29. <?php do_action( 'bp_before_group_members_list' ); ?> 
  30.  
  31. <ul id="member-list" class="item-list" role="main"> 
  32.  
  33. <?php while ( bp_group_members() ) : bp_group_the_member(); ?> 
  34.  
  35. <li> 
  36. <a href="<?php bp_group_member_domain(); ?>"> 
  37.  
  38. <?php bp_group_member_avatar_thumb(); ?> 
  39.  
  40. </a> 
  41.  
  42. <h5><?php bp_group_member_link(); ?></h5> 
  43. <span class="activity"><?php bp_group_member_joined_since(); ?></span> 
  44.  
  45. <?php do_action( 'bp_group_members_list_item' ); ?> 
  46.  
  47. <?php if ( bp_is_active( 'friends' ) ) : ?> 
  48.  
  49. <div class="action"> 
  50.  
  51. <?php bp_add_friend_button( bp_get_group_member_id(), bp_get_group_member_is_friend() ); ?> 
  52.  
  53. <?php do_action( 'bp_group_members_list_item_action' ); ?> 
  54.  
  55. </div> 
  56.  
  57. <?php endif; ?> 
  58. </li> 
  59.  
  60. <?php endwhile; ?> 
  61.  
  62. </ul> 
  63.  
  64. <?php do_action( 'bp_after_group_members_list' ); ?> 
  65.  
  66. <div id="pag-bottom" class="pagination no-ajax"> 
  67.  
  68. <div class="pag-count" id="member-count-bottom"> 
  69.  
  70. <?php bp_members_pagination_count(); ?> 
  71.  
  72. </div> 
  73.  
  74. <div class="pagination-links" id="member-pag-bottom"> 
  75.  
  76. <?php bp_members_pagination_links(); ?> 
  77.  
  78. </div> 
  79.  
  80. </div> 
  81.  
  82. <?php do_action( 'bp_after_group_members_content' ); ?> 
  83.  
  84. <?php else: ?> 
  85.  
  86. <div id="message" class="info"> 
  87. <p><?php _e( 'This group has no members.', 'buddypress' ); ?></p> 
  88. </div> 
  89.  
  90. <?php endif; ?> 
.