Forums

Join
bbPress Support ForumsInstallationCustomizing gravatars

Info

Customizing gravatars

  1. I did a search for native gravatar threads, and I got nothing. The ones I found were about gravatar plugins, which I don't use.

    I want to change the size and style of the gravatar that is native to bbpress. I have 0.9.0.2.

    How do I do this?

  2. me, i want to display my own picture, if there is no personal gravatar picture to display :p

    for change the size, see at the css :p

    byeee

  3. meitershaker - In theory, the principle that worked for Adding default Gravatars to WP 2.6 should work for bbPress.

    Haven't tested it yet.

  4. 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.

  5. You must log in to post.