As far as I can tell, this is the full list of required changes:
admin.php
LINE 19
$rs = $wpdb->get_results( $wpdb->prepare( 'Select ID from %s where user_status in (2,69)', $wpdb->base_prefix.'users' ) );
LINE 82 to 85
$sql='update %s set user_status=0 where ID=%d';
$wpdb->query($wpdb->prepare($sql, $wpdb->base_prefix.'users', $user_id));
$sql='update %s set hide_sitewide=0 where user_id=%d';
$wpdb->query($wpdb->prepare($sql, $wpdb->base_prefix.'bp_activity', $user_id));
LINE 98
$rs = $wpdb->get_results( $wpdb->prepare( 'Select ID from %s where user_status in (2,69)', $wpdb->base_prefix.'users' ) );
LINE 251 to 253
$sql = 'select ID from %s where user_status in (2,69) order by user_registered LIMIT $start_from, 20';
$total_pages = ceil($wds_bp_member_requests / 20);
$rs = $wpdb->get_results( $wpdb->prepare( $sql , $wpdb->base_prefix.'users') );?>
core.php
LINE 187 to 188
$sql = 'update %s set hide_sitewide=1 where user_id=%d';
$wpdb->query( $wpdb->prepare( $sql , $wpdb->base_prefix.'bp_activity', $user_ID) );
LINE 228 to 233
//Hide user created by new user on activation.
$sql = 'update %s set user_status=69 where ID=%d';
$wpdb->query( $wpdb->prepare( $sql , $wpdb->base_prefix.'users', $user_id) );
//Hide activity created by new user
$sql = 'update %s set hide_sitewide=1 where user_id=%d';
$wpdb->query( $wpdb->prepare ($sql , $wpdb->base_prefix.'bp_activity', $user_id) );