Version: 1.00, by Mystics
Developer Last Online: Jun 2015
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).
I have applied this hack, but didn't quite stick to your installation instructions Sorry! I have applied it by altering the forumhome_loggedinuser(s) template and now I have it split up next to the WOL !! Actually looks pretty cool
Thank you for the code!! Very easy to apply and when its time to goto vB3 I can just put index.php back and upgrade, and re-apply this simple hack! Way cool
I installed the hack, and it looks great (version #2). Thanks!!! I just had one problem with the onlinetoday.php file. When it is shown, I get a header problem at first, and then after refresh, I get the following above the header: ( onlinetoday.php§¸f°¸f°mBIN?¸ä )
Any ideas? It only shows up on macs, but it is still a pain. The header problem is universal.
I figured out the header problem, just changed the error reporting to a lower number, no problem.
Now, I have a problem with the "Most ever online on a day" number. Here is what happened:
First day, worked great, had 41 people on board. Second day, same thing, but only had 32 people on board, and so it didn't change from day 1. Third day, today, we had a record amount of people online at the same time, so the "Most ever online" was changed from 23 to 25, and for some reason the "Most ever online on a day" was reset, and is currently 29, which is my total for today.