PM ajax?

A place to suggest possible new mods or to suggest abandoned mods to take over.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
neuropass
Member
Member
Posts: 66
Joined: 12 Apr 2010, 17:07

PM ajax?

Postby neuropass » 03 Jul 2011, 18:25

I was wondering if there is way to have the new pm's displayed without refreshing the page... :ninja:

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr

Re: PM ajax?

Postby RMcGirr83 » 07 Jul 2011, 15:01

Would require ajax and depending on the number of users and the refresh rate could be a rather large hit on your server.

neuropass
Member
Member
Posts: 66
Joined: 12 Apr 2010, 17:07

Re: PM ajax?

Postby neuropass » 07 Jul 2011, 23:07

hum so basically it will be running all the time. but when you receive a PM what does it trigger the Function? can the ajax be used in that specific moment? :-?

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr

Re: PM ajax?

Postby RMcGirr83 » 08 Jul 2011, 01:06

You aren't understanding me. The ajax is what triggers that a user would have a new pm as it would have to query the database to see if there is a new one for that user.

neuropass
Member
Member
Posts: 66
Joined: 12 Apr 2010, 17:07

Re: PM ajax?

Postby neuropass » 10 Jul 2011, 00:30

Ok I got your point. But I'm not too concern because I have my own server. :)


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “MOD Suggestions”

Who is online

Users browsing this forum: CommonCrawl [Bot] and 0 guests