2015-11-07, 09:44 PM
Okay so i have been making a new member block and this is the code
Thanks
<div id="panel">
<!-- start: header_welcomeblock_member -->
<strong>Welcome back, <a href="{$mybb->settings['bburl']}/member.php?action=profile&uid={$mybb->user['uid']}">{$mybb->user['username']}</a></strong>. {$mybb->user['lastvisit']} (<a href="http://www.fadeforums.com/usercp.php"><strong>User CP</strong></a> — <a href="http://www.fadeforums.com/member.php?action=logout&logoutkey={$mybb->user['logoutkey']}" onclick="return confirm('Are you sure you want to logout?');">Log Out</a>)<br>
<a href="http://www.fadeforums.com/search.php?action=getnew">View New Posts</a> | <a href="search.php?action=finduserthreads&uid={$mybb->user['uid']}">Your Threads</a> | <a href="search.php?action=finduser&uid={$mybb->user['uid']}">Your Posts</a> | <a href="http://fadeforums.com/private.php">Private Messages</a> {$mybb->user['totalpms']}
<!-- end: header_welcomeblock_member -->
</div>
Now when i use that this is what i get http://prntscr.com/907l44 everything works but the messages and last visit i want it to say "Unread #, Total #" and then for last visit "You last visited: The day, (time here)"Thanks