Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums

Go Back   Code Forums > Code Newbie > Lounge

Reply
 
LinkBack Thread Tools Display Modes
Old 12-15-2004, 09:16 AM   #1 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,505
sde is on a distinguished road
Number of active users today feature added

Nice little vbulletin hack to show the users who have logged in today. Maybe it won't feel so lonely when we can see all the people who are active durring the day.
__________________
Mike
sde is offline   Reply With Quote
Old 12-15-2004, 09:52 AM   #2 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,166
Belisarius is on a distinguished road
Methinks the grammar needs a bit of work. Anyone else think "Most users ever online on a day was 11 on Today," is a bit awkward?
__________________
GitS
Belisarius is offline   Reply With Quote
Old 12-15-2004, 10:21 AM   #3 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,505
sde is on a distinguished road
lol, that will only happen when the value of the date is today or yesterday. there is a setting in vbulletin to convert today and yesterday's dates to the words today and yesterday.

i think that will go away as we start setting records .. then it will only linger for a day or 2.

good catch though
__________________
Mike
sde is offline   Reply With Quote
Old 12-15-2004, 01:43 PM   #4 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,166
Belisarius is on a distinguished road
I thought to whole point was that it was *always* going to be today? In that case, the whole thing doesn't make sense. It should read something like "The most users online at one time today was 11," where the only thing that changed was the number at the end.
__________________
GitS
Belisarius is offline   Reply With Quote
Old 12-15-2004, 02:04 PM   #5 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,505
sde is on a distinguished road
"Number of Active Users Today:" <-- this will always be the most number of people that have been online 'today'

"Most users ever online on a day was 15 on Today. " <-- this is the day that most users have ever been online in one single day. sooo .. if there was never '15' users on by january 1st, then it would read this:
Quote:
Most users ever online on a day was 15 on 12-15-2004.
maybe it should say "most users ever online in a single day was <total> on <date>"
__________________
Mike
sde is offline   Reply With Quote
Old 12-17-2004, 03:22 PM   #6 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,166
Belisarius is on a distinguished road
So how is it that Valmot never shows up in that log?
__________________
GitS
Belisarius is offline   Reply With Quote
Old 12-17-2004, 05:20 PM   #7 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,505
sde is on a distinguished road
it takes into account your privacy settings.
__________________
Mike
sde is offline   Reply With Quote
Old 12-18-2004, 03:52 AM   #8 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,166
Belisarius is on a distinguished road
Ah . . . I see.
__________________
GitS
Belisarius is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 09:59 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting