WP TurnKey - Turn-Key WordPress installation and maintenance services
WordPress user since 2005 | @chip_bennett | chipbennett.net | cbnet Plugins
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.
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
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.
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.