-
Author
Tagged: avatar
-
October 30, 2014 at 00:59 #33546HeeHAParticipant
Hi,
We would like to design our own avatar.
Is it possible to use own avatar?
Which folder for uploading?
Thanks!
November 3, 2014 at 18:49 #33858LauraModeratorHello, the avatar is taken from gravatar, so we will disable this then add this code to bp-custom.php in
wp-content/plugins/bp-custom.phpCOPY CODEadd_filter('bp_core_fetch_avatar_no_grav', '__return_true'); define ( 'BP_AVATAR_DEFAULT', 'YOURIMAGEURL' ); define ( 'BP_AVATAR_DEFAULT_THUMB', 'YOURIMAGEURL' );
Add this to bp-custom.php
Where “yourimageurl” just change it with the url of your default avatar image.
Hope it helps 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
April 12, 2015 at 08:32 #54084webmaster-swParticipant@Laura I wanted to make this happen but I didn’t want the hassle of re-editing the buddypress plugin files with each new version.
I put it in Kleo Child functions.php and it works great.April 12, 2015 at 08:38 #54085webmaster-swParticipant@Laura
Also, this code just replaced a whole bunch of my users profile photos, including mine, with the default photo.April 14, 2015 at 09:08 #54362LauraModeratorHello, buddypress doesnt update bp-custom.php because is not a buddypress default file, is created by the user or a plugin. So it doesnt change.
Also, have you tried to upload a photo? It should change, the default photo is set to everyone then they have to upload one. Or you can share admin credentials with me so i can check it out 🙂Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
April 18, 2015 at 20:11 #55091webmaster-swParticipantAre you telling me that the only way to use this new default photo code is to wipe everyone’s default photos and then have them re-upload their profile photo?
I don’t think that’s acceptable to our users.
Is there an alternative workflow that doesn’t wipe our user’s default photos?
April 20, 2015 at 10:11 #55210LauraModeratorHello, can you share admin account so i can check it out? 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
-
AuthorPosts
You must be logged in to reply to this topic.