Instead of new messages shown at the dropdown menu, it would be much much better if you could see that nice number on top level of top bar, like Member List etc. are now. By this way users do know that there is new messages waiting instead of forgetting that there was any (if they do not check emails so often).
Me thinks this is better than hiding it in the dropdowm menu?
I had also thought in development but, unfortunately, the limitation of Forum Module Template does not allow this.
Actually, there is a way. By a bit of modification you can do this.
WARNING: havent fully tested this but works on laptop / PC. (not tested yet with iPhone).
on the top_bar.html move
{include:private_message_box}
out from the dropdown but not out from the < ul > that handles all the way that top bar if logged-in.
And then modify Private Message box.html to have only this:
<li><a href="{path:private_messages}"><i class="fa fa-envelope fa-fw"></i> </a></li>
{if no_private_messages}
<li> </li>
{/if}
{if private_messages}
<li><a href="{path:private_messages}"><span class="badge alert-danger">{total_unread_private_messages}</span> {lang:new_messages}</a></li>
{/if}
NOTE: I have removed the lang-part from the first LI and if-no-private-messages to use only
By this, you will see only the font-awesome envelope there, if no new messages.
The solution that I tried is working perfectly on laptops.
With iPhone it also works, not breaking anything but shows the private messages on the top-level dropdown menu instead inside of “username” dropdown menu.
So it is possible to move up private message part out as far as I can see this.
Further, by removing the lang:new_messages IF there is NEW messages makes it nicer but remember, if you are new to forums and such, you should put up a note for your users that if they have new private messages, there is a number showing up inside “badge”. This is when no words are in use = New messages -> 1 instead of -> 1 New Messages.
See attached image when user has new private message after I have modified the tob-bar and private-message-box files to meet the changes I wanted.
Ok, you have inspired me!
I have a solution that maintains the info in dropdown menu and does exactly what you have proposed.
Everything will be released in the next release.
Ok, you have inspired me!
I have a solution that maintains the info in dropdown menu and does exactly what you have proposed.Everything will be released in the next release.
I knew it