2014-07-27, 03:06 AM
I've tried to make my themes "welcomeblock_member" allow linking to users profiles via their Username and Avatar.
However, I seem to break everything with codes attempted via tutorials or codes which have been mentioned in the community. Although it seems simple, I cannot figure it out for the life of me.
Would someone be able to help?
This is my themes code.
Thanks
However, I seem to break everything with codes attempted via tutorials or codes which have been mentioned in the community. Although it seems simple, I cannot figure it out for the life of me.
Would someone be able to help?
This is my themes code.
<div id="panel" class="loggedInPanel">
<div class="welcomeblock">
<div class="welcomeblock_avatar">
<div class="welcomeblock_links">
» <a href="{$mybb->settings['bburl']}/usercp.php"><strong>User CP</strong></a><br />
» <a href="{$mybb->settings['bburl']}/private.php"><strong>Messages ({$mybb->user['unreadpms']})</strong></a><br />
{$modcplink}
{$admincplink}
» <a href="{$mybb->settings['bburl']}/member.php?action=logout&logoutkey={$mybb->user['logoutkey']}"><strong>Log Out</strong></a><br />
</div>
<img src="{$mybb->user['avatar']}" alt="{$mybb->user['username']}'s Avatar" /><br />
</div>
<span class="welcome_name">Welcome back, {$mybb->user['username']}.</span><br />
You have <strong>(<a href="{$mybb->settings['bburl']}/private.php">{$mybb->user['unreadpms']}</a>)</strong> unread PMs.<br />
<span class="smalltext"><a href="{$mybb->settings['bburl']}/search.php?action=getnew"><strong>View New Posts </strong></a> | <a href="{$mybb->settings['bburl']}/search.php?action=getdaily"><strong>View Today's Posts</strong></a></span>
</div>
</div>
Thanks