RMB Scripting
You appear not to have an account with us, Click HERE to register an account...
RMB Scripting
Navigation
  Home
  Contact
  FAQ
  Forum
  Topsites
  Members
  Affiliates
  Arcade <-- New!
  IoxHost
Downloads
  Templates
  Scripts
  Fonts
  Image Sets
  Software
  Other
 
Tutorials
  .htaccess
  Photoshop
  C/C++
  CSS
  Macromedia Flash
  MySQL
  PHP
  PHP - User System
  HTML
  Javascript
  Macintosh
  Macromedia Fireworks
  Visual Basic
  Visual C#
  Windows
  Python
  Other
 
Latest Tutorials
RMB User Commenting Sy...
Easy Navigation Integr...
Decorate Basic Icon
paragraph shortner
Convert Email address ...
Latest Comments
Badge System
Pet system
Pet system
Badge System
Report & Warn Script
Stats
Total Members: 597 [241]
Total Tutorials: 284
Newsest User: andrerds
Todays Unique Hits: 116
Users Online: 0
 
6 Guests
Poll
What do you look for in a web host?
Price
Uptime
Reviews
Customer Service
Size of Company
Main Content
Forum Navigation
Forum Index » RMB » Chat refresh?
Topic
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.

PHP-MYSQL-JAVASCRIPT-ACTIONSCRIPT-CSS-HTML
Making tutorials for flash, php and javascript
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)

IoxHost
Posted on Saturday 3rd April 2010 at 09:32 PM
Bonxy
Newbie
Whats the refresh for then ?

Sam!
Good Evening Guest
Username: 
Password: 
Remember Username
Links
RMB Arcade
$2.50 Resellers
Free Domains
Free Games
Affiliates