![]() |
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 |
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: ) |
....and here is a Screenshot of the German Version of this Hack.
------------------ ....und hier ist ein Screenshot der deutschen Version des Hacks. |
Great! Thanks for the hack. It seems really good
|
nice hack!
THX :) |
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 |
Nice work , I will test it out to see how it works! Thanks
|
Quote:
Quote:
Quote:
|
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 :) |
Quote:
|
Great hack, i luv it :D Thanks
|
Quote:
|
Quote:
|
Quote:
Replace $todayonline with $numbertodayonline |
Ahh great, worked it out. Thanks again. :)
|
Quote:
I have attached the Instructions and a new PHP-File in a ZIP File to this Posting. Please let me now if it's that, what you wanted. Info: My attachment does not only contain the changes to the Original Hack....it's a complete new Hack, so it will be the best, you remove the other version of the hack. [UPDATE] I have forgotten something in onlinetoday.php (Moderators have not been highlighted), thanx to genial for the Fix! I have replaced the Attachment with the new version. [UPDATE2] Max users and date are now showing correct. [UPDATE3] Fixed problem with the "Most Users"-Count (Replace '$maxusers[2] = $todayonline;' with '$maxusers[2] = $numbertodayonline;' in index.php & onlinetoday.php) [UPDATE4] Fixed the Query within onlinetoday.php and index.php (includes now the User's Timezone) |
This is such a cool hack! :cool: I installed the new version with the screen for Who Was Online. I love it. I do have one small problem. The other admin and myself are showing up as bold and italic on that page. But, the moderator on the page isn't bold for some reason. I'll see if I can figure it out. But, any help would be appreciated. :)
I fixed it. I just added user group 7 to the or statement in the highlighting section in onlinetoday.php. :) |
Quote:
search for: PHP Code:
PHP Code:
|
Nice hack, I really enjoy it
|
Great hack, works well!
|
Quote:
|
great it works perfectly.. screen cap of today so far :)
|
another request... how would you allow
registered and guest users to view the onlinetoday.php page ? right now i have online.php only mod and admin viewable and it seems onlinetoday.php is the same.. i'd like online.php to retain it's normal mod /admin only viewing but onlinetoday.php to be viewabe by guest and registered users as well as mods/admin |
Quote:
PHP Code:
|
Quote:
|
Quote:
|
for some reason my
Most users ever online was 35 on 01-12-2002 at 08:31 AM. keeps changing to whatever I have on at that given time here is the code I am using for that <tr id="cat"> <td bgcolor="{categorybackcolor}" colspan="6"><a href="online.php?s=$session[sessionhash]"><normalfont color="{categoryfontcolor}"><b>Currently Active Users</b></normalfont></a><normalfont color="{categoryfontcolor}"><b>: $totalonline</b></normalfont></td> </tr> <tr> <td bgcolor="{firstaltcolor}" colspan="6"><smallfont> <nobr>There are currently $numberregistered members and $numberguest guests on the boards.</nobr> | <nobr>Most users ever online was $recordusers on $recorddate at $recordtime.</nobr><br> $activeusers $birthdaybits</smallfont></td> </tr> Any clues? |
I found a slight problem with onlinetoday.php when the day changed. Max users and date is fine on forumhome, but it's showing todays information on onlinetoday.php instead of the max number. I looked at Eva's board and it's doing the same thing. I've been tinkering with the code. I've managed to break it several times, but I haven't gotten it right yet. :)
|
Quote:
waiting for a fix :) |
in the near future i will make a new release of this hack. ;)
the new release includes all existing features and an extra todayonline-page in "who is online"-style. the display on forumhome will be dis- or enabled in admin-cp options. and specially guests will be counted. :) |
Quote:
Download in old posting above...or use this link: https://vborg.vbsupport.ru/attachmen...&postid=212603 |
Uhm could we have the latest files in the 1st post of the thread please, I'm confused as to all the different versions of this hack?
Cheers. |
Quote:
In the first post is also a link to the other version of the Hack, this link directly points to the download of the actual version (https://vborg.vbsupport.ru/attachmen...&postid=212603) 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) Greetz, Mystics |
| Most users ever online was 43 on 01-12-2002 at 05:38 PM.
Why does my record for online users keep changing to the number that is currently online? is something not gettig updated? $recordusers seems t just point to whatever number I currently have online now. how can I fix this . I posted my code for loggedinusers on page 2 Sarge |
Quote:
|
Quote:
|
great hack! thanx
|
After I installed today, vb's time got offset by + 6 hours. I am in Florida and all my settings, personal and admin are set to -5 from gmt. Now it is 6:00 PM, I show 12:00 AM. Anyone else noticed?
|
today i have found a little bug in this hack, by showing the today-record-user count for members.
to fix it, replace from the hack in index.php and, if you have in mystics onlinetoday.php, following line: PHP Code:
PHP Code:
|
Thx genial, have updated the instructions.
|
All times are GMT. The time now is 04:49 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|