Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: bbPress custom gravatar

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

    Default

    Quote Originally Posted by Ryan View Post
    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.
    Well, I'll be!

    Good find. :)
    WP TurnKey - Turn-Key WordPress installation and maintenance services
    WordPress user since 2005 | @chip_bennett | chipbennett.net | cbnet Plugins

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

    Default

    I used to insert an include at the top of the header.php file, but that does limit what you can do with it quite a lot since it isn't fired early enough for some things.

  3. #13
    Otto's Avatar
    Otto is offline On The Rocks
    Join Date
    Apr 2009
    Location
    Memphis, TN
    Posts
    865

    Default

    In WordPress, all you have to is to set the "avatar_default" option in the database to a full URL of whatever image you want to use. This feature is not exposed through the UI because it was deemed confusing (an opinion I disagreed with).

    You can also do it in the theme, if you prefer. It's the third option to the get_avatar call. Like this:
    echo get_avatar($comment, 48, 'http://example.com/default.jpg');

    bbPress should be similar, I'd think.

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

    Default

    Quote Originally Posted by Otto View Post
    In WordPress, all you have to is to set the "avatar_default" option in the database to a full URL of whatever image you want to use. This feature is not exposed through the UI because it was deemed confusing (an opinion I disagreed with).

    You can also do it in the theme, if you prefer. It's the third option to the get_avatar call. Like this:
    echo get_avatar($comment, 48, 'http://example.com/default.jpg');

    bbPress should be similar, I'd think.
    Why would a custom default avatar setting be confusing? Just about every forum out there allows users to upload a custom avatar (or point to a URL for one). The UI for setting the default would be pretty similar.

    I get the "less is more" approach, but sometimes I think the devs assume too little of users.
    WP TurnKey - Turn-Key WordPress installation and maintenance services
    WordPress user since 2005 | @chip_bennett | chipbennett.net | cbnet Plugins

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

    Default

    Wow got busy and this filled up. I'll be getting to the implementation of this in the week so I'll let you know what worked and why. Thanks.

  6. #16
    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 get the "less is more" approach, but sometimes I think the devs assume too little of users.
    I always assumed it was because they wanted to promote gravatar.com.

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

    Default

    Yeah but this wouldn't take away from gravatar it would just provide a properly branded default. I guess it would be less ugly so it might take away from gravatar. Like I said I'm using a plugin right now and when I added it more people went and got the gravatar so they looked different from each other again.

Page 2 of 2 FirstFirst 12

Posting Permissions

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