@venutius i think you may have missed my last comment before your plugin suggestions…just want to make sure, are you suggesting i use the front end (user profile page generated in buddypress) to change each user’s avatar….or are you suggesting i use the back end (from the dashboard) to change a user’s avatar after i “disable user profile uploads and see if you can change the avatar yourself from the users profile page”…??
I’ve found a couple of plugins for you to look at:
BP Local Avatars
And there is henry’s plugin:
BuddyPress Identicons
@venutius btw…..i’m referring to the part where you said, “see if you can change the avatar yourself from the users profile page”
do you mean i should try to change the avatar from the backend, the ‘user profile’ in the dashboard or the user profile page generated in BuddyPress?
@venutius thanks!
you mean the user’s profile page in the dashboard, or the user profile page that is in BuddyPress?
@venutius if i could juuuust get BuddyPress to use the same avatar that bbPress uses, that would solve basically everything
that way i could use a plugin that changed the bbPress avatar, and then any change in bbPress’s avatar would show as the avatar for BuddyPress too
know how to do that?
@venutius agree…..
thing is, in bbPress there are plugins that easily, and in a lightweight fashion, allow for custom avatars for users
users can go to their profile in the dashboard and change it
now, because i also restrict access to the dashboard for users that are not admins, this works. it works because i am then the one, then, that can change the avatars for individual users this way, without having to allow users to change their own avatars, and without enabling the creation of user profiles in BuddyPress
simple dimple
but for some godawful reason, even though this means that bbPress avatars can be changed this way via various plugins, BuddyPress doesn’t accept the same change
i would think that bbPress is not that different, coding-wise, from BuddyPress
buuuuut hell, i don’t know 😀
if BuddyPress allowed the customization to happen like bbPress does, of individual avatars from the user dashboard, that would be great
isn’t there a way to allow BuddyPress to use a bbPress avatar? so i could use the plugin that changes the avatar in bbPress, and then any changes to a bbPress avatar…BuddyPress would show the same avatar???
@venutius ok, will test that code….but even if that code works to change the default avatar in BuddyPress, how would i change the avatar for each user on a case-by-case basis?
please note: i will not be able to go to the user’s profile to change their avatar, because profiles are disabled. they do not exist.
i want to be able to change a user’s avatar, but not allow my users to be able to change their own avatar.
You’d just set the default avatar for buddypress:
The default avatar is the one that appear when a user has not yet uploaded his own avatar. If you’re not a fan of the mystery man, here are the constants that you can use to define your own:
define ( 'BP_AVATAR_DEFAULT', $img_url );
define ( 'BP_AVATAR_DEFAULT_THUMB', $img_url );
Change the the constant to include the URL for the location of your new default avatars and add this to your bp-custom.php file.
define ( 'BP_AVATAR_DEFAULT', 'http://example.com/default-avatar.jpg' );
define ( 'BP_AVATAR_DEFAULT_THUMB', 'http://example.com/default-avatar-thumb.jpg' );
To use a default avatar without Gravatar you should also add:
add_filter( 'bp_core_fetch_avatar_no_grav', '__return_true' );
@venutius glad to have helped — and awesome on updating the page, thanks!
btw, i’ve shut off user profiles; i do not want my users to be able to update their profiles at all….this is not a social site i’m building, even though buddypress is built with the idea that it resembles something along the lines of facebook…
my site is going to have groups for the sole purpose of discussion, but not for socializing; i’ve deliberately shut off user profiles so users can’t even see them
so enabling ‘extended profiles’…wouldn’t that require that i go to the user profile to update an avatar for a user? i’ve disabled that…so even if i were to turn on ‘extended profiles’ how would i be able to upload a user avatar for each user?
as to that plugin, it works GREAT to shut off gravatar access; it shows the blank BP default image person thing….but even when i pair that plugin with other plugins that allow avatar customization, only bbPress avatars are affected with other plugins; BuddyPress doesn’t work with other plugins that try to get local avatars to show — even if i’ve already shut off the Gravatar display with that fab plugin you linked to (‘disable user gravatar’)
@prashantvatsh if you happen to have any idea how to get BuddyPress to use local avatars and stop trying to use Gravatars…while also allowing for certain classes of users (subscriber, participant, administrator, keymaster, etc.) to have their own default avatar, i’d greatly appreciate it
I strongly think it’s a problem with an outdated plugin or theme.
Try to update themes and plugins, from my experience that could happen when buddypress is working with an outdated, theme or plugin.
Might be an idea to raise this as a feature request on Trac – https://buddypress.trac.wordpress.org/ Maybe they can set the cropping window to max size as a solution?
Thanks for reporting this issue.
Since you are using WP 5.0 beta, some issues are expected.
To make the issue is not related to your theme, please try switching momentarily to a WP theme like 2016 and see if the issue persists.
If it does not, then the issue is probably related to your theme.
Otherwise, please provide this info:
- BuddyPress version
- which BP template pack you are using – see wp-admin > Settings > BuddyPress > Options
- any javascript errors in your browser’s console
- any errors in the php error log for your website
After upgrade wordpress 5.0 beta 5-43933 everything ok with Buddypress 3.2.0 but after cliking on user message tab. The meassage inbox cant display.
If anybody say any solve for this!!
My theme: flatsome 3.7.1
Website: https://microdoshomoeopathi.com
Alright, I’ve downloaded my entire WP directory and searched for bp_members_screen_display_profile with Notepad++ Search in Files. But the only files showing hits belong to Buddypress.
F:\\wp-content\plugins\buddypress\bp-members\classes\class-bp-members-component.php (3 hits)
Line 329: 'screen_function' => 'bp_members_screen_display_profile',
Line 346: 'screen_function' => 'bp_members_screen_display_profile',
Line 359: 'screen_function' => 'bp_members_screen_display_profile',
F:\\wp-content\plugins\buddypress\bp-members\classes\class-bp-members-theme-compat.php (1 hit)
Line 58: do_action( 'bp_members_screen_display_profile' );
F:\\wp-content\plugins\buddypress\bp-members\screens\profile.php (3 hits)
Line 15: function bp_members_screen_display_profile() {
Line 22: do_action( 'bp_members_screen_display_profile' );
Line 31: bp_core_load_template( apply_filters( 'bp_members_screen_display_profile', 'members/single/home' ) );
CRITICAL Cannot redeclare bp_members_screen_display_profile() (previously declared in /wp-content/plugins/buddypress/bp-members/screens/profile.php:22) in /wp-content/plugins/buddypress/bp-members/screens/profile.php line 32
How to go from here?
Best regards,
Alrik
… taking my own profile as example, on the domain/members page it shows last online 3hrs ago, but on the right sidebar is shows last active minutes ago.
Are you using a cache plugin?
If so, try clearing all caches.
But please note that you are probably referring to 2 separate items.
afaik, last online is not a BuddyPress feature, and is being added by your theme, a plugin or some custom code.
And last active is generated by BuddyPress.
So, if last active is accurate, but last online is not, then please contact the creator of that code.
Hello,
I’m trying to change something in member-header.php, but the change does not take effect.
But changes in register.php does take effect.
/wp-content/themes/socialize-child/buddypress/members/single/member-header.php
/wp-content/themes/socialize-child/buddypress/members/register.php
Thanks for help.
Jan
Hi there,
If you are using BP Nouveau the sitewide notice widget is not supported:
https://buddypress.trac.wordpress.org/ticket/7893
Hello, Buddies.
I’ve got a weird issue here: I’m running a WP4.9.8 site running with BuddyPress 3.2.0. I’ve also setup a custom registration panel using “Membership Pro Ultimate WP”. This is correctly transferring the First and Last name from the registration screen into the WordPress default First Name and Last Name field.
As I am primarilly using custom extended profile fields, I have written this script to fill in the extended fields as well:
function update_extended_fields( $user_id ) {
$user_info = get_userdata($user_id);
$first_name = $user_info->first_name;
$last_name = $user_info->last_name;
$current_first = bp_get_profile_field_data( array( ‘field’ => ‘First Name’, ‘user_id’ => $user_id ) );
$current_last = bp_get_profile_field_data( array( ‘field’ => ‘Last Name’, ‘user_id’ => $user_id ) );
if ($current_first==””) {
xprofile_set_field_data( “First Name”, $user_id, $first_name, $is_required = true );
}
if ($current_last==””) {
xprofile_set_field_data( “Last Name”, $user_id, $last_name, $is_required = true );
}
wp_update_user( array( ‘ID’ => $user_id, ‘last_name’ => $last_name ) );
//xprofile_set_field_data( “field_42”, $user_id, $company, $is_required = false );
}
add_action( ‘user_register’, ‘update_extended_fields’, 10, 1 );
This is all working perfectly fine … until I edit the profile using buddypress on the frontend. After editing and saving it, the user’s WordPress Last Name gets lost. The extended field is still being displayed correctly.
Any idea why this is happening?
Thanks a lot!
Hi there the site wide notice widget is not appearing in my widget lists. The other widgets appear.
The problem persists when I switch to the Twenty Fifteen theme.
Wordpress version 4.9.8
Buddypress version 3.2.0
my site https://www.ac.glitterandpaperclips.com
thanks for your help
Hello,
We have the website in WordPress https://skirtclub.co.uk and we are using the BuddyPress plugin in that website for login, registration, and Verifications.
it’s working fine at all but sometimes login and user verification are not working in phones.
Especially, we have faced an issue in the ‘iPhone’, ‘MAC’ devices.
Can you please let us know why this happening and How we can fix it.
Thanks
Thanks!! Will do! I really like buddypress and bbpress, just gotta get a handle on the trouble makers. ????????
Your current registration page url ends with __trashed, so your link is still pointing to that page.
You can edit links or create custom links by going to …wp-admin > Appearance > Menus
But you cannot just replace the register page, if that is what you did.
Have you read the
modifying-the-registration-form
You can customize the layout by editing the template.
If you are using the Legacy Template pack, this is the file:
buddypress\bp-templates\bp-legacy\buddypress\members\register.php
Instead of editing core files, you can overload a template in your child theme.
Read this.
Hello,
I have a problem with buddypress and the Event Manager. I have a website for a primary school. parents can login and add their children in buddypress.
Now we use the event manager and would like to use the form fields of buddypress in it. Is this possible?
I hope someone could help me.
Roy