MyBB Central

Full Version: [solved]User profile in header
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So I want it to be that when you click on your name, it will link to your profile.

Default header:
Code:
<strong>Welcome Back to {$mybb->settings['bbname']} {$mybb->user['username']}!
<span style="float: right;"><a href="{$mybb->settings['bburl']}/private.php"><b>{$lang->welcome_pms}</a> {$lang->welcome_pms_usage}</b></span><br></strong>

What I tried:
Code:
<strong>Welcome Back to {$mybb->settings['bbname']} <a href="{$mybb->settings['bburl']}/member.php?action=profile&uid={$mybb->user['uid']}>{$mybb->user['username']}</a>!
<span style="float: right;"><a href="{$mybb->settings['bburl']}/private.php"><b>{$lang->welcome_pms}</a> {$lang->welcome_pms_usage}</b></span><br></strong>

What should I do?
Solved, I'm not sure how but I just retried it with the same code on a different them and it worked.
Odd.