Changeset 3917 for trunk/bp-groups/bp-groups-classes.php
- Timestamp:
- 01/25/2011 08:58:56 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-classes.php
r3905 r3917 1020 1020 $exclude_sql = $wpdb->prepare( " AND m.user_id NOT IN ({$exclude})" ); 1021 1021 1022 if ( bp_is_active( ' profile' ) )1022 if ( bp_is_active( 'xprofile' ) ) 1023 1023 $members = $wpdb->get_results( $wpdb->prepare( "SELECT m.user_id, m.date_modified, m.is_banned, u.user_login, u.user_nicename, u.user_email, pd.value as display_name FROM {$bp->groups->table_name_members} m, {$wpdb->users} u, {$bp->profile->table_name_data} pd WHERE u.ID = m.user_id AND u.ID = pd.user_id AND pd.field_id = 1 AND group_id = %d AND is_confirmed = 1 {$banned_sql} {$exclude_admins_sql} {$exclude_sql} ORDER BY m.date_modified DESC {$pag_sql}", $group_id ) ); 1024 1024 else
Note: See TracChangeset
for help on using the changeset viewer.