PM ajax?

A place to suggest possible new mods or to suggest abandoned mods to take over.
Post Reply
neuropass
Member
Member
Posts: 66
Joined: 12 Apr 2010, 17:07

PM ajax?

Post by neuropass »

I was wondering if there is way to have the new pm's displayed without refreshing the page... :ninja:
User avatar
RMcGirr83
Supporter
Supporter
Posts: 6242
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr

Re: PM ajax?

Post by RMcGirr83 »

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?

Post by neuropass »

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
Supporter
Supporter
Posts: 6242
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr

Re: PM ajax?

Post by RMcGirr83 »

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?

Post by neuropass »

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