I'm creating a theme for my shop I've created and I wanted to know what I need to do to get the users avatar to show up in the header. I'm trying to figure out how to make the avatar a user dropdown menu if anyone could help with that?
hi
u must edit the "header_welcomeblock_member" template
pls refer to this tutorial (its quite good) by envira
http://community.mybb.com/thread-172860.html
following that with some aditions i got this dropdown on a theme i was making:
for showing your avatar like i did on top use something like this:
<span class="avatar"><img src="{$mybb->user['avatar']}"/></span>
(2016-04-22, 10:04 AM)subzr1 Wrote: [ -> ]hi
u must edit the "header_welcomeblock_member" template
pls refer to this tutorial (its quite good) by envira
http://community.mybb.com/thread-172860.html
following that with some aditions i got this dropdown on a theme i was making:
for showing your avatar like i did on top use something like this:
<span class="avatar"><img src="{$mybb->user['avatar']}"/></span>
Could you show me your dropdown menu code I'd like to use it? I really like what you did.
Check out mine at
http://shop.technologx.com