@jarkin13
3 years, 10 months ago
@johnsimpson64 if you go to your WP admin, go to Tools > Buddypress. Then there is an option to repair a bunch of data, but I just select Repair member “last activity” data.. That fixes it for me.
Not sure if this is good practice, but this worked for me!
Thanks @johnjamesjacoby! I found the issue was with a plugin called BP Better Messages. Not sure why, but I contacted them directly.
To order alphabetically user the bp_nouveau_get_members_filters.
bp_nouveau_get_members_filters
function themename_bp_reorder_member_directory_filters( $filters, $context ) { if ( 'group' !== $context ) { $filters = array(); if ( bp_is_active( 'xprofile' ) ) { $filters['alphabetical'] = __( 'Alphabetical', 'buddypress' ); } $filters['active'] = __( 'Last Active', 'buddypress' ); $filters['newest'] = __( 'Newest Registered', 'buddypress' ); } return $filters; } add_filter( 'bp_nouveau_get_members_filters', 'themename_bp_reorder_member_directory_filters', 10, 2 );