Welcome to WebmasterWorld Guest from 220.127.116.11
Forum Moderators: phranque
So, I want to add the step of letting mobile users get a notification on their phone when they get a Private Message. It SHOULD be as simple as sending an email, but is it? Of course not! LOL
var notification = window.Notification || window.mozNotification || window.webkitNotification;
A PM is sent to a mobile user on YOUR site.
The mobile user is NOT logged on and you want to notify them there's a PM on your site without using an email?
that's your problem though, if their browser isn't open, unless they have installed your app (which you don't have) how are they going to get the notification? ... regular email notification is your only option.
You misunderstand me, brother.