The problem with bp_core_signup_user is it’s executed during registration only. If a member decides to change their “Name” at a later date, I don’t think the corresponding WordPress fields will be updated.
I was dealing with this problem too. It might not be exactly what you’re looking for, but in my case I just decided to hook into the BP signup, extract the full name, split it at the first space and then update the WordPress ‘first_name’ and ‘last_name’ user metadata fields with the results.
Here is the code you can add to your functions.php or custom plug-in:
// define the bp_core_signup_user callback
function ac_bp_core_signup_user( $user_id ) {
// make action magic happen here...
$fullname = bp_get_member_profile_data( array( 'field' => 'Name', 'user_id' => $user_id ) );
//split the full name at the first space
$name_parts = explode(" ", $fullname, 2);
//set the firstname and lastname for WordPress based on the BP name
//firstname
if( isset($name_parts[0]) )
update_user_meta( $user_id, 'first_name', $name_parts[0] );
//lastname
if( isset($name_parts[1]) )
update_user_meta( $user_id, 'last_name', $name_parts[1] );
//not needed for an action, but I always like to return something
return $fullname;
}
// BuddyPress save first name last name to WP profile on signup
add_action( 'bp_core_signup_user', 'ac_bp_core_signup_user', 10, 1 );
Thanks for the reply, so you’re saying I should rename this field to “First Name” and create a secondary field for “Last Name” ?
That’s one approach you could take.
If there is nothing special about the field, is there a hook or filter where I can replace the field entirely and map them to first / last name fields in WordPress?
I think not unfortunately. You could request one be added by opening a ticket on Trac
Yup, it’s failing on groups_is_user_member() in bp-groups\bp-groups-functions.php.
You could hack that function, but I think what you really need is a filter hook on the return.
Then your task would be simple.
groups_post_update() in bp-templates\bp-legacy\buddypress-functions.php uses groups_is_user_member()
You could create an enhancement ticket on trac.
Thanks for the reply, so you’re saying I should rename this field to “First Name” and create a secondary field for “Last Name” ? If there is nothing special about the field, is there a hook or filter where I can replace the field entirely and map them to first / last name fields in WordPress?
For unknown reason I suddenly started getting a page asking me for activation key every time after I register myself as a pretend new user and after clicking on the activation link in the email.
I read a post https://buddypress.org/support/topic/activation-code-after-new-member-registration/ with the same problem saying the activation key is in the email. I tried that so this is an example of the link,
http://localhost/wordpress/activate-3/zhG7gX5p4mtAnSv91K1ePhgBO3V3laWh/
I tried zhG7gX5p4mtAnSv91K1ePhgBO3V3laWh
activate-3/zhG7gX5p4mtAnSv91K1ePhgBO3V3laWh
and the entire url,
but none of them work.
In fact, the new user was never created because I checked the Users at admin backend, the new user was never there.
A participant in the post said BP Autologin on Activation plugin solved her this problem but I tried it and it did not work. I think my situation is different from other members in that post because their newly registered members was actually created but mine wasn’t.
I don’t know why this would happen because it never had this problem before.
My site is still localhosted, if that matters.
WP 4.7.3
BP 2.8.2
Please help.
Thank you.
Hi Henry – I pasted this at the bottom of my functions.php file in my child theme and emails are still sent from wordpress@jamsession.dk.
I do not use Twitter. When I register for a WordPress website, I do not realize that the username will be revealed in BuddyPress. I prefer to see my username as part of the login secret and I think many of my BuddyPress friends will feel the same. I would like to see a setting that makes it possible to use the real name or the nickname on screen as is the case for comments to postings in WordPress. Or a plugin to do so.
Not defined yet. It’s still a work in progress.
https://github.com/buddypress/next-template-packs
or follow tickets related to “bp-nouveau” on Trac.
I commented on this behavior in this ticket comment:
https://buddypress.trac.wordpress.org/ticket/7051#comment:3
BuddyPress sets the Reply-To email header to the admin email’s address by default.
To override this, you have to use the 'bp_email_set_reply_to' filter since 'wp_mail_from' only handles the From email address header and not Reply-To header.
The following would work:
add_filter( 'bp_email_set_reply_to', function( $retval ) {
return new BP_Email_Recipient( 'noreply@example.com' );
} );
In addition, read here the main reason for media upload limit and get some hints to (evtl.) increase it.
FYI – I’ve also tried to disable all the plugins except buddypress and to use a standard wordpress template (twentyseventeen), but the problem is still there.
Hi,
ever heard about MyCred plugin ? Give it a try, was initially made for BuddyPress… 😉
Note: bbpress can work with BuddyPress, but is a separate plugin, with his own support. Here we help only for BuddyPress.
Hi,
2 – define (‘WPLANG’, ‘en_US’); in wp-config
3 – Dashboard >> Settings >> General >> Site Language (buuddpress-en_US is not in the list)
2 is no more necessary since WP 4.0. Remove it.
3 is not intended to show in that list. General settings are for WordPress language, not for plugins.
WP’s language files use only the domain name (en_UK.mo, en_US.mo, be_BE.mo, etc)
Plugin language files like BuddyPress use their name in addition to the domain (buddypress-fr_FR.mo, buddypress-en_US.mo, and so on)
In your case, you can use WP default language setting (english) and a more specific lang for BP, en_US. It is an avantage for you, as there are only few difference beetwen US and GB, and you can even omit BP translation, as it is coded in english. The situation is much more annoying for all other non english languages!
https://codex.wordpress.org/Installing_WordPress_in_Your_Language
BuddyPress doesn’t use breadcrumbs. This belongs to bbpress and sometimes to a theme or a plugin.
Ask on respective support. Or try out this plugin.
No. They are not in spam. My coworker contacted WPMU dev support and they seemed to not be able to send BuddyPress emails either. WordPress emails work, i.e. forgot password and registration through wordpress works.
https://premium.wpmudev.org/forums/topic/buddypress-emails-are-not-working
Please read WordPress Codex and follow the install instructions.
Your issue is not related to BuddyPress.
Installaling a plugin has nothing to do with settings!
And it is not possible that WordPress recommands to use /something/ after index.php.
If it does, please give the link to that documentation.
Here the one related to htaccess. Normally this file is generated automatically the first time you install/activate WordPress. On a usual install, his content is “basic” (explained in the doc).
Again, read through BuddyPress documentation.
In fact, you have nothing special to do, except to control bp’s setting and WP’s permalinks. It is probably there where you have “index” appearing wrong.
Thanks for reply.
I think the installation is done correctly since I use wordpress plugin installer.
As I check your recommendation to read the install guide and Pages chapter.
As for the slug, i use http://festivals.my/index.php/sample-post/ as recommended by wordpress.
is there anything to do with the htaccess files? or any other related problem?
Well thats unfortunate, I figured something like this HAD to exist for wordpress since it has been a feature in PHPbb for quite some time. I wonder if I can use Iframes to set the phpbb forum with the proper application into wordpress, at least until I sell a kidney to afford a dev to write the wordpress plugin.
@airathalitov, yes you have 😉
@henrywright,
you’re right but not in this case. PHP 7.x related issues can be reported on that ticket (7392).
See Paul’s answer on #7406.
ola,
haven’t you seen that you can enter a title for that field ?

User Extended Profiles