Screenshot of test user “debugger” field information in bp_xprofile_data:

On the screenshot you can see field name 1 (Name) come in as “Annie”. So, this is not the same field and not the display name. The display name CAN become “Annie”, when i choose to change it after I edit my profile, but not as standard, than it will use my username. This is also the desired situation, I want people to show with their usernames.
So, after the WordPress update the following has changed:
– It is now mandatory to use “Name” for mandatory base field, I am not allowed to translate that. I can do it probably with Translate press as you suggested and I will look into that. But it is a new thing, it was not like that before. Thanks for your suggestion!
– The “Alphabetical” sorting option in the memberlist is now sorting on this “Name” field and not on the “display name”. If a user their username is for example: robinhood and their “name” is “patrick”, it will give a really weird non-alphabetical result in the userlist, as you can still see their usernames, but the sorting is now done on a different field than before. Do you follow?
Anyway, I would like to have it that it sorts by default on alphabetical and that it will sort on “display name” rather than “Name”.
Do you think this is a release bug, or is this change intentional?
Any suggestions? Wait for a fix, or will it have to be manual code in wpcode?
Thanks for your support again.
(2/2)
Also from my side, very much appreciated all the help and effort -> sorry for not mentioning that before! I was so hyperfocussed on the issue that I forgot human interaction.
Anyways, again, thank you.
To further empathize what I mean with the display name is this:
Screenshot of a test user I just registered via the normal process on the website signup form:

You see username, nicename, display name are automatically set same as the username (which is debbugger)
I filled the “Name” field on signup with “Annie”, as a random name. and some other random fake user information. As you can see “Annie” is not showing up, only that “debugger” which I choose as my username.
Screenshot of bp_xprofile_fields, where you can see the “Name” base field (1):

