Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: 1.00, by Mystics Mystics is offline
Developer Last Online: Jun 2015 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 01-10-2002 Last Update: Never Installs: 339
 
No support by the author.

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:
  • Shows "Number of Active Users Today"
  • Shows "Most users ever online on a day"
  • Shows last online time for each User while pointing the Mouse Cursor on it's name (=mouseover) in the list
Important: The Hack only works 100% correct, when each member is in the same time zone as the Server!

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 01-14-2002, 09:00 PM
Twig Deez's Avatar
Twig Deez Twig Deez is offline
 
Join Date: Nov 2001
Location: Aotearoa
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

working well over here. great hack!

a couple of screenshots:
> how it looks on the forumhome page
> how it looks when the new window pops up

Reply With Quote
  #63  
Old 01-15-2002, 09:54 PM
skyline2002 skyline2002 is offline
 
Join Date: Dec 2001
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi, guys!! how can i let the second version(Version with usernames on extra site) work for my vb 2.01??

the first version works fine, but the second version I got nothing show up in Onlineday.php. I found some codes in onlinetoday.php
is only for vb 2.21. That may be the problem.

so can any one help me with the problem??
thank you guys so much!!!

Here is the pic. what I got :
Reply With Quote
  #64  
Old 01-16-2002, 07:13 AM
skyline2002 skyline2002 is offline
 
Join Date: Dec 2001
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by skyline2002
hi, guys!! how can i let the second version(Version with usernames on extra site) work for my vb 2.01??

the first version works fine, but the second version I got nothing show up in Onlineday.php. I found some codes in onlinetoday.php
is only for vb 2.21. That may be the problem.

so can any one help me with the problem??
thank you guys so much!!!

Here is the pic. what I got :
no one help me ???
Reply With Quote
  #65  
Old 01-16-2002, 10:36 AM
genial's Avatar
genial genial is offline
 
Join Date: Nov 2001
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Erwin Loh
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).
from the timezone-fix, which was posted here , please delete this line:
PHP Code:
$unixtoday $timeoffset 3600 $unixtoday
and replace this line:
PHP Code:
$unixtoday $bbuserinfo[timeoffset] * 3600 $unixtoday
with this:
PHP Code:
$unixtoday $unixtoday + ($bbuserinfo['timezoneoffset'] - $timeoffset) * 3600
and test it again.

i hope so it will work well. please give me your feedback about it.
Reply With Quote
  #66  
Old 01-16-2002, 04:36 PM
Jawelin Jawelin is offline
 
Join Date: Nov 2001
Posts: 557
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Mystics
The Hack only works 100% correct, when each member is in the same time zone as the Server!
Well. If I was about 6 hours behind the server ?
Is there any setting to modify (traslation) to make the daytime interval synchronized to my time and not to server one ?
Thanks a lot

Otherwise I think it'll not useful to me ...
Reply With Quote
  #67  
Old 01-16-2002, 07:32 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi genial,

No, your time fix did not work.

It looked as though it was okay when a user is unregistered, but when I log on as a registered user, there was 0 number shown. Not sure why to be honest - your fix should have worked.

I reverted back to the original fix.
Reply With Quote
  #68  
Old 01-16-2002, 08:18 PM
S0uL S0uL is offline
 
Join Date: Nov 2001
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have one problem the - Most users ever online on a day was - it keeps changing from day to day.
Reply With Quote
  #69  
Old 01-17-2002, 08:10 AM
Lucky Lucky is offline
 
Join Date: Dec 2001
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Hack!

Thank you
Reply With Quote
  #70  
Old 01-17-2002, 08:47 PM
DarkReaper DarkReaper is offline
 
Join Date: Oct 2001
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could you make it so guests count as well?
Reply With Quote
  #71  
Old 01-17-2002, 11:39 PM
Psychdrone Psychdrone is offline
 
Join Date: Nov 2001
Posts: 525
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

errr Great hack! as I said before!

But now I changed it to where the users lists is located on another page, and All it doseit tell me how many people have been online. but dose not include a list of people? anyhelp thanks!!!!!!!
Reply With Quote
  #72  
Old 01-18-2002, 10:33 AM
Mystics's Avatar
Mystics Mystics is offline
 
Join Date: Oct 2001
Location: Germany
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Psychdrone
errr Great hack! as I said before!

But now I changed it to where the users lists is located on another page, and All it doseit tell me how many people have been online. but dose not include a list of people? anyhelp thanks!!!!!!!
Check if you have done all necessary template changes and if you have uploaded onlinetoday.php! (You only see the list of usernames on onlinetoday.php in the second version of the Hack!)
Reply With Quote
  #73  
Old 01-18-2002, 09:00 PM
Psychdrone Psychdrone is offline
 
Join Date: Nov 2001
Posts: 525
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the second version??

so just redownload that zip?

allright I will try this again
Reply With Quote
  #74  
Old 01-18-2002, 09:08 PM
Mystics's Avatar
Mystics Mystics is offline
 
Join Date: Oct 2001
Location: Germany
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Psychdrone
the second version??
Look at my first Posting in this Thread.....there are two Versions of the Hack

1. All names of the Users who where online today are listed on the Forum-Home just below the "Curent Active Users"

2. All names of the Users who where online today are listed on a separate Site (onlinetoday.php)

That's what I meant with the "second version"!

And it seems, you have installed the second version...because you don't see the names on the Forum Home !!! So, upload onlinetoday.php and open it....you can see the names there (and first, follow all instructions in "who-was-online-today-with-extra-window.txt" !)
Reply With Quote
  #75  
Old 01-20-2002, 01:29 AM
Psychdrone Psychdrone is offline
 
Join Date: Nov 2001
Posts: 525
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

heh didn't see your second post! :zzz:

anyways thanks bud, got it working,

If you ever need anything give me a holla
Reply With Quote
  #76  
Old 01-20-2002, 01:22 PM
L'Bo's Avatar
L'Bo L'Bo is offline
 
Join Date: Dec 2001
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this seems like a great hack.. but when i try to install it on index.php i get a error

Parse error: parse error in /home/lbo/public_html/forums/index.php on line 267

thats what happend i am running 2.2.1

some one please help me
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:44 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05333 seconds
  • Memory Usage 2,371KB
  • Queries Executed 30 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete