I think I understand what your issue if yes, but still sounds wierd to me lol.
Anyways, you could try add this snippet code into a WPcode PHP snippet and see if it will do the trick for you by setting up default sorting to be by display name.
// Force BuddyPress member directory to always be sorted by display name
function custom_buddypress_member_sorting( $args ) {
// Check if the current page is the members directory
if ( bp_is_members_directory() ) {
// Set the 'orderby' to 'display_name' and 'order' to 'ASC'
$args['orderby'] = 'display_name';
$args['order'] = 'ASC'; // You can change to 'DESC' for descending order
}
return $args;
}
add_filter( 'bp_after_has_members_parse_args', 'custom_buddypress_member_sorting' );
Let me know if that might solve your issue. ๐
If this doesnโt work for you, it would be nice to get access at least to the site to troubleshoot the issue from there. I don’t have a ton of time to troubleshoot lol, but I would like to give it a try. Hopefully it can be fixed to work as intended so you can move on with something more fun to do than troubleshooting the same issue for days lol.
I could provide you with my “junk-email” which I use for this exact purpose (if needed).
I use Nouveau by the way
Unfortunately it did not work, your code.
Ideally, I would like to keep the dropdown (last active, registrered, alphabetical) the same, just by default that “alphabetical” is selected AND that it sorts on display name.
I have already tried numerous types, but it won’t let me sort by display name, nor will it allow me to change the default selection.
Can you provide me with your junk e-mail and access needs? (like, do you also need admin access or ftp/db access?)
Please note I am already appreciating all your time and effort, I’m not expecting anything and I’m already very happy with the help so far.
Thanks.
And you use the BuddyX theme with BuddyPress and not the BuddyBoss Platform right?
You can send me an email here: support@spiritualskill.com
This reply will be deleted once you reach out, in order to prevent spam mails in the future. ๐