MyBB Community Forums

Full Version: Avatar Variable & How Do I Apply?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'd like to know how to apply the avatar variable so the current member
signed in, would have their avatar show up where the code is placed.

I realise the variable is '$avatar' but I've tried rapping that in {} or [].

Example.

{$avatar} [$avatar] {{$avatar}]

but still no success.

Please help!
Use this;
<img src="{$mybb->user['avatar']}" alt="" title="Your Avatar" height="55px" width="55px">