I have a relatively new website that we are trying to promote and get users to sign up for. We have just under 200 users but only 30 or so are active. How can I remove the information about numbers of users active or not active from the member view page of buddypress or how can i make all users automatically active?
Hi Tom-
I’d guess that you (or the previous site admin) edited the Display Name field to be called “Name.” You can check by visiting this screen on your installation: /wp-admin/users.php?page=bp-profile-setup
“Display Name” is usually the first profile field created, so if you inspect the input, and it has the name=field_1, then you can guess that your “Name” field is the “Display Name” field I’m talking about, just renamed, similar to how you renamed the “Base profile.” It sounds like when you’re talking about “Forum Name” you’re talking about BP’s Base Profile > Display Name, but with your own naming convention.
I also was wrong about the synchronization between Display Name and First and Last name. If I update the Display Field to be “Too Slim”, the WP First Name will become “Too” and the WP Last Name will become “Slim,” assuming that “Enable BuddyPress to WordPress profile syncing” (s you said). The WordPress “Display Name” field will become “Too Slim.” The WP “Display Name” is also looks like what is used by bbPress in its loops.
So, if you want your users to be able to change the name used by the bbPress forums, you’ll need to have “Enable BuddyPress to WordPress profile syncing” checked. Then, the WP “Display Name” field is updated when the BP “Display Name” field is checked. If you want to leave WP’s First and Last Name fields to not be synced after sign-up, the following code could be added to your bp-custom.php file or wherever you keep your customization code:
// Remove BP's action because it syncs nickname, display_name, first_name and last_name.
remove_action( 'xprofile_data_after_save', 'xprofile_sync_wp_profile_on_single_field_set' );
function my_custom_xprofile_sync_wp_display_name_only_on_single_field_set( $user_id = 0 ) {
// Bail if profile syncing is disabled.
if ( bp_disable_profile_sync() ) {
return true;
}
if ( empty( $user_id ) ) {
$user_id = bp_loggedin_user_id();
}
if ( empty( $user_id ) ) {
return false;
}
$fullname = xprofile_get_field_data( bp_xprofile_fullname_field_id(), $user_id );
bp_update_user_meta( $user_id, 'nickname', $fullname );
wp_update_user( array( 'ID' => $user_id, 'display_name' => $fullname ) );
}
add_action( 'xprofile_data_after_save', 'my_custom_xprofile_sync_wp_display_name_only_on_single_field_set' );
It’s a modified version of this function, leaving the first and last name logic out: https://github.com/buddypress/BuddyPress/blob/5.0.0/src/bp-xprofile/bp-xprofile-functions.php#L803
David (@dcavins), do you have any ideas why I wouldn’t be seeing the Display Name under Edit Profile, as you said it should? Or why Buddypress overrides important BBpress fields for editing the forum profile? I think there must be a way around this. I do not see that Memberpress is involved in this profile page at all (no apparent mepr classes or js shown in developer tools). Thanks very much for any help.
Hi Slava
What an awesome function! Just what I was looking for ๐
It still works on my BuddyPress setup, but I just wanna know if you have made the function even more elegant or if you have solved the issue in another way.
Thanks
Torben
I just teste your patch : It’s OK ! Except one little thing that could be mistaken by the user : hte message in buddypress profile page after changing the email adress is something like that (in french in my web site) : The modification of youtr email adress for “new mail” is pending. Watch your email “old email” to get activation link, or stop the pending modification.
Even if at last the user will find le mactivation in his news mailbox, That could be misunderstood as only sent on the old email and… get support from me whereas it’s not necessary.
What do you think about that ?
Thanks for the patch anyway !
Hi! I’ve been playing with buddypress for a couple of weeks and so far so good, but I am struggling now.
I don’t know why but in the Front/home page of my members there is an event that I am not able to delete. Even though I don’t have any event, it is showing an event of the default template of my theme.
I would really like to delete.
Anonymous UserInactive
Well Laurent nice catch!
I think it’s a bug we introduced in version 2.5. I will investigate more asap. You can follow our progress from this ticket:
https://buddypress.trac.wordpress.org/ticket/8138
Anonymous UserInactive
Hi !
I would try to deactivate BuddyPress from the Administration if you can still access to it. Otherwise using your FTP access I would remove the buddypress folder that should be into the /wp-content/plugins directory of your site. I would then go within the admin to switch to a “TwentySomething” WordPress theme, download a fresh version of BuddyPress, reactivate it. See what happens. If it’s fixing the issue, then ask for help to the author of your theme. Otherwise, eventually redo previous steps to remove/re-download BuddyPress. Before reactivating BuddyPress, deactivate all other plugins. See what happens. If it’s fixing the issue reactivate the other plugins one by one until the bug is back. Once it’s back ask for help to the author of the plugin. Otherwise, try to find the error_log file with your host to see the potential error message.
I also advise you to read the Basic Trouble Shooting part of this forum topic:
https://buddypress.org/support/topic/when-asking-for-support-2/ (especially if you use bp-custom.php or the wp-content/mu-plugins/ folder.
FYI 4.4.0 just like 4.0.0 requires at least WordPress 4.6, 5.0.0 requires at least WordPress 4.7
WP 5.2.3
WordPress as a directory install?
BP 5.0.0
Child theme of Virtue premium
My problem doesn’t seem to be an issue, by a fonctionnality which seems weird.
When a user wants to change his email adresse in his buddypress profile, then an activation mail is sent… to the old email that have been just changed, not on the new one. In case this user changes his adress because he doesn’t have any access to this old email, he is stuck.
But if he changes his email adress in the WP user admin (actually, he can’t do that because he doesn’t have this access, only buddypress profile. it’s me who can make the test), WP send an activation email to the new adress.
And I can see that the fist example is an activation mail sent by Buddypress (email layout of buddypress), and in the second, it’s sent by WordPress.
So, it seems obvious that it’s a Buddypress action. I would like so that Buddypress send the activation mail on the new email adress of the user not the old one.
But impossible to find any clue, or any option in the Buddypress setting, or any information in this forum or in the web. As if only me have this problem…
Somebody could help me ?
Thank you very much !
Laurent DAGANY
Anonymous UserInactive
Hi @kevinbrands
I suggest you to read this page of the documentation:
Post Types Activities
Hi,
Am using youzer buddypress community plugin for my wordpress website. Currently i bought a new plugin for event calendar, its shortcode not supporting in buddypress pages (showing page as blank) but its working fine in other pages, actually i need to include that calendar in my buddypress community page. Ho to resolve this issue? please help.
Thank you to everyone who contributed to 5.0.0!
(I’ve updated WordPress.org and BuddyPress.org to this latest version.)
Anonymous UserInactive
Hi!
BuddyPress 5.0.0 is available for download. Here’s the announcement post:
BuddyPress 5.0.0 “Le Gusto”
Please upgrade ๐
Guys, developers, do something with this problem, PLEASE! After the last update, all emails related to buddypress were no longer sent. I tried all the options, including github and return to previous versions, nothing helps (((
Test mail and mail from other plugins, including wp_mail, works like a clock
Anonymous UserInactive
Hi Greg,
BuddyPress 5.0.0 will be released very soon.
Anonymous UserInactive
Hi I confirm BuddyPress is still under active development. Next major version will be released shortly.
How to deactivate the login and registration bar in the upper right. Because I have it inserted in the sidebar. I am using the Buddypress Nouveau template. Thanks for your help.
Hi guys
our site has been crashing today and it is the buddypress plugin, its only happening on one site and only just happened. It’s not happening on our other sites I was wondering if you could help please as we do everything around BP
site http://www.thesmallbusinesswarehouse.com
1)if yes what did you learn along the way?
2)do you allow picture uploads?
3)do you allow user group creation?
4)how do you control abusive/spam posts?
Hi everyone, thanks in advance for your help.
I installed BuddyPress, first time and I’m a total newbie. I dont know why, but Both pages, registration and activation pages goes to homepage.
I have checked membership box, its settled, uninstalled deleted and installed buddypress again, deleted cache, and the only plugins activated are Updraft and super cache…
I saw a tutorial wich said I had to add a shortcode to .htaccess with my IP, haven’t done that yet, should I? And if it so, should it be on a .htaccess file on a child theme folder?
All your help its fully appreciated, thank you!
Help! Groups function not working with BuddyPress through our site which we updated with WordPress. Any ideas on how to get this updated for our members to access the group? Shows up at the top of the page with:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘bp_group_new_topic_button’ not found or invalid function name in /nfs/c09/h02/mnt/128956/domains/ndchicago.org/html/wp-includes/class-wp-hook.php on line 286
Also will not allow new users to be added, and only shows one page of posts. Our WordPress version is WordPress 5.2.3, BuddyPress is legacy BuddyPress plugin. Any help is greatly appreciated.
Hi there
(1) Inside my page section in WP admin panel, I can’t see the Profile page for Buddypress, how to enable this?
(2) Event manager: I can’t create a new event from the profile page of my user – the button create is not shown
Hello! Buddypress has two notification methods – system messages and mail. I need to add another way: SMS. I havenโt found it anywhere in the documentation about this possibility. Could you tell me which way to look?
Wordpress 5.2.3 Buddypress 4.4.0
When uploading a profile picture, the picture uploads but the crop tool don’t work. It’s a small 2×2 square that’s unusable.
I’m using the current KLEO theme and Buddypress Noveau.