I have a sidebar in my forum. I am looking for a code that will allow whatever user is logged in to see their own avatar in the sidebar, as well as a link to their own profile. I have seen it done, I am just not so sure how.
Thanks in advance for the help!
You need Template Conditionals plugin for this (if you want to do that in a "better" way).
How would that work? I found the plugin, but not much of a guide.
You can use Sideboxes Plus plugin. It has something like that by default.
http://community.mybb.com/thread-116159.html
If not, code for Template Conditionals could be like this:
<if $mybb->user['uid'] != 0 then>
<a href="{$mybb->settings['bburl']}/member.php?action=profile&uid={$mybb->user['uid']}>avatar code</a>
</if>
where should i put this codes? on what specific template?