Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: bbPress custom gravatar

  1. #1
    curtismchale is offline Hello World
    Join Date
    Dec 2009
    Location
    BC, Canada
    Posts
    38

    Default bbPress custom gravatar

    Been working on a site and have custom gravatars setup for the Wordpress blog. I know would like to have the custom gravatars in the bbPress theme but can't find any information on how to do it.

    Has anyone done this or know where to get information on how to do it?

  2. #2
    Ryan's Avatar
    Ryan is offline WordPress Legend
    Join Date
    Jan 2009
    Location
    New Zealand
    Posts
    2,801

  3. #3
    chipbennett's Avatar
    chipbennett is offline WordPress Legend
    Join Date
    Feb 2009
    Location
    St. Louis, MO
    Posts
    1,997

    Default

    Seems to be a terminology gap here.

    A Gravatar is the now-Automattic-owned "Globally Recognized Avatar". It is built into bbPress core.

    Note: go to Settings -> Discussion to find Gravatar settings.

    A Custom Avatar is a user-uploaded profile picture. Various plugins allow use of custom avatars.
    WP TurnKey - Turn-Key WordPress installation and maintenance services
    WordPress user since 2005 | @chip_bennett | chipbennett.net | cbnet Plugins

  4. #4
    curtismchale is offline Hello World
    Join Date
    Dec 2009
    Location
    BC, Canada
    Posts
    38

    Default

    Yeah I wanted to not use the random 'monster' or blank head when users don't upload their own avatar but to provide a custom one suited to my site. You can do this for Wordpress comment when the person doesn't have a gravatar.

    I did find a plugin to do it this morning but I personally would rather have it in my functions file and make it theme dependant like WP does. I'm going to see about modifying the WP version for bbPress.

  5. #5
    Jeffro's Avatar
    Jeffro is offline WPTavern Forum Admin
    Join Date
    Jan 2009
    Location
    Ohio
    Posts
    2,359

    Default

    Maybe the wrong way to go about it, but couldn't you overwrite the default Gravatars with the ones you wanted to use?

  6. #6
    chipbennett's Avatar
    chipbennett is offline WordPress Legend
    Join Date
    Feb 2009
    Location
    St. Louis, MO
    Posts
    1,997

    Default

    Quote Originally Posted by curtismchale View Post
    Yeah I wanted to not use the random 'monster' or blank head when users don't upload their own avatar but to provide a custom one suited to my site. You can do this for Wordpress comment when the person doesn't have a gravatar.
    The default bbPress allows you to use any of the following:

    Blank (no image)
    Mystery Man
    Gravatar default ("G" on a blue bg)
    MonsterID (the one I think you're talking about)
    Wavatar (different type of generated "monster")
    Identicon (a fractal-based generated image)

    I did find a plugin to do it this morning but I personally would rather have it in my functions file and make it theme dependant like WP does. I'm going to see about modifying the WP version for bbPress.
    Good idea. I'm sure many people would like to use such a plugin.
    WP TurnKey - Turn-Key WordPress installation and maintenance services
    WordPress user since 2005 | @chip_bennett | chipbennett.net | cbnet Plugins

  7. #7
    chipbennett's Avatar
    chipbennett is offline WordPress Legend
    Join Date
    Feb 2009
    Location
    St. Louis, MO
    Posts
    1,997

    Default

    Quote Originally Posted by Jeffro View Post
    Maybe the wrong way to go about it, but couldn't you overwrite the default Gravatars with the ones you wanted to use?
    I'm surprised there isn't a "user-defined" (or "custom") option in the default list, that would let the user upload his desired image.
    WP TurnKey - Turn-Key WordPress installation and maintenance services
    WordPress user since 2005 | @chip_bennett | chipbennett.net | cbnet Plugins

  8. #8
    andrea_r's Avatar
    andrea_r is offline WordPress Rockstar
    Join Date
    Jan 2009
    Location
    Eastern Canada
    Posts
    1,325

    Default

    I did find a plugin to do it this morning but I personally would rather have it in my functions file and make it theme dependant like WP does
    Then stick the plugin code in the functions.php file.

  9. #9
    chipbennett's Avatar
    chipbennett is offline WordPress Legend
    Join Date
    Feb 2009
    Location
    St. Louis, MO
    Posts
    1,997

    Default

    Quote Originally Posted by andrea_r View Post
    Then stick the plugin code in the functions.php file.
    I don't believe bbPress currently supports functions.php files for themes.

    I could be wrong, though.
    WP TurnKey - Turn-Key WordPress installation and maintenance services
    WordPress user since 2005 | @chip_bennett | chipbennett.net | cbnet Plugins

  10. #10
    Ryan's Avatar
    Ryan is offline WordPress Legend
    Join Date
    Jan 2009
    Location
    New Zealand
    Posts
    2,801

    Default

    Quote Originally Posted by chipbennett View Post
    I don't believe bbPress currently supports functions.php files for themes.

    I could be wrong, though.
    Support for functions.php was added in version 1.0 final. It wasn't in any of the betas I don't think and I'm not sure it was in the RC's either.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •