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
  #102  
Old 02-05-2002, 09:30 PM
1yesfan 1yesfan is offline
 
Join Date: Dec 2001
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not workign for me. I loaded everything, getting no error messages. Nothing is showing up!?!?!? Being new to this stuff, the templates I am making is a new one that will be in the customized area?
Reply With Quote
  #103  
Old 02-08-2002, 04:15 PM
danielillo danielillo is offline
 
Join Date: Oct 2001
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Hack,

I'm also +6 hours form my server.... What did I do? Easy, just typed:
"Registered Users Online today (From 06:00 am to 06:00 am)" http://www.dondepuedo.com/foro/onlinetoday.php?s=
hehehehhee

I have one question, my VB is 2.0.3, the hack works perfect, but Mods and Admins are not showed in bold or bold + italic. Does it work only for 2.2.x?

Thanks and, please, excuse my English
Reply With Quote
  #104  
Old 02-08-2002, 04:33 PM
Mystics's Avatar
Mystics Mystics is offline
 
Join Date: Oct 2001
Location: Germany
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by danielillo
but Mods and Admins are not showed in bold or bold + italic. Does it work only for 2.2.x?
This feature first was implemented in vB 2.2.x...so it doesn't work in 2.0.3, neither in "Who's online", nor in "Who was online today".
Reply With Quote
  #105  
Old 02-08-2002, 06:21 PM
Jawelin Jawelin is offline
 
Join Date: Nov 2001
Posts: 557
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by danielillo
Great Hack,

I'm also +6 hours form my server.... What did I do? Easy, just typed:
"Registered Users Online today (From 06:00 am to 06:00 am)" http://www.dondepuedo.com/foro/onlinetoday.php?s=
hehehehhee

I have one question, my VB is 2.0.3, the hack works perfect, but Mods and Admins are not showed in bold or bold + italic. Does it work only for 2.2.x?

Thanks and, please, excuse my English
I realized a little upgrade to the hack to manage other local times than the server.
Unfortunately, as it should be an absolute value to show an user the onlines from midnight, any admin should choose only ONE midnight for his server, and all the other time-zoned users will see the admin's midnight.
If someone is interested and with the permission of the author of this hack, I could post mine ...

LMK.
Thanks
Reply With Quote
  #106  
Old 02-10-2002, 12:32 PM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Don't know if this has been asked before (and if it has, my apologies in advance), but would it be possible to do a variant of this hack that doesn't store all the names of those that have visited in a day, just the number, and to have that displayed in the Currently Active Users section (ie included in the forumhome_loggedinusers template)?

If it is, could someone give me a step-by-step on how to do that, please?
Reply With Quote
  #107  
Old 02-10-2002, 03:44 PM
Thomas P's Avatar
Thomas P Thomas P is offline
 
Join Date: Oct 2001
Location: Munich, DE
Posts: 365
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there,

nice hack, works great and was very easy to install!

Guests would be nice as mentioned, what about storing visitors in "whois online"?
Then stored visitors online today + members online today = all sessions served today... please state if I see things to easy
Anyway: Great hack!

[german]Super Sache: Gute Arbeit! [/german]
cu,
-Tom
Reply With Quote
  #108  
Old 02-10-2002, 06:19 PM
Jawelin Jawelin is offline
 
Join Date: Nov 2001
Posts: 557
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by X-Fan
Don't know if this has been asked before (and if it has, my apologies in advance), but would it be possible to do a variant of this hack that doesn't store all the names of those that have visited in a day, just the number, and to have that displayed in the Currently Active Users section (ie included in the forumhome_loggedinusers template)?

If it is, could someone give me a step-by-step on how to do that, please?
The hack DOESN'T store anyway all the users.
Simply searches into DB for all contacts within the day (for each user is keepen the timemark of last access).
The hack infact contains two selects: first for COUNT, second for retrieve rows.
Simply, use only the first one...
Hwr I suggest you to use the second variation (with new page).
Simply you can modify index.php as written and don't create the link into template.

Bye
Reply With Quote
  #109  
Old 02-11-2002, 01:41 AM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Jawelin
Hwr I suggest you to use the second variation (with new page).
Simply you can modify index.php as written and don't create the link into template.
But that would still show the users online today in a separate "box" to the currently active users box. How would one incorporate the two together?

Sorry if the answer to this is an obvious one, but I'm still getting to grips with vBulletin!
Reply With Quote
  #110  
Old 02-11-2002, 12:03 PM
Jawelin Jawelin is offline
 
Join Date: Nov 2001
Posts: 557
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

They are in different bits in templates.
You should merge that bits in one, but shall work a little with cut&paste...
Reply With Quote
  #111  
Old 02-11-2002, 05:10 PM
Martz's Avatar
Martz Martz is offline
 
Join Date: Oct 2001
Location: UK
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How difficult would it be to change the query to show the the maximum number of users today, concurrently? This would be good for checking how many people have been on at once, instead of in total. It would be a great addition!

What would the query be?
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 10:06 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.06296 seconds
  • Memory Usage 2,316KB
  • Queries Executed 25 (?)
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_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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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