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 |
#362
|
||||
|
||||
Alright I installed it. It worked mint. Now it's a new day and nothing shows up and it's 0 visitors yet there have been like 20 visits. Oh and the record is still there. And the .php file dosn't show anything also.
|
#363
|
||||
|
||||
To reduce this to one query use this modifacition.
Find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
#364
|
||||
|
||||
I dont think you will always save 1 query with that. Notice that both
PHP Code:
I could be wrong of course |
#365
|
||||
|
||||
Ya thoes ifs are pretty much aways gonna run. If they didn't the online today hack wouldn't.
|
#366
|
||||
|
||||
Oh and neither have a else tag wich means they arn't a option
|
#367
|
||||
|
||||
SmEdD:
This doesn't make any sense. Just because there is no ELSE does not imply that the IF clause is always executed. And fact is, it is not always executed. Only when the Who-Was-Online-List changes, the query is executed. Otherwise it is read from cache. Your modification, however, always runs the query - even when it is not necessary. |
#368
|
|||
|
|||
I forgot how to change the colours of the users online (eg. admin get diff. colour) can anyone remind me how ? Thanks
|
#369
|
|||
|
|||
I don't know if this has been posted before but when I click on the Number of Active Users Today the onlinetoday.php page just comes up as a blank page?
useing the Version with usernames on extra site (onlinetoday.php) I've double checked the code and haven't found anything wrong that I did during the installaion. |
#370
|
||||
|
||||
Works fine for me
you upload the php file to your forums dir if you used the file ? |
#371
|
||||
|
||||
Will this work for vBulletin 2.3.0? Is there an update that's compatible with 2.3.0?
|
#372
|
||||
|
||||
It works in 2.3.0
|
#373
|
|||
|
|||
ARGG i get this annoying thing it shows the number of active users perfect and it also shows all Most users ever online on a day was 3 on 06-11-2003. when i first installed but for some reson it doesen't show the usernames of that user ??? do you no how to fix im also using 2.3.0 and the Emerge skin from vbskinz.com ??
|
#374
|
||||
|
||||
Quote:
I'm running vB 2.3.0 but for some reason I installed it but all I get is zeros. It's not adding any stats to the readout. Quote:
|
#375
|
||||
|
||||
Ok, it appears to be a misunderstanding on my part of how the invisible users thing works.
From the hack docs: Quote:
if we want the "Number of Active Useres Today" area to only count users that are visible, replace $numbertodayonline with $todayonline. ...So what do we do if we want the "following members have already visited the Board today" list of those that visited/were online during the given day to INCLUDE the invisible members on that list? |
#376
|
||||
|
||||
dont change it if you want the invisable to be on there. its set up like that. the change is to stop invisable from being there
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|