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 |
#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.
|
#52
|
||||
|
||||
Quote:
|
#53
|
||||
|
||||
yeah, I did
|
#54
|
||||
|
||||
Quote:
i will release a new version of this hack in the near future, which counts members and guests. guests will be differentiated through their ip, that means two guests with the same ip will be counted as one guest and a guest with different ips (surfing the web through a proxy-server) will be counted as more guests. |
#55
|
|||
|
|||
Quote:
|
#56
|
||||
|
||||
OK, I figured out how to work it, kind of. I don't understand what templates are, and how template sets work. The reason why it wasn't working was because the style set I was using, had the template set Hyren Village selected, and the templates I made for the hack were in default template set. But when i switch my style to default, the layout changes. Should I put those templates you make (for the hack) in every template set?
|
#57
|
||||
|
||||
Quote:
|
#58
|
||||
|
||||
Hi genial,
Iinstalled the updated code. No way of knowing if it does work until tonight, but it looks like it's working. The numbers did change. Just one IMPORTANT NOTE for potential installers: Remove the "color" variable from the first code change if you do NOT have the color hack installed (or whatever that color variable is for) - otherwise your index.php will not work as you will get a database error! Will let you know if there are any problems. Thanks! |
#59
|
||||
|
||||
On second thoughts, I don't think the updated code is working. On the "visitors who have visited today" I am seeing members who was on definitely yesterday according to my timezone, and not since. I think you are using the DEFAULT timezone for VB - not the server one, but the default one, not the member's own timezone.
Server time zone: GMT -6 VB default: GMT 0 My timezone: GMT +10 Instead of using GMT -6 which was what it was using, it is now using GMT 0 (I think). Anyone else with the same problem? |
#60
|
||||
|
||||
Quote:
i have fixed this little mistake in the posted code. i will check the fix for the timezone problem tomorrow, if i find time for. |
#61
|
|||
|
|||
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|