May 4, 2013 15:02:46 GMT -5
This will place total PMs and total new PMs in your nav bar, to the far right. Like so:
YOUR NAME (signout) - Inbox: 6 | New: 2
For guests, it will display like so:
Welcome Guest to YOUR FORUM NAME. Login or Register.
If you use this, I recommend disabling your "messages" button from your theme, however it's only optional.
Admin > Themes > Layout Templates > Forum WrapperOn the default ProBoards theme, replace lines
39 to 45 (which is this):
<p id="welcome">
{if !$[current_user.is_member]}
Welcome Guest. Please $[login_link] or $[register_link].
{else}
<span>Welcome $[current_user.name].</span> $[logout_link]
{/if}
</p>
With the below:
The only things you need to edit, are the parts I have put in
green. These are hex codes you need to replace with ones to match your forum theme.
May 5, 2013 15:55:22 GMT -5
Used your code! Thank you for sharing!
Mar 2, 2017 17:41:12 GMT -5
Sooo, I had issues with the {/if} and had to take that part out because it showed up on my nav bar, taking it out didn't mess up the code so Ill be using this
took me a 2nd try to get it right though lol. Thanks for an awesome code!