Skip to:
Content
Pages
Categories
Search
Top
Bottom

Logged-in User’s Gravatar to show on header.


  • massbase
    Member

    @massbase

    Whats the function or how do I show the logged in user’s gravatar or uploaded avatar on the header, after they’ve logged in.

    thanks..

    i promise to relase the theme im making the general public.

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

  • timskii
    Member

    @timskii

    For Gravatars:

    echo bb_get_avatar( bb_get_current_user_info( ‘id’ ), 32 )

    Where 32 is the pixel size of the Gravatar.

    (That’s 1.0 code… not sure about 0.9.)


    massbase
    Member

    @massbase

    Many thanks timskii!

    Ranked 100% on the Awesomage meter!


    massbase
    Member

    @massbase

    fixed.. img.avatar { border: 0px solid #ddd; }

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