Skip to:
Content
Pages
Categories
Search
Top
Bottom

Customizing gravatars


  • pinay007
    Member

    @pinay007

    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?

Viewing 4 replies - 1 through 4 (of 4 total)

  • meitershaker
    Member

    @meitershaker

    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


    citizenkeith
    Participant

    @citizenkeith

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

    Haven’t tested it yet.

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar