Ajax Private Message: Is It Possible?


Subject: Ajax Private Message: Is It Possible?
....for realtime notification! :P

Subject: Re: Ajax Private Message: Is It Possible?
You mean an AJaX call each X seconsd / minutes to check if a private messages have been received ?

Profile PM  
Subject: Re: Ajax Private Message: Is It Possible?
yes....seconds ;)

Subject: Re: Ajax Private Message: Is It Possible?
Maybe each minute.
My point is that you can open many tabs => each will do a request and the PM popup will show on each tab. Second is that I don't spend a lot of time directly on the board, I just came each 3/4hours.
Else, you just have to make an action on privmsg.php, in example "check_messages" which give last message and re-query a check "message_time > $_SESSION['last_mp_time'] && user_id == $user->data['id']", then a little popup / modal dialog.
If you have an idea for the "many tabs have same info box" problem, I can try to look and do something (and maybe integrate it later in IP code).

Profile PM  
Subject: Re: Ajax Private Message: Is It Possible?
Do you know if there is something similar already coded for phpBB 3?

Subject: Re: Ajax Private Message: Is It Possible?
try this: http://www.phpbb.com/community/viewtopic.php?f=72&t=2094406


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.6378s (PHP: 4% SQL: 96%)
SQL queries: 31 - Debug Off - GZIP Enabled