Acceptance
Member
Posts: 64
Joined: Jul 2008
Reputation: 0
Thanked 0 Times in 0 Posts MyBux: 12
|
RE: [BETA] MyMessenger
Ah! You guys are geniuses at these things.
![[Image: 29118hk.jpg]](https://i39.tinypic.com/29118hk.jpg)
Waiting for the world, the sunshine never comes.
|
|
| 06-12-2009 02:11 PM |
|
madshark
Member
Posts: 185
Joined: Feb 2009
Reputation: 0
Thanked 0 Times in 0 Posts MyBux: 294
|
RE: [BETA] MyMessenger
think my warning got lost...anyway let me do it again..
DO NOT USE ON SHARED HOSTING they will shut you down/disable your script/relocate you
"Real men don't use backups, they post their stuff on a public ftp server and let the rest of the world make copies"
|
|
| 06-12-2009 05:09 PM |
|
snAke
Banana Chief
Posts: 75
Joined: Aug 2008
Reputation: 0
Thanked 0 Times in 0 Posts MyBux: 4
|
RE: [BETA] MyMessenger
(06-12-2009 05:09 PM)madshark Wrote: think my warning got lost...anyway let me do it again..
DO NOT USE ON SHARED HOSTING they will shut you down/disable your script/relocate you
why should they do this ?
![[Image: 2199.png]](https://internetometer.com/image/2199.png)
|
|
| 06-13-2009 08:01 PM |
|
Nickman
Manager
Posts: 1,818
Joined: May 2008
Reputation: 36
Thanked 1 Time in 1 Post MyBux: 816
|
RE: [BETA] MyMessenger
Because this script can be very server intensive as it requests a file about every 5 seconds checking to see if you have any new messages.
|
|
| 06-14-2009 12:14 PM |
|
snAke
Banana Chief
Posts: 75
Joined: Aug 2008
Reputation: 0
Thanked 0 Times in 0 Posts MyBux: 4
|
RE: [BETA] MyMessenger
oh ok. to avoid this, open mymessenger.js
in line 24
Code:
setTimeout (checkMessages,2000);
change to
Code:
setTimeout (checkMessages,60000);
line 50
Code:
setTimeout(init,2000);
change to
Code:
setTimeout(init,60000);
the script checks now every 60 seconds. most of the shared hosters have no problem with 1 minute or more. ;)
i had to do this with the ajax chat, my hoster does allow this if the autocheck is set 60 secs or higher
![[Image: 2199.png]](https://internetometer.com/image/2199.png)
(This post was last modified: 06-15-2009 03:59 AM by snAke.)
|
|
| 06-14-2009 10:55 PM |
|
Nickman
Manager
Posts: 1,818
Joined: May 2008
Reputation: 36
Thanked 1 Time in 1 Post MyBux: 816
|
RE: [BETA] MyMessenger
yeah you can do that :) Just not as "instant" as before
|
|
| 06-15-2009 06:22 AM |
|