Please register or login. There are 6 registered and 1489 anonymous users currently online. Current bandwidth usage: 1822.02 kbit/s November 24 - 10:17pm EST 
Hardware Analysis
      
Forums Product Prices
  Contents 
 
 

  Latest Topics 
 

More >>
 

    
 
 

  You Are Here: 
 
/ Forums / HWA Community /
 

  McFly's HWA Mods (new 'online users' script) 
 
 Author 
 Date Written 
 Tools 
Continue Reading on Page: 1, 2
McFly May 05, 2009, 10:26am EDT Reply - Quote - Report Abuse
Private Message - Add to Buddy List

Edited: May 05, 2009, 10:32am EDT

 
>> Re: McFly's HWA Modification Collection for Firefox
I would make it dynamic just like the dates/times that are top of each post.

For example, create a "[date]" tag:

McFly said at [date:UNIXTIME]:
O RLY?


Which would be converted to the local users' timezone, either server- or client-side. You could use UTC as the base-time instead of UNIX time, that's just an example. I only suggest UNIX time because that's easier for a script to parse.

A "[userID]" tag would be nice too:

Replace [userID:52972] with "McFly" (or whatever my current nick is, since it's easy to change here at HWA).

So quote boxes could look like:
[userID:52972] said at [date:UNIXTIME]:
YA RLY!


EliteBook Fund: 17.5% completehttp://s215.photobucket.com/albums/cc221/mmkfly • Xfire: mcfly2000
COMPOUND: Acer Aspire 4720-4538 | 14.1" WXGA | Intel T2390 | 3GB G.SKILL | 400GB WD Scorpio Blue | Windows 7 Ultimate x64
Want to enjoy less advertisements and more features? Click here to become a Hardware Analysis registered user.
McFly May 28, 2009, 02:00pm EDT Reply - Quote - Report Abuse
Private Message - Add to Buddy List

Edited: May 28, 2009, 02:08pm EDT

 
>> Re: McFly's HWA Modification Collection for Firefox
My latest work is an "Online Users" list to replace the RSS box (it doesn't have to replace the RSS box, but since I never use it, I figured that's where I would put it).

Here's a screenshot:
http://img529.imageshack.us/img529/4742/usersonline.png

It uses GM_xmlhttpRequest (Greasemonkey version of XMLHttpRequest) to fetch the page where online users are listed, and then grab the usernames.

Because the usernames don't show up until the background page loads (which happens a second or two after the main page loads), and since loading two pages everytime isn't ideal on bandwidth, this would work better server-side. :~ But it's fun. :D


EliteBook Fund: 17.5% completehttp://s215.photobucket.com/albums/cc221/mmkfly • Xfire: mcfly2000
COMPOUND: Acer Aspire 4720-4538 | 14.1" WXGA | Intel T2390 | 3GB G.SKILL | 400GB WD Scorpio Blue | Windows 7 Ultimate x64
McFly May 28, 2009, 05:32pm EDT Reply - Quote - Report Abuse
Private Message - Add to Buddy List  
>> Re: McFly's HWA Mods (new 'online users' script)
I changed it to just keep the rollover effect, so you don't have to see them popping in when they arrive. They're only shown when you mouseover the "Users Online" link:

http://i39.tinypic.com/30u66o6.png


EliteBook Fund: 17.5% completehttp://s215.photobucket.com/albums/cc221/mmkfly • Xfire: mcfly2000
COMPOUND: Acer Aspire 4720-4538 | 14.1" WXGA | Intel T2390 | 3GB G.SKILL | 400GB WD Scorpio Blue | Windows 7 Ultimate x64
Mothow May 28, 2009, 05:38pm EDT Reply - Quote - Report Abuse
Private Message - Add to Buddy List  
>> Re: McFly's HWA Mods (new 'online users' script)
Dam Mcfly i didnt know you were so handy

Lancool PC-K62 / i7 920 D0 + Thermalright Ultra 120 Extreme / Asus P6T Deluxe / 6GB G.Skill DDR3 1600 / 2x 500GB Seagate 7200.11 / 2 x Evga GTX 260 core 216's / X-Fi Xtreme Gamer / Corsair HX850w
TamTheBam May 28, 2009, 05:42pm EDT Reply - Quote - Report Abuse
Private Message - Add to Buddy List  
>> Re: McFly's HWA Mods (new 'online users' script)

McFly... you're a fooking genius!!

Meats_Of_Evil May 28, 2009, 07:22pm EDT Reply - Quote - Report Abuse
Private Message - Add to Buddy List  
>> Re: McFly's HWA Mods (new 'online users' script)
How do I download the last one?

-------------------------------------------------------------------------------------------------------------------------
Major Dieter Hellstrom: "That was the sound of my Walther pointed right at your testicles."
McFly May 29, 2009, 12:08am EDT Reply - Quote - Report Abuse
Private Message - Add to Buddy List  
>> Re: McFly's HWA Mods (new 'online users' script)
Sorry, I can't upload it right now, userscripts keeps giving me a server error when I try to upload it. :(

I'll let you know when it finally gets put up. :)


EliteBook Fund: 17.5% completehttp://s215.photobucket.com/albums/cc221/mmkfly • Xfire: mcfly2000
COMPOUND: Acer Aspire 4720-4538 | 14.1" WXGA | Intel T2390 | 3GB G.SKILL | 400GB WD Scorpio Blue | Windows 7 Ultimate x64
McFly May 29, 2009, 01:58pm EDT Reply - Quote - Report Abuse
Private Message - Add to Buddy List  
>> Re: McFly's HWA Mods (new 'online users' script)
Meats_Of_Evil (57359) said on May 28, 2009 at 04:22pm PDT:
How do I download the last one?

http://userscripts.org/scripts/show/50421 :_)

It still needs a bit of work in the error-checking department, but let me know how it works for you.

The last feature I added was to make "idle" users (no activity in 15 minutes) semi-transparent:
http://i43.tinypic.com/2h2qlhx.png

Enjoy!


EliteBook Fund: 17.5% completehttp://s215.photobucket.com/albums/cc221/mmkfly • Xfire: mcfly2000
COMPOUND: Acer Aspire 4720-4538 | 14.1" WXGA | Intel T2390 | 3GB G.SKILL | 400GB WD Scorpio Blue | Windows 7 Ultimate x64

Write a Reply >>

Continue Reading on Page: 1, 2

 

    
 
 

  Topic Tools 
 
RSS UpdatesRSS Updates
 

  Related Articles 
 
 

  Newsletter 
 
A weekly newsletter featuring an editorial and a roundup of the latest articles, news and other interesting topics.

Please enter your email address below and click Subscribe.