As you can see, “Name” is hardcoded in the database. And this is mandatory. I had this translated to “Naam” before, but after the wordpress update, that was no longer allowed. It took me days to figure that out, but I am happy I found out. This thing was the sole reason everything like friendlist, userlist, etc. did not work anymore. Please note I am not allowed to rename or change any setting with regards to this field. I am also not allowed to delete it. I am stuck with it, it seems.
(1/2)
Hello again 🙂
This might start to make sense then!
First, when you translate something within the code itself (not using a translation plugin and po/mo file) it will for the most part be overridden whenever you update your WordPress / plugins that are translated. So, this might be why it doesn’t work now after the update.
I personally use a combination of LocoTranslate and TranslatePress. This is because BuddyPress activity is updated the way it is and for that reason LocoTranslate itself is not able to translate the dynamic content (like when activity updates – without the page doing so) – this TranslatePress supports.
So, for the BuddyPress content that can’t be translated correctly using LocoTranslate, I use the TranslatePress for those. Both plugins are free to use, and it doesn’t require you to purchase any expensive addons.
It’s important that you pick the right placement for your translation-files (custom, author, system). If they’re not in the right place the translation might not show up on the front-end. Also make sure you setup the settings within the LocoTranslate plugin not to override your translated files upon updating WordPress: Loco Translate > Settings > File system access > Modification of installed files & Editing of POT (template) files must be set to Disallow.
For the display name, this should be the default value it sorts by. Mine by default sorts by display name. When you go to Users > Profile Fields – you can edit the different settings from within there with the names and what is mandatory/not mandatory.
For the sorting part (or other features in the future) if it still causes issues, maybe a snippet code using a plugin like WPCode Lite might be a better solution rather than going into the code and edit it from there. In this way it will not get affected in most cases when you update WordPress, plugins and theme.
Maybe some of this can help you – if not – then feel free to keep me updated. 🙂
On second thought… this is within the Buddypress coding, so something that must have changed for WordPress 6.7 is not interacting correclty anymore with Buddypress.
The “Alphabetical” sorting of the user list is sorting on the “Name” base field of bp_xprofile_data table (field 1). This field I had renamed to “Naam” (which is Dutch for Name). This is hardcoded in the database and not avaibable as translation string. After switching back to “Name”, everything worked again. Before, I was allowed to use switch the name of the field. How do you translate this? I now have used a filter function in my functions.php, but it shouldn’t be necessary.
Furthermore I discovered the memberlist is sorting on that particular “Name” field, instead of the “display name” I want to use. Any idea’s how to get the userlist to sort on display name instead of “Name” ? Why do we have a mandatory “Name” field anyway?
Using WordPress 6.7
Installed as a root directory
Wordpress is working fine
Using BuddyPress 14.2.1
No other BuddyPress plugins installed
Using Themify theme Peak, no mods
No custom functions
Using bbPress 2.6.11
Hosted by ‘Omnipresents’ is in association with LiquidNet Ltd.
Server running Rocky Linux 8
I have not overloaded any BuddyPress template files
Template Pack BuddyPress Nouveau
I am trying to set up a forum. Everything is working so far except for recent post, comments, archives, categories are not appearing. Ive tried looking through the forum and looking around in Buddypress with no luck. Any ideas?
I managed to locate the issue. After the wordpress update, it was not allowing my translations for the xprofile fields anymore. For some reason it has to be English now, it is no longer allowing it to be Dutch. I’ll flag this with the WordPress development team.
I’ll close the topic as the issue is likely not because of Buddypress but because of WordPress.
How can I resolve./close this topic?
Hello,
I am using WordPress and BuddyPress in latest version – in a multisite installation.
My problem is: WordPress post updates do not show in activity stream in none of my sites. They even are not visible in activity database in the dashboard. Other status updates do work fine. I surely enabled the option to have WordPress core updates in the settings.
I tried disabling all other plugins. Issue still persists.
Does BuddyPress has a problem with multisite? Do you have any idea?
Thanks!
Yes – cache is cleared.
I tried on 2 different servers.
I have used the basic wordpress theme – which was updated today.
At this moment the issue is only with alphabetical. All 2 users are “activated”.
I will send you a dm with link of the website url.
Found plugin that does the job:
BP Fan Page
Try download this plugin – and switch to the user you created (can also be done from backend) – and “login” with that user. Normally users show up, when they have logged in after registration.
Maybe that works. 🙂
User Switching
Please do me a favor, go to your latest buddypress and wordpress version and try to use the userlist/friendlist, I am 1000% sure you are having the same issues.
Sorry, but works fine for me – even with latest update to BuddyPress Version 14.2.1.
I even run a pretty complex site with a lot of software that needs to be compatible – including custom code setups and so on. Still works 🙂
I installed a blank wordpress on a test environment, clean sheet.
I installed a clean, blank install of buddypress.
I use the lastest update of twenty seven theme.
I have only 1 user, which is me (admin) of the test site, and I show up.
I added a second user, via the admin, that did not show up.
I added this user as a friend, this user show up in “my friends” but not in userlist.
Than I did database repair (fix total members) and fix friendship total.
Than the second user show up.
But when trying to sort on “Alphabetical”, I get “no members found”
All my plugins have been de-activated except for Buddypress.
I tell you, something is wrong. Please believe me.
This is the screenshot: https://ibb.co/W6drH8p
I am not using caching of any kind. It is a clean install. No plugins or other things running. Only my theme and buddypress.
Please do me a favor, go to your latest buddypress and wordpress version and try to use the userlist/friendlist, I am 1000% sure you are having the same issues.
Hi,
WordPress version: 6.7
BuddyPress version: 14.2.1
https://onehomeplanet.com
The issue still happens with Twenty Twenty-Five theme
Though BP says that changes are saved, they are only saved under BP Edit tab and in WordPress user profile, but not under BP View tab (which is the content visitors will see…).
Thanks for your help,
Philippe
Hi
Verify BuddyPress Compatibility with Your Theme or try to other theme Like BuddyX Free
Hi kstojchev125,
BuddyX is an ideal theme for community and membership websites. It provides a solution to all kinds of communities.
BuddyX
Hi,
This plugin will add an extended feature to BuddyPress. It will use Shortcode for Listing Activity Streams, Members directory, and Groups directory on any post/page within the website.
Wbcom Designs – Shortcodes & Elementor Widgets For BuddyPress
Try FREE BuddyPress Theme: BuddyX – Offers unique layouts with clean code and easy-to-customize options, giving you a whole new way to visualize BuddyPress.
BuddyX
Hi there,
My buddypress is updated to the latest verison. Today there was a major WordPress release (6.7) but after upgrading, my buddypress member list, friendships and friendlist stops working. Seems Buddypress needs an update as well, to work with the newest WordPress.
Can you please update the plugin to fit with the latest Wordspress 6.7 as soon as possible?
Thank you !!
Hi BuddyPress Community,
I’m using BuddyPress to create a community on my website, but I’m having trouble with user profile pages not displaying correctly. When members view their profile, the layout is broken, and certain elements (like the profile picture and activity feed) aren’t showing up as they should.
Here’s what I’ve tried so far:
Checked for conflicts with my WordPress theme (using a BuddyPress-compatible theme).
Disabled other plugins to see if they’re causing issues, but the problem persists.
Cleared the site cache and checked the site in multiple browsers, but no luck.
Could there be a setting in BuddyPress I’m missing, or does anyone have tips for troubleshooting profile page display issues? I’d appreciate any guidance on how to get these pages to look as intended!
Thanks in advance!
Hi @impartialintel,
You seem to be confused between Actions vs Filters. Additionally, bp_activity_before_save is clearly an Action as can be seen by the following:
do_action_ref_array( 'bp_activity_before_save', array( &$this ) );
The reason you are receiving the error message is because the aforementioned action is only passing 1 (one) argument $this (object) while your callback is expecting 9 (nine) arguments thus, there are “Too few arguments to function bp_require_link_in_activity(), 1 passed” as the error message has indicated.
Figured it out (I’m stupid lol).
I can confirm that the snippet from Brajesh Singh still works. Just make sure to place it into your bp-custom.php (/wp-content/plugins/bp-custom.php). Turns out my role wasn’t called “Basic” (as shown/named within the backend). Since I use Paid Membership Pro it used pmpro_role_1 set by PMP.
Remember to change the role within the code down below to the one you want to exclude. 🙂
Credit: https://buddydev.com/hiding-users-on-buddypress-based-site/
/**
* Exclude Users from BuddyPress Members List by WordPress role.
*
* @param array $args args.
*
* @return array
*/
function buddydev_exclude_users_by_role( $args ) {
// do not exclude in admin.
if ( is_admin() && ! defined( 'DOING_AJAX' ) ) {
return $args;
}
$excluded = isset( $args['exclude'] ) ? $args['exclude'] : array();
if ( ! is_array( $excluded ) ) {
$excluded = explode( ',', $excluded );
}
$role = 'administrator';// change to the role to be excluded.
$user_ids = get_users( array( 'role' => $role, 'fields' => 'ID' ) );
$excluded = array_merge( $excluded, $user_ids );
$args['exclude'] = $excluded;
return $args;
}
add_filter( 'bp_after_has_members_parse_args', 'buddydev_exclude_users_by_role' );
Hi @thinlizzie,
Yes, that is correct. It won’t be from the logged-in user. Currently, I am pulling the username from a page url. The username is located at the very end of that url. Here is an example of what it would look like for @johnsmith:
http://www.samplewebsite.com/bpmembers/johnsmith
*The url structure above does not change based on login status. The url would be exactly the same for both logged-in users and visitors (not logged in) viewing that page.
I want to pull information from any user’s account that is stored in my site’s database (profile image, bio, etc.) and use separate shortcodes to display each piece of information on any page I create in my WordPress admin. Also, the information will not be different, but display the same profile information regardless of login status. So a visitor or logged in user would see the same profile information.
I hope I can achieve this using PHP codes and custom shortcodes that look something like this:
Examples:
[show avatar username= “johnsmith”]
[show description username= “johnsmith”]
This way, I can manually swap out the username within the quotations to display information for any user’s profile.
Thank you for this plugin @dcavins!
Didn’t know someone took the time to update the old “BP Group Hierarchy” plugin by David Dean.
Can confirm it works for me with the following setup:
WordPress - Version 6.6.2
BuddyPress - Version 14.2.1
Template Pack - Legacy
The only minor issue I’m having is that my theme doesn’t support the setting:
Replace the flat groups directory with a hierarchical directory.
This makes sense though and isn’t necessary.
Thank you for updating this. 🙂
Hi
I’m using BBPress with BuddyPress in a WordPress site with MicroOffice theme. We’ve notice recently that the BuddyPress Activity Feed is no longer updating when someone Favourites a Forum post inf BBPress. I’ve tried turning off all other plugins to no avail. I’ve also delted and reinstalled buddypress.
Also I’ve notice the BuddyPress RSS feed is not working, and when I go into the activity feed domain.com/activity (for example) it will say 9 favourites but when you click o it you only see two listed. Its also not increasing from 9 when I click on forum items favourite button.
Does anyone have any ideas please?
I’m using the latest wordpress default block theme. Where can I swap template for buddypress pages? Currently buddypress is using the default “pages” template for all buddypress related pages.
How to apply another page template to buddypress? There is no way to “edit page”.
I have the same problem. I’m also using the latest wordpress default block theme. Where can I swap template for buddypress pages? Currently it is using the default “pages” template for all buddypress pages.
How to apply another page template to buddypress?
I am amazed how few people have asked this. It should be the number 1 question.