Ajax Private Message: Is It Possible?
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 ?
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).
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).
Subject: Re: Ajax Private Message: Is It Possible?
Do you know if there is something similar already coded for phpBB 3?
Page 1 of 1
You cannot post new topicsYou 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.3081s (PHP: 8% SQL: 92%)
SQL queries: 15 - Debug Off - GZIP Enabled