I’m not sure why but my registration page is suddenly not functioning properly.
After completing the details at mysite.com/register/ users are directed to the homepage rather than the page saying to check their emails for the activation link.
Activation emails are not being set and the info they enter on the registration page is lost (i.e. they’re not added to pending members).
I changed the copy in the on the registration page last week in the file at wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/register.php – but I tested the page extensively afterwards and it seem to work fine and I didn’t touch any of the code, I just edited the page text.
It’d be great to get help soon as I’m currently running a promotion to join but no one can register so it’s kind of a nightmare!
Thanks guys. 🙂
I am having the same issue that just started recently. Our site is still in development so only Beta testing comments.
NOTE: When I first add a comment it ‘nests’ and looks fine in the comment hierarchy also showing ‘Comments (1)’. When I refresh the page the comment is moved to the top of the activity feed and becomes it’s own post. The original post commented on shows ‘Comments (0).
I’ve been looking all around the BP support topics and tried the following troubleshooting:
• Activated a separate theme clean theme (Twenty Sixteen), same issue.
• Deactivated JetPack which had caused issues with BP previously, same issue.
• Checked Settings > Discussion > Enable threaded (nested) comments, deactivate and reactivated.
• Found these two discussions but wasn’t able to fix. https://buddypress.org/support/topic/improve-comments-in-activity-stream/ & Try database reset? https://buddypress.org/support/topic/replies-disappear-when-i-try-to-reply-on-activity-stream-page/page/2/#post-95758
• There is reference that this may be a corrupt database but not sure how to even start testing or resolving that.
Thank all for any help!
Yes that’s do-able, it involes over-riding one of the BuddyPress template files.
First you need to know which BP Template you are using by looking in Settings/BuddyPress/Options and check the template setting, it will either be Legacy or Nouveau.
You also need to have a child theme do you have one set up?
Depending on the BP theme, you would create a directory in wp-content/themes/child-theme/buddypress/members
Then you would copy wp-content/plugins/buddypress/bp-templates/bp-legacy or bp-nouveau/buddypress/members/members-loop.php over to this directory.
From there you can edit the members-loop.php file and replace the unwanted items with items you could like.
That’s the general idea.
Hello everyone,
I have a problem inserting an image as iframe/embedded link from the Microsoft OneDrive cloud into a activity. It seems to get filtered out. I figured out that some html-tags are not allowed, so it tried to activate the <iframe>-tag via the bp_activity_allowed_tags hook. As a result I now get an empty frame, but the content is still missing. Any ideas how to fix that?
Thank you
Hi, everybody!
Could you help me to set set display_name = xprofile ‘first_name’ + ‘last_name’ at the user registration?
I’ve tryed this code:
function change_user_defaults($user_id) {
$user = get_userdata($user_id);
$mv_first_name = xprofile_get_field_data( 26, $user_id );
$mv_last_name = xprofile_get_field_data( 11, $user_id );
$name = $mv_first_name . ' ' . $mv_last_name;
$mv_login = $user_id . stristr($user->user_email, '@', true);
if ($name !== ' '){
$args = array(
'ID' => $user_id,
'display_name' => $name
);
wp_update_user( $args );
}
}
add_action( 'xprofile_updated_profile', 'change_user_defaults' ); /* but this works only after manual BuddyPress profile update */
/* I also tried these hooks too */
add_action( 'bp_core_signup_user', 'change_user_defaults' );
add_action( 'bp_core_activated_user', 'change_user_defaults' );
/* but it didn't work at the user registration */
Even with the BuddyPress CLI, this isn’t feasible. The best option I can think of is you creating a custom command or script to iterate the users and add and accept each other’s friendship requests.
Hi, Josh!
I am trying to solve a similar problem, but only I need to make the display_name = First_Name + Last_Name fields of the BuddyPress xprofile.
I have been tormenting for a long time and can’t find a suitable hook that firing when the xprofile fields First_Name and Last_Name have already been written in the database.
If you are not seeing code now in your theme then you could create a copy of this file:
buddypress\bp-templates\bp-legacy\buddypress\members\single\profile.php
Place it in the same theme location you mentioned above and make your edits.
If you are using the BP Nouveau template pack, then make a copy of this file:
buddypress\bp-templates\bp-nouveau\buddypress\members\single\profile.php
I forget to tell you my conf :
Version 5.0.3 | Unyson 2.7.21 | Woffice 2.8.0.3
Buddypress 4.1.0 | BuddyPress Xprofile Custom Field Types 1.0.6
I can add a bit more to this. I have checked my wp_mailfunction on my wordpress. Using a simple php script.https://www.butlerblog.com/2012/09/23/testing-the-wp_mail-function/
The mail is sending out as expected for several different email addresses I tried using wp_mail. So if BuddyPress uses the wp_mail function – the default installation must have configuration problem.
I have the same problem. The lack of community support makes me feel this plugin may not be worth the effort.
When you check the manage signups the new registered user is awaiting to be activated. It shows that an email has been sent. After you try and resend the activation email. It does trigger and add to the count – showing two emails sent. So it would seem most of the functionality is working. If I deactivate the plugin, my wordpress email notifications is working. I’ve checked the spam folder, and even tried non-gmail accounts and still getting no activation emails at all. However, I have received a buddypress notification when another member does a mention. So it appears some kind of small bug is the problem.
Does any of the core developers for BuddyPress check theses support forums?
The easiest approach, imo, would be to remove the current member search input from the members directory.
For example, create an overload of this file and delete the code re member search:
buddypress\bp-templates\bp-legacy\buddypress\members\index.php
Then get this plugin: BP Profile Search
And configure a custom member search that only includes the fields you want.
These are the forums for just the BuddyPress plugin.
Please direct your questions about LearnPress – BuddyPress Integration to the creators of that plugin.
BuddyPress has a CLI command now you can use.
wp bp tool repair friend-count
I think you’ve identified a bug with the registration form, it misleadingly gives the impression that the visibility for the Name field can be changed. Wuld you mind raising a bug report on https://buddypress.trac.wordpress.org/ ? Also you can use the same link to raise your feature request.
Thank your for looking into this, Venutius. Good to know that I can now raise a bug report, and a feature request as well. Thank you and your team for putting so much effort into this really great plugin!
I think you’ve identified a bug with the registration form, it misleadingly gives the impression that the visibility for the Name field can be changed. Wuld you mind raising a bug report on https://buddypress.trac.wordpress.org/ ? Also you can use the same link to raise your feature request.
If you are not an experienced developer, you may be better off hiring such a person.
Until you write some code and ask specific questions about it, here are some general pointers…
Take a look at how the activities are restricted on a group activity page.
There are some codex pages that provide info:
Add custom filters to loops and enjoy them within your plugin
Activity dropdown filters in templates
Thanks for your quick reply, Venutius!
I have tried the WP 2015 Theme and got the same results. So I switched back to KLEO and noticed, that the xProfile fields do change to the desired visibility settings, AFTER the user clicks the SAVE SETTINGS button. So I guess I was confused by the fact that BEFORE you hit the save button there is a misleading visual feedback (the visibility term does not alter to the according setting the user has just changed it to, it still displays the same value as before).
Could this be changed in the next release?
My first problem still remains: the „change display name visibility option“ is displayed beneath the name field on the user Registration page. This doesn’t make sense, if the name’s visibility throughout BuddyPress network is mandatory. How can I get rid of this line? Does this line and it’s user changeable visibility options really not appear on a default install?
In the WP Dashboard I cannot change the options for the primary Name field. Only the fields under the details tab can be altered by admin and set to be visibility-changeable by the user. (Hope you understand what I try to say 😉
Regards,
Martin

Hello,
I upgraded buddypress from 2.9 to 4.1
I dont see default avatars in comments now. in img html I have something like this: http://img%20src=%20width=50%20height=50%20alt=%20class=avatar%20avatar-50%20wp-user-avatar%20wp-user-avatar-50%20photo%20avatar-default%20/
Do you have any suggestions?
I had to disable my child theme temporarily for some other issues after a recent theme/wordpress update and have lost some of my customizations. Becasue of this I now have the same issue but I don’t want it to show in the directory. I managed to remove it from my profile pages. I am using bp legacy though not nouveau. I tried your snippet with the snipit plugin and then tried it by editing the snipet to say buddypress_legacy but still not working. Any thoughts?
I also noticed that now on the right column people’s names wrap right like they are doing on that page if the screen is full? Any snipits for that that I can use until I get my child theme back running properly?
Okay looks like I can extend BP_Component which can then have rewrites, screens and actions.
How To Create A Custom BuddyPress Component In A Plugin
BP_Component
Great 🙂
If the following is to redirect Registration from BP to WP, what would redirect from BP to [Peepso_Register] ? And exactly where would I put it?
(Any reason why nobody has developed options to turn everything on or off in BP since it is so integrated with other themes and plugins?)
/*disable registration bp */
function my_disable_bp_registration() {
remove_action( ‘bp_init’, ‘bp_core_wpsignup_redirect’ );
remove_action( ‘bp_screens’, ‘bp_core_screen_signup’ );
}
add_action( ‘bp_loaded’, ‘my_disable_bp_registration’ );
add_filter( ‘bp_get_signup_page’, “firmasite_redirect_bp_signup_page”);
function firmasite_redirect_bp_signup_page($page ){
return bp_get_root_domain() . ‘/wp-login.php?action=register’;
}
Version 4.1.0 BuddyPress
Version 5.0.3 WordPress
Home Default
I have even modified the original message in bp-core-functions.php
There are 4 instances of that string in that file. Did you change all of them ?
As you should know – editing core files is not a good idea.
That string is in the buddypress.pot file.
And it seems to be in the buddypress-fr_FR files.
https://translate.wordpress.org/projects/wp-plugins/buddypress/dev/fr/default?filters%5Bterm%5D=complete+the+activation&filters%5Buser_login%5D=&filters%5Bstatus%5D=current_or_waiting_or_fuzzy_or_untranslated&filter=Filter&sort%5Bby%5D=priority&sort%5Bhow%5D=desc
So I do not know why you are having issues.
Have you tried using the Repair Tool – …/wp-admin/tools.php?page=bp-tools > Reinstall emails (delete and restore from defaults).
page-bp-public.php is not in the BuddyPress plugin.
$query->set('post_type', 'topic');
‘topic’ post types are created and handled by bbPress.
and me i need install buddypress for my blog