I am thinking to implement a forum like Private Message into my website for those who are a registered member. (<100 Member anyway)
So Member A can send a message to Member B.
Member B will have a notification popup within some seconds saying that he received a new message (without reloading the page is preferable. aka Facebook style).
Member can check all messages that he sent or received.
Anyone can point me a direction?
I am thinking to use a normal techinque like mysql + php, insert the message to the mysql and then send a singal to trigger the alert to the target user.
1.Member A send the message
2.mysql recevied > php send a singal to the target user (Member B in this case)
3.Member B's browser received the singal
4.popup a noticfication on his browser
5.if Member B didnt check the message than it will popup again on his next login
6.Member can view their messages list and open those old messages.
I am stuck at #3 at the moment. I think I need to use jquery to trigger the event like #3? Can someone please point me a direction?
Edited by yy886