News:

Create A Forum Installed

Author Topic: [Code] Refresh Who's Online V1  (Read 1720 times)

0 Members and 1 Guest are viewing this topic.

Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile

Badges: (View All)
Level 6 Sixth year Anniversary Fifth year Anniversary
[Code] Refresh Who's Online V1
« 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/
Footers:
Code: [Select]
<script>if(/action=who/i.test(location.href)){setInterval(function(){$("#whos_online").load(smf_scripturl+"?action=who #whos_online");},5000);}</script>
« Last Edit: November 05, 2012, 02:28:48 am by xboi209 »
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

Share on Facebook Share on Twitter


Offline DarkHydra505

  • Full Member
  • ***
  • Posts: 154
  • Karma: 5
    • View Profile

Badges: (View All)
100 Posts One year Anniversary Avatar
Re: [Code] Refresh Who's Online
« Reply #1 on: September 01, 2012, 08:30:40 pm »
Where do you add this?
http://www.raptorpackforums.com

Talk about gaming, budgies and pets, JRaptor77, and just lounge and have a good time!

Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile

Badges: (View All)
Level 6 Sixth year Anniversary Fifth year Anniversary
Re: [Code] Refresh Who's Online
« Reply #2 on: September 01, 2012, 08:54:05 pm »
Footers
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

Offline Griff Grof

  • Full Member
  • ***
  • Posts: 151
  • Karma: 0
  • cachewalker.co.uk
    • View Profile
    • CacheWalker

Badges: (View All)
Fourth year Anniversary Level 5 Third year Anniversary
Re: [Code] Refresh Who's Online
« Reply #3 on: September 01, 2012, 09:02:40 pm »
Thank you very much for sharing this with us Xboi  :) ;D

Offline DarkHydra505

  • Full Member
  • ***
  • Posts: 154
  • Karma: 5
    • View Profile

Badges: (View All)
100 Posts One year Anniversary Avatar
Re: [Code] Refresh Who's Online
« Reply #4 on: September 02, 2012, 05:16:54 pm »
http://www.raptorpackforums.com

Talk about gaming, budgies and pets, JRaptor77, and just lounge and have a good time!

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
427 Views
Last post November 05, 2012, 02:28:42 am
by aIURbliS
0 Replies
568 Views
Last post August 08, 2014, 01:10:40 pm
by freebiesforum
0 Replies
467 Views
Last post November 11, 2014, 08:54:33 pm
by CyanProductions
0 Replies
471 Views
Last post April 23, 2018, 04:20:49 pm
by Chronamut
3 Replies
928 Views
Last post May 30, 2018, 07:08:08 pm
by CreateAForum