The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
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:
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
|
Comments |
#42
|
||||
|
||||
i double checked and the
Active users today figure is resetting itself based on my server time ? it's 5 pm where I am and it was reset to zero just now.. i checked and my server time is 12 am.... probably no way to fix that since every member would then see a different figure from different time zones ? or can you define in the script the reset time or allow vB admins to define that time ? i.e. based on the vB admin's GMT offset time.. |
#43
|
||||
|
||||
Eva is absolutely right, the same thing happens to me, so I figure it must be set to the server's time.
|
#44
|
||||
|
||||
Quote:
our server is in the same timezone as the members and so that was not importend for me and i didn't consider that. i will see to fix it, so that showing to the members the active today figure according to there members-timezone and the todayrecord to the selected timezone in the vbb-options. |
#45
|
||||
|
||||
Great hack, I love the concept.
One thing, you might want to consider indexing the lastactivity column in the user table, otherwise the query scans a HUGE table (several thousands sometimes! ) |
#46
|
||||
|
||||
Quote:
i will consider this in the next release of this hack, because the next release needs changes in the database for count guests. |
#47
|
||||
|
||||
Just installed this here btw, works great.
|
#48
|
||||
|
||||
@all with the timezoneproblem of this hack:
i am not sure if this changes fix the problem, because our server is in the same timezone as the members and so i can't test it. please test the changes for me. find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
#49
|
||||
|
||||
<font size="3">important: please notice</font>
the fix for the timezone problem has changed at this moment, please check your code if you have this fix installed before. |
#50
|
|||
|
|||
Does this only count members or can it count guests too?
|
#51
|
||||
|
||||
Ok, I did everything in the instructions, and nothing happened. I did the one on the seperate page. Anyways, nothing changed on the main page, and if I go to onlinetoday.php, it is just a blank white page.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|