[Present in actual release] How about adding "new private message" to top bar?

 
Petri Kosunen
 
Avatar
 
 
Petri Kosunen
Total Posts:  66
Joined  05-11-2014
 
 
 
10 November 2014 22:20
 

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?

 
eeBootstrap Support Team
 
Avatar
 
 
eeBootstrap Support Team
Total Posts:  105
Joined  22-09-2014
 
 
 
10 November 2014 23:30
 

I had also thought in development but, unfortunately, the limitation of Forum Module Template does not allow this.

 
 
Petri Kosunen
 
Avatar
 
 
Petri Kosunen
Total Posts:  66
Joined  05-11-2014
 
 
 
11 November 2014 07:28
 

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}"><class="fa fa-envelope  fa-fw"></i> &nbsp;</a></li>
     
{if no_private_messages}
     
<li>&nbsp;</li>
     
{/if}
     {if private_messages}
     
<li><a href="{path:private_messages}"><span class="badge alert-danger">{total_unread_private_messages}</span>&nbsp;{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

&nbsp

By this, you will see only the font-awesome envelope there, if no new  messages.

 

 
Petri Kosunen
 
Avatar
 
 
Petri Kosunen
Total Posts:  66
Joined  05-11-2014
 
 
 
11 November 2014 07:42
 

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.
smile

Image Attachments
 
new-messages-screenshot.jpg
 
 
 
eeBootstrap Support Team
 
Avatar
 
 
eeBootstrap Support Team
Total Posts:  105
Joined  22-09-2014
 
 
 
11 November 2014 08:55
 

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.

 
 
Petri Kosunen
 
Avatar
 
 
Petri Kosunen
Total Posts:  66
Joined  05-11-2014
 
 
 
11 November 2014 08:57
 
eeBootstrap Support Team - 11 November 2014 08:55 AM

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 smile

 
Petri Kosunen
 
Avatar
 
 
Petri Kosunen
Total Posts:  66
Joined  05-11-2014
 
 
 
11 November 2014 09:40
 

For others that might look at only this thread.
- Its done to eeBootstrap too!