Quote:
Originally Posted by mainframe
For example: if you have 1000 users online. Due to the auto refresh it would generate 1000 page request on vbshout.php every 10 seconds. thats 60.000 page requests every minute.. do you think your server is up for it? not to mention your bandwidth..
|
How to remove autoupdate
// removing autoupdate
edit the template forumhome_vbshout and remove the below code
Code:
setTimeout('requestShouts()', 10000)
// Adding the refresh button
edit the template forumhome_vbshout and add the below code were you wish to display the refresh button
Code:
<input type='button' class='button' value='Refresh' name='refresh' onclick='requestShouts()' />