BullyWiiHacks
Welcome dear guest! Very Happy

To start posting and being part of the BWH community, you simply need to register an account or log into an existing one.

If you do not wish to register at all, that's fine but there will be more advertisements. :/

You can probably see and download most content provided for regular members even without an account.

Your contributions will be greatly appreciated though, give it a shot and register today! thumbsup

Join the forum, it's quick and easy

BullyWiiHacks
Welcome dear guest! Very Happy

To start posting and being part of the BWH community, you simply need to register an account or log into an existing one.

If you do not wish to register at all, that's fine but there will be more advertisements. :/

You can probably see and download most content provided for regular members even without an account.

Your contributions will be greatly appreciated though, give it a shot and register today! thumbsup
BullyWiiHacks
Would you like to react to this message? Create an account in a few clicks or log in to continue.
BullyWiiHacks

Gaming, Modding & Programming

Important reminders:

- Click *HERE* for advanced forum search or check out the text field below on the front page for Google before posting
- NO support via private message (use the forum)
- Write meaningful topic titles
Site Translation
Latest topics
» Wii Play Tanks
Online Staff Widget Script Empty3/24/2024, 2:46 pm by helpmeout

» [Bypass Paywalls] (Global) @magnolia1234 - GitLab
Online Staff Widget Script Empty3/18/2024, 3:55 am by Seth@WiiPlaza

» [Download] Mary Shelley's Frankenhole
Online Staff Widget Script Empty3/16/2024, 8:29 am by Seth@WiiPlaza

» Completely Custom Modded Controllers (Undetectable)
Online Staff Widget Script Empty3/5/2024, 1:55 pm by Shadow@BWH

» (Zombies) Drink perks code?
Online Staff Widget Script Empty3/5/2024, 1:24 pm by Shadow@BWH

» Die Rückkehr zu STEAM und WARFACE
Online Staff Widget Script Empty3/2/2024, 3:54 am by Seth@WiiPlaza

» First person hand model change?
Online Staff Widget Script Empty2/28/2024, 4:53 am by Ad3lamac611

» {RELEASE} Field Raider Firefox v1.72 by Seth@WiiPlaza
Online Staff Widget Script Empty2/21/2024, 8:52 am by naxil

» FREE Language-Learning YouTube Channel, Best Way to Learn Language
Online Staff Widget Script Empty2/19/2024, 10:40 am by SnB@BWH

» Need help to get command line console code to work
Online Staff Widget Script Empty2/19/2024, 6:41 am by Bully@WiiPlaza

Search
 
 

Display results as :
 


Rechercher Advanced Search

March 2024
MonTueWedThuFriSatSun
    123
45678910
11121314151617
18192021222324
25262728293031

Calendar Calendar

Country Statistics
Free counters!

You are not connected. Please login or register

Online Staff Widget Script

Go down  Message [Page 1 of 1]

1Online Staff Widget Script Empty Online Staff Widget Script 5/31/2015, 1:28 pm

Shadow@BWH

Shadow@BWH
 
 

All you gotta do is create the widget and put in your staffs names. I only tested this on my forumotion website not sure about any other sites but I tested it and it works.
Code:
<br /><br /><script type="text/javascript">
myStaff = ['STAFF NAMES', ];
staff_cache_time = 4*60*1000; // mm*ss*ms;
</script>
<div id="theStaff">
</div>
<div id="theContent" style="display:none">
</div><noscript><div style="color:white;font-size:9px">Functionality of this widget is not possible, as JavaScript is disabled or unsupported.</div></noscript> <script type="text/javascript">
if (localStorage.staffOn && localStorage.staffEx > +new Date - staff_cache_time) jQuery('#theStaff').html(localStorage.staffOn);
else loadStaff();
function loadStaff() {
  jQuery('#theContent').load('/viewonline #main-content a, a.gen', function() {
    for (i=0; i<myStaff.length; i++) jQuery('#theContent a').filter(function() { return jQuery(this).text() === myStaff[i] }).appendTo('#theStaff').wrap('<div class="myStaff">');
    if (!jQuery('#theStaff .myStaff').length) jQuery('#theStaff').html('No staff online');
    if (window.localStorage) {
      localStorage.staffOn = jQuery('#theStaff').html();
      localStorage.staffEx = +new Date;
    }
  })
}
</script>


_________________
Online Staff Widget Script 2111988

Online Staff Widget Script BAjMdNS

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum