MyBB Community Forums

Full Version: Sidebar support?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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!
Bump. <3
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.
It has an entire forum dedicated to it on mybbhacks. You should take a look:

http://mybbhacks.zingaburga.com/forumdisplay.php?fid=38

This is one of the handiest plugins you will ever have. It does so much that it is nearly impossible to "write 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&amp;uid={$mybb->user['uid']}>avatar code</a>
</if>
where should i put this codes? on what specific template?