Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Customizing gravatars

@ipstenu

Moderator

Okay, having tested it a bunch of different ways, I can’t get it to work.

I want to make my own image the ‘default’ for the non-gravatard people (which works fine on WordPress).

In WordPress it’s this:

<?php echo get_avatar(get_comment_author_email(),50,'http://www.foo.com/gravatar.png');?>

For bbpress we have this post_author_avatar(); on post.php. Passing the URL into that, either on it’s own or as $default doesn’t work.

Using echo bb_get_avatar( bb_get_user_email(post_author()), 48, 'http://www.foo.com/gravatar.png' ); didn’t work.

I’m gonna keep tossing stuff up against the wall for now.

Skip to toolbar