Future major features

User message tray

 
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.
Picture of Pau Ferrer Ocaña
User message tray
Group Core developersGroup Moodle HQGroup Plugin developers

We've been working on a message and notification tray that can be very interesting to replace the current popup message:

You can try it right here: http://agora.xtec.cat/formacio/moodle/moodle/?lang=en

Users and passwords to enter:

  • Admin - user admin, password agora
  • Teacher - user profe, password agora
  • Student - user alumn, password agora
  • Manager - user gestor, password agora

It needs very little code, as you can see:

https://github.com/projectestac/moodle-local_agora/tree/master/message_notifier

And some improvements can be done. The current version notifies only the messages configured as Popup Notification in the Messaging uers settings.

When there are messages, like in Facebook, appears a number on the message icon:

Message Tray shown

When you click on it, a list of message will be shown and an All message link (to go to messages).

If you click on a message, a popup will be shown with the text:

Message popup

You can close or mark as read the message. It also have a link to the message page.

Please consider it! smile

Pau

 
Average of ratings: Useful (4)
Picture of Helen Foster
Re: User message tray
Group Core developersGroup Documentation writersGroup Moodle HQGroup Particularly helpful MoodlersGroup Plugin developersGroup TestersGroup Translators

Hi crazyserver,

Thanks for sharing your message tray work. smile It looks great; much better than the current popup message. I especially like the number of unread messages over the message icon.

If you've not done so already, please create a tracker issue for it and let us know the issue number so everyone who likes it can vote for it to be implemented.

 
Average of ratings: -
Picture of Pau Ferrer Ocaña
Re: User message tray
Group Core developersGroup Moodle HQGroup Plugin developers

Thanks! Done!

You can now vote on: 

https://tracker.moodle.org/browse/MDL-48735

 
Average of ratings: Useful (1)
C'est moi :-)
Re: User message tray
Group Documentation writersGroup Particularly helpful MoodlersGroup TestersGroup Translators

Thanks, voted!

 
Average of ratings: -
Picture of Pau Ferrer Ocaña
Re: User message tray
Group Core developersGroup Moodle HQGroup Plugin developers

Yesterday I saw this theme is using something similar. Maybe they can be interested in and can advise us! smile


https://moodle.org/plugins/view.php?plugin=theme_bcu

 
Average of ratings: -
Picture of Mike Grant
Re: User message tray
 

Hi,

I work on the BCU theme, any questions, just drop me a message or shout in here smile Happy to help

 
Average of ratings: -
Picture of Pau Ferrer Ocaña
Re: User message tray
Group Core developersGroup Moodle HQGroup Plugin developers

Thanks Mike!

 
Average of ratings: -
Matt Bury
Re: User message tray
Group Particularly helpful MoodlersGroup Plugin developers

Moltes gracies, y bon Nadal!

 
Average of ratings: -
Picture of Pau Ferrer Ocaña
Re: User message tray
Group Core developersGroup Moodle HQGroup Plugin developers

Bon any nou Matt!

 
Average of ratings: -
Picture of Jez H
Re: User message tray
Group Plugin developers

We have something very similar in our theme you may want to take a look at:

https://moodle.org/plugins/view/theme_bcu

 
Average of ratings: -
Picture of Dale Siggerfjell
Re: User message tray
 
I would love to be able to integrate this into my site, but since we can't use most themes due to Google APIs or Fonts being embedded into most code, and being behind the Great Chinese Firewall, it's impossible for us to use a theme other than Classic. 


If there was some way to integrate this with a bit of instructions, I'd be willing to give it a go. 

 
Average of ratings: -
Picture of Fernando Acedo
Re: User message tray
Group Particularly helpful MoodlersGroup Plugin developersGroup Testers

Adaptable, a BCU fork that replace it, has this option implemented and optimized.

If you are behind the Great Chinese Firewall then you can use http://fonts.useso.com which is a mirror of Google Fonts.

The tests I made are ok and they can replace totally Google Fonts. Other option is download the font and use it locally.


 
Average of ratings: -