Ah, never mind, I just found that option to upload profile picture for users is available in Extended Profile tab.
Question is, if I upload user pictures in there (WordPress Admin Dashboard) will these pictures show up in BuddyPress?
Unfortunately not. I just happened to notice it on a demo I have set up. I’ve checked all functions, deactivated all plugins except BuddyPress, changed themes, and it happens with the default too. I switched the permalinks to default, saved, switched back. The /members slug will not work. No pages/posts in trash. But if I change it to even /members1 with a 1 after it, it works but the word “members” does not. I am just baffled.
That’s pretty old code you’ve found. We have a new API for that:
Navigation API
The example “Changing the name of the Unread subnav item of the user’s Notifications nav menu” is pretty close to what you’re looking for. If you want to add the displayed user’s display name, this is close:
function bpcodex_change_activity_nav_name() {
var_dump( buddypress()->members->nav );
buddypress()->members->nav->edit_nav( array(
'name' => bp_get_displayed_user_fullname() . "'s Feed",
), 'activity' );
}
add_action( 'bp_setup_nav', 'bpcodex_change_activity_nav_name', 100 );
You’ll need to add that code to your bp-custom.php file or similar. https://codex.buddypress.org/themes/bp-custom-php/
Can you say what the update was? Was it a BuddyPress update or a WordPress update (or some other plugin), or do you know?
Thanks!
You might look at using Member Types to organize your members: https://codex.buddypress.org/developer/member-types/
I have an existing page at which I used another social plugin and I am not happy with it, so I will be switching to BuddyPress.
When looking at users in WordPress Admin Dashboard, I see that all users are there, but their profile pictures are not save in there (looks like that plugin saves it someplace else).
I would like to grab their profile pictures before switch and upload their pictures for them, so it will be very little disruption for users. But when I go to User Profiles, I am not given an option to upload Profile Pictures.
Is there way I con do it?
HI,
Members of my community must be connected to my site to see the members list.
When I am connected, if I see someone connected (widget in sidebar), I click on his photo, I see his profile and “Private message” near the round photo.
I click on “Private message” and arrive on my profile.
I suppose that I only have to write the message. NO ! I must click on “Write a message”, search the name of the person (I was on his profile just before !) and then write the subject, and so on.
Is it the normal way or is there something wrong in my settings ?
Thanks in advance.
WP 5.2.4 with Twenty sixteen, Buddypress 5.0.0, https://www.alpes-spirit-chapter.com/
Regards.
Hi how would I change the name of the buddypress activity tab to include the name of the displayed user? Just the activity tab, I have this code below:
////////////////////////////////////CHANGE MENU NAMES / POSITIONS //////////////////////////////
function mb_profile_menu_tabs(){
global $bp;
//$bp->bp_nav['activity']['position'] = 14;
$bp->bp_nav['activity']['name'] = 'Feed';
}
add_action('bp_setup_nav', 'mb_profile_menu_tabs', 201);
//////////////////////////////////// CODE END ///////////////////////////////////////////////////
The above code in functions changes the tab name to Feed but I’m trying to work out how to make the tab name: ‘displayed username’s Feed’
Has anyone had to do this before / got any pointers? I’d be so grateful, I’ve researched and tried various things but can’t seem to get it working
Thank you 🙂
Hi, I reached out to Divi and they responded that the article one of their support people gave me was a 2015 document. Since then, Divi is compatible with BuddyPress.
~M MeadPond
Hi @imath! Thank you for your response. Wouldn’t moving them all to the default profile tab make them show up on the registration form? I’m trying to keep the registration process as clean as possible.
Also while I’m aware of the use of templates, and I’m pretty sure members->single->profile->edit.php (or profile-loop.php?) is probably the buddypress template I’d need to modify in this case, I don’t actually have any idea how to do it. It seems like the separate groups are controlled by separate forms displayed on separate tabs, so I’m assuming that at the very least user profile changes would still have to be saved via separate “Save Changes” buttons for each form, even if they were displayed on the same tab?
Hi,
I installed BuddyPress Group Email Subscription. It works when there is a new activity but it doesn’t work when a new forum post is done. However, all the posts appear in the activity feed.
For information, I use Youzer.
Anyone would tell me is there is a parameter to change or if the feature doesn’t work with forum component.
Thanks in advance for you help, Nicolas.
One of the heavily requested features by BuddyPress users was the ability to add Repeater Fields or Repeater groups of fields dynamically to BuddyPress Profile, without having a predefined number
Official Site
I’ve optimized my public pages for speed, and I’ve had great success with all the pages on my site (all at or close to 100 in Page Speed Insights.) The exception is my registration page.
I was using a plugin called “Bp xProfile Location” which was hurting the page speed significantly. After removing that plugin, I’m still only able to achieve 85 on the registration page.
I have a few JS snippets taking action on the page also, but removing them caused no change in the speed score.
Out of curiosity, I inspected https://login.wordpress.org/register with Page Speed Insights, and even that page is quite slow with an 88 score. (Their TTI is 3.6 seconds.)
So, knowing that even the official WordPress site has a slow registration page, I feel that Buddypress is probably not the problem, but I’m not sure.
Does anyone have a high speed score (higher than 88) on their registration page? Alternatively, is there a specific, uncontrollable reason that our reg pages are so slow, and should we not worry about it?
Hello,
I am trying to translate the website using Loco plug-in. Everything goes smooth except the user tab within BuddyPress. The text for Notifications and Messages are still appearing in English, even when I check the language pack for BuddyPress – the language pack (Vietnamese) is fully translated.
Image, so you can get idea: https://ibb.co/DQdkcJt
Do you know how to fix this?
Thank you
To make it more clear, what my problem is.
The standard registration process in buddypress requires only 3 fields: Accountname, email address and password. Additionally I defined some fields in Users –> Fields. Is it possible to make those fields part of the registration process?
Thanks alot and sorry for my misleading description of my problem beforehand.
With kind regards,
yaesew
I’m getting the “You must call’the_content’ function in the current template, in order for Elementor to work on this page.” error. I tried working through the problem, but I’m still having issues.
WP Version: 5.2.4
BuddyPress Version: 5.0.0
Please help.
Anonymous UserInactive
Hi @pixieblitz The most simple way is too put all your fields into the default profile tab from the fields WP Admin.
You can probably list all fields on the edit screen on the front-end overriding the template from your child theme. You should have a look at https://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/
Thanks for commenting. I’m using the correct field_id. I just created a new field, it was given the id of 54. When I try the following code it doesn’t work.
function swiss_target_blank( $field_value, $field_type, $field_id ){
if( $field_id == 54 ) { // get the field_id from edit field url in wp-admin
$field_value = str_replace('" rel="nofollow">', 'rel="nofollow" target="_blank"', $field_value);
}
return $field_value;
}
add_filter('bp_get_the_profile_field_value', 'swiss_target_blank', 11, 3);
I tried this code in my functions.php and bp-custom.php, neither work.
Line 176 – /plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field-type-url.php
It seems like the way you’re suppose to target rel=”nofollow” has changed or something.
I’m still working on this.
Hi
wp version 5.2.3 buddypress version 5.0.0
site address syrizanet.gr
problem with editor in all components of buddypress
Please help if you can
Thank you
Hi, feel free to look at the source code where BP calls PHPMailer:
https://github.com/buddypress/BuddyPress/blob/5.0.0/src/bp-core/classes/class-bp-phpmailer.php#L19
As you can see, unless you are using a plugin that is injecting an older version of PHPMailer on the bp_phpmailer_object filter, BP is using the PHPMailer class included in the WP includes folder. BP isn’t including a copy of the PHPMailer class at all.
Hello there,
I hope someone can help me with the following. The user profile photo (normally Gravatar) is filled with a different photo then there maybe at gravatar. WordPress is using that photo correctly in the admin bar and in the user overview. But the image is not used in BuddyPress, which seems weird to me, because it uses the image in that field normally.
How can I fix this?
Thanks,
Noraly
Thanks, i did what you say and in debug log appears:
“[16-Oct-2019 20:51:37 UTC] PHP Fatal error: Uncaught Error: Call to undefined function bp_xprofile_fullname_field_id() in /var/www/vhosts/27/196882/webspace/siteapps/WordPress-259852/htdocs/wp-content/plugins/buddypress/bp-members/bp-members-functions.php:1779
Stack trace:
#0 /var/www/vhosts/27/196882/webspace/siteapps/WordPress-259852/htdocs/wp-content/plugins/buddypress/bp-members/screens/register.php(204): bp_core_signup_user(‘rfds’, ‘pepe’, ‘rafa1@gmail.com’, Array)
#1 /var/www/vhosts/27/196882/webspace/siteapps/WordPress-259852/htdocs/wp-includes/class-wp-hook.php(286): bp_core_screen_signup(”)
#2 /var/www/vhosts/27/196882/webspace/siteapps/WordPress-259852/htdocs/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#3 /var/www/vhosts/27/196882/webspace/siteapps/WordPress-259852/htdocs/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#4 /var/www/vhosts/27/196882/webspace/siteapps/WordPress-259852/htdocs/wp-content/plugins/buddypress/bp-core/bp-core-dependency.php(359): do_action(‘bp_screens’)
#5 /var/www/vhosts/27/196882/ in /var/www/vhosts/27/196882/webspace/siteapps/WordPress-259852/htdocs/wp-content/plugins/buddypress/bp-members/bp-members-functions.php on line 1779″
Hi @mon2-
You’d have to write some custom code to add that functionality. (That’s beyond the scope of the support forum.) I’m guessing that you could add a WP Cron job that fetches old friendship requests and send the notifications again, but it would take some work on your part. You can see how the initial request email is sent here:
https://github.com/buddypress/BuddyPress/blob/master/src/bp-friends/bp-friends-functions.php#L825
Have you already tried the BuddyPress repair tools? They’re in your WP-admin dashboard > Tools > BuddyPress (at /wp-admin/tools.php?page=bp-tools).
Hi @chrix22-
I don’t think that that is a core BuddyPress screen. Are you adding it via a plugin or the theme you’ve chosen? If so, you’ll need to seek support there.