Posted on Friday 6th June 2008 at 12:09 PM | |
ilyas-shezad Junior Member |
Okay i saw another thing on this. You know when the page reloads like every 10 seconds... is it because its checking for latest chat messages? If so i think the chat can be improved a lot if you add something like... Code <script language="javascript"> setInterval("chat()",3000) </script> The chat() function you see inside there basically needs editing and changing to the funciton name of your ajax function if you have one. What setinterval does is run a certain function every x amount of seconds. the above script runs the function on my site every 3 seconds. Im not sure if your plannning something like this for v4 or if you already have but anyway good luck. |
Posted on Thursday 12th June 2008 at 08:21 PM | |
DanielXP Senior Member |
1. The thing what reloads all the time is nothing to do with the shoutbox. 2. It reloads every 15 seconds not 10. 3. The shoutbox updates every 30 seconds through ajax already. (big number to save bandwidth and so the server wont crash) |