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 |
#182
|
||||
|
||||
You maybe need to do this:
Open onlinetoday.php and search: PHP Code:
PHP Code:
|
#183
|
||||
|
||||
It worked, thank you very much. It says Number of avtive users today is 4 and the most ever online in a day is 5 on Today (which would mean a guest was on, right?) That is where the extra number comes up? Is there any way not to make it count guests?
|
#184
|
||||
|
||||
The Hack does not count Guests.
The fact that the record today is higher than the number today is a bug which you cannot avoid. Because the number of today users is generated dynamically based on each users local time and the record number of online users can be set by any user and is stored fixed in the database. So a user in an other timezone can set an higher record than an other user in an other timezone actually will get. Hm, I hope you understand, what I'm trying to say |
#185
|
||||
|
||||
I'm really lost on this one. take a look at waht I mean and maybe it will make more sense to me. Also, notice that on the main page at the bottom the Number of Avtive users today is different than it is on the page it links to. Why is that?
My Site Let me know what you think. I doubled checked everything and I must have missed something. |
#186
|
||||
|
||||
You can't do anything against your first Problem as I wrote in my last Posting.
>>Also, notice that on the main page at the bottom the Number of Avtive users today is different than it is on the page it links to I have updated the instructions of the Hack. To fix this, you also have to change the line in index.php (same changes you have done in onlinetoday.php) |
#187
|
||||
|
||||
Thank you (again). Everything seems to be in working order now. I guess I still don't quite fully understand the difference in most users ever line being different, but if you say that is normal and how it works, then I will leave it at that and not hurt myself trying to figure it out anymore. One last question, is there way to color the names like in Currently active Users for the Admin, Mod and Super Mod? I tried the one that was posted in this thread a ways up, but that was for the same page version and I couldn't get it to work.
Thanks again for a great hack and sorry about all of the problems. |
#188
|
||||
|
||||
hey Mystic, I just installed the extra page version. The weird thing is it says "Number of Active Users Today: 0
Most users ever online on a day was 169 on Jun 05, 2002." It shows up correctly for some people (i.e. not zero). Do you know what's wrong? My forum |
#189
|
||||
|
||||
Quote:
And maybe it needs some time to show a value>0 for each user. Mystics |
#190
|
||||
|
||||
It's working for me now also (although not 100% correct).
Now it says: "Number of Active Users Today: 750 Most users ever online on a day was 811 on Today. " Thanks for the cool hack. |
#191
|
||||
|
||||
To explain the difference between the two numbers:
"Number of Active Users Today" is generated dynamically according to your time zone. "Most users ever online on a day" is a static value saved in the database; each user can update this value, and according to the time zone of each user, User #1 maybe can have more people online on his "Today" as User #2 (because they are in different time zones) I hope anybody could understand this Mystics |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|