I have the same problem. Throughout the website, we make use of unique display_name. I didn’t get the real hook or filter to manage this situation. Please check the link below.
My target is, show display_name all over the site.
example:- while we are using @mention plugin, drop down user list shows the display_name. when we select any name, then the @display_name need to show on post field and also @display_name shows the activity display loops.
Thank you for your reply.
I wrote bp-custom.php inside the folder( wp-content/plugins/).
I would link to add extra field inside the file( buddypress/bp-themes/bp-default/activity/post-form.php) and need to insert that value on the table (wp_bp_activity_meta). I wrote the function for this purpose. Unfortunately its not working. please help.