Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: 1.00, by Mystics Mystics is offline
Developer Last Online: Jun 2015 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 01-10-2002 Last Update: Never Installs: 339
 
No support by the author.

Hack Name: Who was online today
Hack Version: 1.0.2
For vB Version:: 2.x
Originally Created by: genial @ Skats Board (Contact)
Documentation, Translation, a few changes and posted by: Mystics

Description:
This Hack adds something like the "Currently Active Users:"-Feature of vBulletin.
The difference is, instead of showing the users, who are currently online, it shows
all Users, who were online on a day and it also displays "Most users ever online on a day".

Summary of the Features:
  • Shows "Number of Active Users Today"
  • Shows "Most users ever online on a day"
  • Shows last online time for each User while pointing the Mouse Cursor on it's name (=mouseover) in the list
Important: The Hack only works 100% correct, when each member is in the same time zone as the Server!

Files to edit: index.php
Templates to edit: forumhome
New Templates: forumhome_todayloggedinusers, forumhome_todayloggedinuser

I have attached the Install Instructions in a Text File.
The Instruction is in English and in German.

I will attach a Screenshot in a Reply to this Thread!

Post any Questions into this Thread!

Updates in 1.0.1: Inserted the two new templates into the template precaching (first step)

Updates in 1.0.2: Fixed a little Bug with the "Most users ever online on a day"-Count
(Replace '$maxusers[2] = $todayonline;' with '$maxusers[2] = $numbertodayonline;' in index.php)

Info: You can find an other version of this Hack here. In this other version the usernames of the members, who were already online today, are not shown on the Forum-Mainpage; the names are shown in an extra File (like online.php), onlinetoday.php (Screenshot).

So, depending on which version of the Hack you prefer, you have to download this:
Version with usernames on the main Site of the Forum

or this:
Version with usernames on extra site (onlinetoday.php)

Regards,
Mystics

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #137  
Old 03-20-2002, 11:46 PM
69-FLy-gUy's Avatar
69-FLy-gUy 69-FLy-gUy is offline
 
Join Date: Oct 2001
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am woindering if FireFly will tell us how he did it????

FireFly?

I wonder how we get his attention to this thread?????
Reply With Quote
  #138  
Old 03-30-2002, 03:10 AM
Gamingforce's Avatar
Gamingforce Gamingforce is offline
 
Join Date: Oct 2001
Location: New York City
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love this hack. Really busy day at my place yesterday. Took a screenshot. Over 3000 people active o_O.

http://www.xarcos.com/gff/activetoday1.gif
http://www.xarcos.com/gff/activetoday2.gif
Reply With Quote
  #139  
Old 03-30-2002, 09:58 AM
Martz's Avatar
Martz Martz is offline
 
Join Date: Oct 2001
Location: UK
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Mystics
Uhm.......are you talking about "Currently Active Users", which is a standard feature of vBulletin?
No, I am talking about "Currently Active Users Maximum" for today. Our record is 71 users online, concurrently. That was 3 months ago or something. Re usually hit 50/60 some days - but I have to be around to see it. My suggestion was to show:

Currently Active Users: 31
There are currently 27 members and 4 guests on the boards. | Most users ever online was 71 on 18-11-2001 at 23:24. The most users on-line today at one time was: 54


The red being the bit I am after. Hope that is clear enough. aranoid:
Reply With Quote
  #140  
Old 04-01-2002, 12:15 AM
boatdesign's Avatar
boatdesign boatdesign is offline
 
Join Date: Nov 2001
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just wanted to say very nice mod and a big thank you! I really like this one. The only thing which would make it even better would be to also include the number of guests who visit in addition to logged in members.
Reply With Quote
  #141  
Old 04-02-2002, 01:58 PM
babo babo is offline
 
Join Date: Feb 2002
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Jawelin
Yeah. Infact yesterday I applied the hack and found about 270 users from the midnight with all your corrections.
Today I have 0 (zero!) users, according to the same hack...

Actually I think the traslation you made to $unixtoday var had the wrong sign ... :?:

I though to a simpler solution, I guess.
Simply, replace in the ORIGINAL HACK CODE:
PHP Code:
mktime(0,0,0,date("m"),date("d"),date("Y")); 
with:
PHP Code:
mktime($timeoffset-$bbuserinfo['timezoneoffset'],0,0,date("m"),date("d"),date("Y")); 
This should traslate the server's midnight time towards the user one.

What do you thin about ?
It does not give desirable outcomes!
I have other solution:
Quote:
in the ORIGINAL HACK CODE (index.php & onlinetoday.php):
replace:
PHP Code:
mktime(0,0,0,date("m"),date("d"),date("Y")) 
with:
PHP Code:
mktime(0,0,0,vbdate("m"time()),vbdate("d",time()),vbdate("Y"time())) 
It should work.
Reply With Quote
  #142  
