Create A Forum - Support Forums
Support => Create a Forum Codes and Support => Topic started by: aIURbliS on August 20, 2012, 01:46:08 am
-
Description: This code refreshes the Who's Online page every 5 seconds.
This code utilizes jQuery, please use the latest version found in this thread: http://support.createaforum.com/5/jquery-v1-8-update/ (http://support.createaforum.com/5/jquery-v1-8-update/)
Footers:
<script>if(/action=who/i.test(location.href)){setInterval(function(){$("#whos_online").load(smf_scripturl+"?action=who #whos_online");},5000);}</script>
-
Where do you add this?
-
Footers
-
Thank you very much for sharing this with us Xboi :) ;D
-
Footers
Ok, thanks xboi. =)