This topic has 1 reply, 2 voices, and was last updated 10 years by sharmstr.

  • Author
  • #34784
     hawkit
    Participant

    Hi there,

    It looks like my default Buddypress avatar is not working. It is just a non loadable image square. Could you help with a location of where the default avatar could be set? Is there somewhere in Theme Options or Buddypress where it is set?

    We’ve also needed to turn off the top admin bar, so it is impossible for people to upload their own custom avatar. I’d love to be able to add it as an option in the standard profile. I think it would be an awesome update. Could you provide any insight or code to help us add Upload Avatar to the profile toolbar?

    Thank you for your help, and making such a beautiful theme. You should be congratulated for pushing WP so far and so expertly.

    #34787
     sharmstr
    Moderator

    1 – Add the following to your childs function.php file

    COPY CODE
    
    /**
    * Add a default avatar to Settings > Discussion
    **/
    //add_filter( 'bp_core_fetch_avatar_no_grav', '__return_true' );
    define ( 'BP_AVATAR_DEFAULT', 'http://www.yoursite.com/path/to/your/avatar/imagename.jpg' );
    define ( 'BP_AVATAR_DEFAULT_THUMB', 'http://www.yoursite.com/path/to/your/avatar/imagename_thumb.jpg' );
    

    2 – You can turn off the admin bar in Theme Options – Header Options

    3 – There’s already a menu item to change the avatar. Go to your profile, click Profile, click Change Profile Photo.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?