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 |
#212
|
||||
|
||||
so... has anyone figured out the timezone problem?
|
#213
|
||||
|
||||
Installed on 2.2.6 and working well. Thanks!
|
#214
|
||||
|
||||
thanks for this nice hack!! seems to work fine up to now.
what about the timezone ?? what happens when not ALL users have the same time zone like the server ? |
#215
|
||||
|
||||
How can I stop admins from being italicized in this hack? Thanks in advance for your help.
|
#216
|
||||
|
||||
Quote:
Code:
if ($todayuser['usergroupid'] == 6 and $highlightadmin) { $username = "<b><i>$todayuser[username]</i></b>"; } else if (($mod["$userid"] or $todayuser['usergroupid'] == 5) and $highlightadmin) { $username = "<b>$todayuser[username]</b>"; } else { $username = $todayuser['username']; } Code:
if (($mod["$userid"] or $todayuser['usergroupid'] == 5) and $highlightadmin) { $username = "<b>$todayuser[username]</b>"; } else { $username = $todayuser['username']; } |
#217
|
||||
|
||||
Thanks very much, this is a fantastic addition to my forums!
|
#218
|
||||
|
||||
We'll I'm still having that query problem, what is the status on that Mystics? I sent that PM to you with my debug query info a while ago
edit: How strange, I just uncommented the code and I'm only getting 27 queries (an increase of 2). Although I'm running my forums currently on my computer, but this is strange...hopefully it doesn't go back when I upload to my server.. |
#219
|
||||
|
||||
@Velocd
Sorry, I think I have forgotten you I also had only 27 Querys when I used your index.php. I don't know why there are more querys when you use it on your server. |
#220
|
||||
|
||||
Heh, this problem has turned very strange. On my localserver running on my computer, my forum with this hack installed generates just 27 queries. All files on my localserver are EXACTLY the same as the ones running on my webserver. Well, my forums on my webserver with this hack installed generate 43 queries. :dead:
When I comment out the hack I get down to 23 queries. So this appears to be some type of weird database error, since I'm sure it's not in the files. Anyway to zero in on the source of the problem? If it's a database glitch or something.. where might I start looking? |
#221
|
||||
|
||||
lol, my forum isn't even generating 43 queries anymore with this on, it's generating 49..*dies*
There is something screwed up in my database for sure... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|