Old 04-02-2002, 05:38 PM
centris's Avatar
centris centris is offline
 
Join Date: Nov 2001
Location: Scotland
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know if this is a 2.2.4 issue I think not. But I noticed the other day a member who had visited the forums. Now I know for a fact that on that occasion it was impossible WHY, he was with me the whole day thats why. So I began looking at the visitors in the last 24hrs which might show 7 but the hack reported 9? Over the last few days this has happend several times, the members visiting (who have not) have their last visit date reset to 1970??

Hope this all makes sense. The issue is still there in 2.2.5.
Reply With Quote
  #143  
Old 04-02-2002, 08:23 PM
Jawelin Jawelin is offline
 
Join Date: Nov 2001
Posts: 557
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by babo

It does not give desirable outcomes!
I have other solution:

It should work.
I underlined myself that wasn't a right solution because of date changing line ...
Even I specified I found a corrected translation (I mean an algebric value with a post correction for the date around midnight) and asked if anybody was interested in.
Mine is stable and full working (I use for all other 'midnight' timeline need like the posts made today, etc.) for a server lated than the admin's time ...
I.e., when on my server is midnight, my time is 0600 in the morning...

LMK

P.S.: any case, apart you forgot a parenthesis, the solution couldn't work on a left around of midnight ... as you loose the day change, this way.
Reply With Quote
  #144  
Old 04-03-2002, 11:26 PM
unclejojo16's Avatar
unclejojo16 unclejojo16 is offline
 
Join Date: Mar 2002
Location: VBulletin.org
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

On our forums we use the colored users online hack which colorizes members by usergroups. When we added the "Who-was-Online-Today" we noticed that it showed up in "black" (our link color). Well we wanted one that matched the colors shown in the CUO hack and so my co-admin hacked the hack. Enjoy. Remember to modify $mod["$userid"] or $todayuser['usergroupid'] == # to reflect your usergroup colors & ids.


created by genial @http://www.skats-board.de (eMail: phenomenal_genial@hotmail.com)
documentation & posted (with a few little changes) by Mystics (eMail: mystics27@gmx.net)

The reason im postin this..iz cus millions of peoples asked me to get them this hack for 2.2.1...hear it is...but im also releasin for newer versions soon..unles itz been released already
Reply With Quote
  #145  
Old 04-03-2002, 11:27 PM
unclejojo16's Avatar
unclejojo16 unclejojo16 is offline
 
Join Date: Mar 2002
Location: VBulletin.org
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="https://vborg.vbsupport.ru/attachment.php?s=&postid=216801" target="_blank">https://vborg.vbsupport.ru/attac...&postid=216801</a>

Screen Shot
Reply With Quote
  #146  
Old 04-03-2002, 11:29 PM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

WOW... that is sure a colorful picture you have there O_O
Reply With Quote
  #147  
Old 04-03-2002, 11:37 PM
unclejojo16's Avatar
unclejojo16 unclejojo16 is offline
 
Join Date: Mar 2002
Location: VBulletin.org
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

indeed.....
Reply With Quote
  #148  
Old 04-04-2002, 01:31 AM
Rick Rick is offline
 
Join Date: Nov 2001
Location: Wittmann, AZ
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, nice hack. Can I make this show up on a seperate page so you would have to click on a link to view it?

I ran it and it showed 549 users were active today. The printout is a bit overwhelming in the main page

Does it count guest users in the total? If not could it be made to do so??

Thanks again.
Reply With Quote
  #149  
Old 04-04-2002, 01:43 AM
ZiRu$'s Avatar
ZiRu$ ZiRu$ is offline
 
Join Date: Jan 2002
Location: Manitoba, Canada
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Rick
Thanks, nice hack. Can I make this show up on a seperate page so you would have to click on a link to view it?

I ran it and it showed 549 users were active today. The printout is a bit overwhelming in the main page

Does it count guest users in the total? If not could it be made to do so??

Thanks again.
me want to
Reply With Quote
  #150  
Old 04-04-2002, 11:18 AM
unclejojo16's Avatar
unclejojo16 unclejojo16 is offline
 
Join Date: Mar 2002
Location: VBulletin.org
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Um...It does count guests...If nto i'll tryn and get it to..
Reply With Quote
  #151  
Old 04-04-2002, 02:23 PM
Rick Rick is offline
 
Join Date: Nov 2001
Location: Wittmann, AZ
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe they are just included in the total and not seperate from the logged in users?

Also, what about my question:

Can I make this show up on a seperate page so you would have to click on a link to view it?
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 06:41 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05543 seconds
  • Memory Usage 2,380KB
  • Queries Executed 30 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete