inkrement / l4-messenger

Message Package for Laravel 4.
57 stars 11 forks source link

Thinking about notifications #16

Closed RokSiEu closed 10 years ago

RokSiEu commented 10 years ago

Hi,

have you thought of implementing notifications? For example counter in bubble with latest messages in dropdown like on this example Display type: none, increment bubble http://www.plumtheory.com/demos/notification-center/light/#

andheiberg commented 10 years ago

There is support for this. The user model has a method like newMessagesCount() (can't rember the name of my head, but something like that)

RokSiEu commented 10 years ago

I don't know if I'm blind or what, but I can't find that...

andheiberg commented 10 years ago

Oh sorry :)

I thought you where commenting on my package laravel-messenger.

I don't know why I'm also an admin of this package, although I did contribute to it.

RokSiEu commented 10 years ago

No problem, I will close this one.

andheiberg commented 10 years ago

Well it is still a problem with this package :)

But as the creator of mine I would advice you to use it :D

RokSiEu commented 10 years ago

To use which one, yours or this one? As I'm looking at yours right now, I can't see any issues (through code) that would bother me.

andheiberg commented 10 years ago

I would definetly use mine https://github.com/AndreasHeiberg/laravel-messenger

...but I'm not objective :)

But it uses traits for the user model which means it can work with any user model. It also keeps track of reads.