vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Who was online today [available in english & german] (https://vborg.vbsupport.ru/showthread.php?t=34014)

nafae 03-15-2002 06:01 PM

Mr. Slugworth-I installed this hack, and it sayes:

Number of Active Users Today: 13
Most users ever online on a day was 25 on Today.

(I have yesterday-today hack installed)

however notice if only 13 were on today, 25 can't be the record so I think I am having the same problem as you.

Anyone have any idea?

Mr. Slugworth 03-15-2002 06:24 PM

Yah.

Any time I have a record number of people online at the same time (members and quests), my most ever online on a day resets to the current day's figure. So, I am racking up three or four days, and then it gets reset. Bothersome.

69-FLy-gUy 03-16-2002 04:09 AM

so has anyone ever figured out the timezone thing?

nafae 03-16-2002 02:42 PM

It appears firefly has :) its running fine here. Just not on my forums :(

nafae 03-16-2002 09:22 PM

Bump :(

69-FLy-gUy 03-20-2002 11:46 PM

I am woindering if FireFly will tell us how he did it????

FireFly?

I wonder how we get his attention to this thread?????

Gamingforce 03-30-2002 03:10 AM

I love this hack. Really busy day at my place yesterday. Took a screenshot. Over 3000 people active o_O.

http://www.xarcos.com/gff/activetoday1.gif
http://www.xarcos.com/gff/activetoday2.gif

Martz 03-30-2002 09:58 AM

Quote:

Originally posted by Mystics
Uhm.......are you talking about "Currently Active Users", which is a standard feature of vBulletin? :confused:
No, I am talking about "Currently Active Users Maximum" for today. Our record is 71 users online, concurrently. That was 3 months ago or something. Re usually hit 50/60 some days - but I have to be around to see it. My suggestion was to show:

Currently Active Users: 31
There are currently 27 members and 4 guests on the boards. | Most users ever online was 71 on 18-11-2001 at 23:24. The most users on-line today at one time was: 54


The red being the bit I am after. Hope that is clear enough. :paranoid:

boatdesign 04-01-2002 12:15 AM

Just wanted to say very nice mod and a big thank you! I really like this one. The only thing which would make it even better would be to also include the number of guests who visit in addition to logged in members.

babo 04-02-2002 01:58 PM

Quote:

Originally posted by Jawelin
Yeah. Infact yesterday I applied the hack and found about 270 users from the midnight with all your corrections.
Today I have 0 (zero!) users, according to the same hack... :confused:

Actually I think the traslation you made to $unixtoday var had the wrong sign ... :?:

I though to a simpler solution, I guess.
Simply, replace in the ORIGINAL HACK CODE:
PHP Code:

mktime(0,0,0,date("m"),date("d"),date("Y")); 

with:
PHP Code:

mktime($timeoffset-$bbuserinfo['timezoneoffset'],0,0,date("m"),date("d"),date("Y")); 

This should traslate the server's midnight time towards the user one.

What do you thin about ?

It does not give desirable outcomes!
I have other solution:
Quote:

in the ORIGINAL HACK CODE (index.php & onlinetoday.php):
replace:
PHP Code:

mktime(0,0,0,date("m"),date("d"),date("Y")) 

with:
PHP Code:

mktime(0,0,0,vbdate("m"time()),vbdate("d",time()),vbdate("Y"time())) 


It should work.


All times are GMT. The time now is 01:19 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
  • Page Generation 0.01261 seconds
  • Memory Usage 1,752KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete