vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Who was online today [available in english & german] (https://vborg.vbsupport.ru/showthread.php?t=34014)

Mystics 01-10-2002 10:00 PM

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

Mystics 01-11-2002 12:08 PM

And here is a Screenshot of the Hack (attached to this Posting).
It starts with "Number of Active Users Today".
At the bottom in the middle you can see the "Last Online Time" of the User 'alsdorfer' while the Mouse Cursor is pointing on his Name.
(Info: I have censored most of the User Names with a black line :rolleyes: )

Mystics 01-11-2002 12:28 PM

....and here is a Screenshot of the German Version of this Hack.
------------------
....und hier ist ein Screenshot der deutschen Version des Hacks.

MrLister 01-11-2002 12:56 PM

Great! Thanks for the hack. It seems really good

KarateKid 01-11-2002 03:18 PM

nice hack!

THX :)

eva2000 01-11-2002 03:40 PM

1. is it possible to have the list of usernames visited today in a popup linked to the Number of active users today text ? my list page would be too long with 200 - 500 currentyly active + the list of users visited today :eek:

2. how come most ever visited on my forum is not the same and higher number than my most ever visited today ? trying to figure out how i can have more members currently on my forum that i have had for an entire day ? --- never mind about this one now i understand :)

3. Last online time seems to take the server's time and not the member's GMT offset time

TaP 01-11-2002 04:17 PM

Nice work , I will test it out to see how it works! Thanks

Mystics 01-11-2002 04:22 PM

Quote:

Originally posted by eva2000
1. is it possible to have the list of usernames visited today in a popup linked to the Number of active users today text ? my list page would be too long with 200 - 500 currentyly active + the list of users visited today :eek:
I will try to do this ;)
Quote:

Originally posted by eva2000
2. how come most ever visited on my forum is not the same and higher number than my most ever visited today ? trying to figure out how i can have more members currently on my forum that i have had for an entire day ? --- never mind about this one now i understand :)
Ok, when you understand it :rolleyes:
Quote:

Originally posted by eva2000
3. Last online time seems to take the server's time and not the member's GMT offset time
No, it doesn't take the server's time, the time is displayed according to the Users' Offset time.

Martz 01-11-2002 06:20 PM

Wow excellent hack, its great! 1 thing I've noticed was that when I was logged in as the admin, I could see all of todays users and invisible users - when I logout, i can only see the normal users, but the count doesn't include the invisible one?

Get what I mean? Was 202, and when I logout its 150, as 52 of my members today use invisible mdoe.

Again, fantastic :)

genial 01-11-2002 06:35 PM

Quote:

Originally posted by Martz
Get what I mean? Was 202, and when I logout its 150, as 52 of my members today use invisible mdoe.
this is intended, because the members must not need to know how many invisible members logged in the board today. ;)


All times are GMT. The time now is 11:14 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03407 seconds
  • Memory Usage 1,742KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete