Hello is there any way to check the user's personal messages with auto-refresh ? I mean every 4 or 5 seconds or more the site will refresh some parts of it to check if the user has a new pms. If the statement is true it should refresh the link that says: 0 new messages to 1 new messages or 2 new messages or what the number is...
How can this be done ?
Thank you in advance !!!
Check user's pms with auto-refresh ?
Forum rules
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Re: Check user's pms with auto-refresh ?
You need to use ajax to be able to do that and change the header to display that there are new PM's or display a modal popup stating you have new PMs. phpBB 3.1 will have this when it is released.
Re: Check user's pms with auto-refresh ?
So you recommend me to wait for them or to start trying to code it ?
And another question: if I code it successfully now, in the future will I have to delete my coding so as the default phpbb3 board's code to work ?
Thank you
And another question: if I code it successfully now, in the future will I have to delete my coding so as the default phpbb3 board's code to work ?
Thank you
Last edited by sgeorge on 01 Jan 2013, 13:39, edited 1 time in total.
Re: Check user's pms with auto-refresh ?
There is no harm in trying to code it (HINT: user jQuery and ajax) and the notification thing in 3.1 will include more than PM's.
https://area51.phpbb.com/phpBB/viewtopic.php?f=108&t=42829#p238059
eg
[img]https://area51.phpbb.com/phpBB/download/file.php?id=2103&t=1[/img]
If you need help with your code just post back.
https://area51.phpbb.com/phpBB/viewtopic.php?f=108&t=42829#p238059
eg
[img]https://area51.phpbb.com/phpBB/download/file.php?id=2103&t=1[/img]
If you need help with your code just post back.
Re: Check user's pms with auto-refresh ?
That's awesome !
I've read we can get it from github but I could not find it there
https://github.com/EXreaction/phpBB-Mod ... ter/phpBB3
I also found that: https://github.com/phpbb/phpbb3/pull/992
Thank you !
I've read we can get it from github but I could not find it there
https://github.com/EXreaction/phpBB-Mod ... ter/phpBB3
I also found that: https://github.com/phpbb/phpbb3/pull/992
Thank you !
Re: Check user's pms with auto-refresh ?
github gives me a headache but it's [url=https://github.com/phpbb/phpbb3/pull/1171]here[/url]
Re: Check user's pms with auto-refresh ?
I am sorry for the confusing but I think that it is not available for download right ?
Sorry again and thank you once more !
Sorry again and thank you once more !
Re: Check user's pms with auto-refresh ?
You can fork it into your github account but as to your request it would probably be easier to just code something up.