OK, it looks like I was wrong. If “manage_network_users” is enabled, the administrator can edit the WordPress user profile but NOT the BuddyPress extended profile. So, the question is: how can this be enabled in BuddyPress?
as usual, @prashantvatsh you are the man — a true master of buddypress! <3
got it right! it IS apparently a ‘nouveau’ issue…..perhaps that should be addressed in a future update? i’m likely not the only one puzzled at this.
note: i realized at some point that the last 20 characters — no matter how long the description — would always be cut off. this of course causes great display problems with group descriptions that are short (as was the case in my initial screenshot within the introduction text of this post…).
so i created a new group (actually a few but this is the last one) to make sure i wasn’t imagining things. and yep — no matter how many times i changed the group description length, it would always cut off the last 20 characters. the group description could be 300 characters or 30. always just the last 20 characters were cut off.
this works though! perfectly, i might add.
thank you once again for this solid solution!!
screenshot of how this played out, before and after your solution:

add_filter( 'gettext', 'ps_change_activation_message', 20, 3 );
function ps_change_activation_message( $translated_text, $text, $domain ) {
switch ( $translated_text ) {
case 'You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.' :
$translated_text = __( 'Your membership account is awaiting approval by the site administrator.', 'buddypress' );
break;
}
return $translated_text;
}
Please add this snippet as well.
Thanks
Hello, Please I would like to manually approve my BuddyPress registration requests and Disable Automatic Account Activation, and also change the registration message to [ Your membership account is awaiting approval by the site administrator ] am using WordPress 4.9.8, http://betalifes.com/, Please help out
Hello!
Very new to buddyypress, fairly novice with the technical stuff so hopefully someone here can pick up what I put down.
So recently installed buddypress, latest version, wp and theme (Lambda theme) and all plugins up to date – no problems. Upon activation of buddypress, I get a 500 error. Went through the usual route, disable all other plugins, still 500 error, switch to 2017 theme, everything works, activate other plugins and still everything works. So I thought no problem, theme isn’t compatible with buddypress I will move on.
However, I had the same theme on another install so tried buddypress there – worked fine. Back to the original site, turned on debug , and found this:
Uncaught Error: Call to a member function get_primary() on null in /home/travellingnz/public_html/wp-content/plugins/buddypress/bp-core/bp-core-functions.php:2558
Upon arriving at the aforementioned line 2558, I came across this: $bp_menu_items = buddypress()->members->nav->get_primary();
Now if I remove that line, site runs fine, though the buddypress menu items are missing, add that line back and the 500 error returns.
Again excuse my technical virginity but is there something I can just add or take away from that line of code so that everything works or is there more to it than that? Appreciate any advice.
Anonymous User 16484011Inactive
Hi !
Prashant,
Thanks for your help.
AND Sorry for that on my stupid behavior that I have already that answer but without thinking I have post a new topic. It means I have still not that type of logical thinking mind.
Sorry for that again….
By the way as per your last answer I really work hard to find where is that file where drop down code exist. I open and close so many files but I can’t find it.
After frustrating on myself that there is no code exist on plugin’s any files. One thought coming on my mind that if I have that type of utility where I find the word on all php files from selected folder and as well as sub folders too. And I google and I find that this facility is in the software which I have already use Notepad++.
Using the help of that utility I not find any files where the word “Bulk Actions” or “Add Star” etc…
So, I tried after thinking little to try to search on Buddy Press plugin directory and I finally find that file.
The file path is wp-content\plugins\buddypress\bp-messages\bp-messages-template.php
I wrap the code as you earlier help me and you not believe in my first try I got the solution. I wrap as below…
<?php if(current_user_can('manage_options')){?>
<option value="delete"><?php _e( 'Delete', 'buddypress' ); ?></option>
<?php }?>
Yeappy !!!
Thanks Prashant,
Happy Diwali &
Happy New Year in Advance.
Anonymous User 16484011Inactive
Ya you are right Prashant. I very confused. How someone write ditto word to word like my ticket even if on subject line also. I haven’t any another account. I think this is a security breech. Or may be loop whole or bug where someone or automated system stolen my data and create new username or account or post a new copied ticket to someone else account.
I also visit https://buddypress.org/members/monirulbd/forums/ and there is also same as per mine https://buddypress.org/members/harihealthcare/forums/
Even I completely remember that after I log in I create new topic.
Really don’t get whats problem ?
How to assign admin only to show Bulk Action Drop Down
The link I just added in reply, this is your ticket right?
And where we are currently talking, this is someone else ticket or you have created from a new username?
@dope-boy you are really rude for the “stupid” statment to @prashantvatsh
…
what @prashantvatsh gave you is the best solution to what you are actually looking for
..
the only way to change buddypress labels like on the menu (“friend, profile, notification ” ) .. the best way is my changing the language to your choice
..
@prashantvatsh was just trying to help
Hi,
There seems to be a solution available.
You may use the BuddyPress addon from here
Using two step Login Authentication with Google Authenticator and BuddyPress
It needs the Google Authenticator plugin and enables the settings to the user(they can change from setting page).
Regards
B
Hi,
You can find it in your theme kleo/buddypress/members/single/cover-image-header.php and the code is
<?php bp_displayed_user_avatar( 'type=full' ); ?>
You need to echo your profile field just below this one.
Thanks
Hi,
This is hardcoded in bbpress plugin here bbpress\includes\extend\buddypress\groups.php.
Find the line $this->slug = 'forum'; but I think changing this may create some issues but you can check if it works fine for you or not. Also changing anything in core file is never recommended because on the next update you will lose it and then have to redo again.
One recommendation is that always take a backup of your site when you are doing such core changes.
Thanks
Also, it seems to a coding customization to me that is done on your site. Because BuddyPress does not provide that home link in profile, it always starts from view.
Thanks
You need to create buddypress/members/single folder in the child theme and then copy paste the file from plugin to this location and there you can see the code for the avatar.
Theme Compatibility & Template Files
Thanks
P.S.: apparently this is NOT a bbpress issue; they said it is something that buddypress is responsible for, because these are forums that are associated with user groups in buddypress.
Hi,
BuddyPress works on top of WordPress to add community/social features. The integration is almost seamless.
Now to answer your questions:-
1. will my members have to login a second time to use BuddyPress?
Is the login required by WordPress account? if yes, They will not need to login again.
2. Will that they then have two accounts to deal with?
No, It is only one account.
Give it a try, BuddyPress should be simple enough to use.
Best Regards
B
Hello Paul,
Thank you for your reply.
I’ve seen in this old topic that people had, in the time, similar issues :
BuddyPress Email Notification Ignoring SMTP Server Settings?
I thus created a bp-custom.php file in my plugin directory, and added the following to it :
add_filter(‘bp_email_use_wp_mail’, ‘__return_true’);
And now, Buddypress is sending the e-mails through the WP SMTP Config.
I am surprised that I had to do this. This is not ideal, as my emails are now sent in plain text (not html)…
WP Mail SMTP seems to be a well-written plugin. I’ve taken a quick look at its code, and how it affects what WordPress does, and it looks like BuddyPress – in theory – should work with it. However, if you say it doesn’t, I don’t know why – you’d have to spend time debugging what is going on.
If you know some PHP and basic WordPress development, I can give you some pointers (e.g. start looking at the phpmailer_init hooks and how both plugins add to it).
No need to try to un-hook where BuddyPress adds it. The body_class filter passes an array of class filters. I’d just filter it, and find and unset the no-js class you don’t want.
Nope. Try it and if you find an issue with BuddyPress after doing so, then start a discussion.
@whoweez This old code sample does nothing much at all. I’m not sure what the intent was, this is basically debugging. To answer your specific question:
I thought “__return_false” on “bp_email_use_wp_mail” should prohibit any BP emails from being sent in the first place as the new class should handle the email sending process…?
If that filter returns true, then BuddyPress generates a plain text version of the email, and calls WordPress’ wp_mail() function. By default, this is false, but it returns true if wp_mail_content_type() has been configured for HTML, or if wp_mail() has been redeclared (it’s a pluggable function).
That last bit is key. A lot of email plugins for WordPress re-declare wp_mail(), so for BuddyPress to use those plugins, the default behaviour is to send that plain text version of that email.
If bp_email_use_wp_mail return false, then it creates a BP_Email_Delivery object, which is what that second filter is changing, which delivery class BuddyPress uses. Inside that class’ bp_email() method is where you would create a custom integration with your Sendmail plugin (or however you approach that integration).
Hi @djpaul,
I’m playing around with the above code, but adding it to the functions.php file does not prohibit the buddypress email from sending!?
Furthermore, using sendgrid’s plugin and provided transactional template ID field does not solve anything as only the template without any buddypress/or wordpress related email content is sent – due to no relational placeholders set.
My aim is to use a custom transactional template at sendgrid for all wordpress and buddypress related content, but from some of your conversations on this I thought “__return_false” on “bp_email_use_wp_mail” should prohibit any BP emails from being sent in the first place as the new class should handle the email sending process…?
Could you perhaps give more guidelines as to why buddypress emails are still sending with this implemented:
add_filter( 'bp_email_use_wp_mail', '__return_false' );
add_filter( 'bp_send_email_delivery_class', function( $delivery_class ) {
return 'Implementwpemailbp';
} );
class Implementwpemailbp implements BP_Email_Delivery{
public function bp_email(BP_Email $email){
//add_filter('wp_mail_content_type', 'set_html_content_type');
//wp_mail($to, $subject, $message, $headers = '', $attachments = array())
//remove_filter('wp_mail_content_type', 'set_html_content_type');
var_dump($email);
}
}
Really appreciate your help 🙂
Kind Regards,
Wzz