vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Who Was Online Today on forums (https://vborg.vbsupport.ru/showthread.php?t=59579)

Nj?rd Eriksson 04-25-2004 10:23 AM

Quote:

Originally Posted by good2laugh
Hi guys - bit of newbie here.. following the instructions for normal text - but am a bit lost on the creating phase part - it says
NOW CREATE THE FOLLOWING PHRASES:
******************************
last_online_at_x / Last online at {1}
******************************
active_users_today / Number of Active Users Today
******************************
most_users_ever / Most users ever online on a day was {1} on {2}.
******************************
already_visited_today / The following members have already visited the forums today

I'm sure that is straightforward to you guys, but not to me -can someone help me


in the cp it says VAR NAME and text - and I'm NOT clear what I do

text is the part above? ie last_online_at_x / Last online at {1} ?? but what is VARNAME


PLEASE help a newbie :)

VARNAME: last_online_at_x
Text: Last online at {1}

Add the others accordingly.

DWard 04-25-2004 05:04 PM

Kool, bin lookin for one of these for ages

FleaBag 04-25-2004 11:32 PM

Quote:

Originally Posted by Onkel_Tom
but the most users online still resets every day....

Mine is doing this too. :(

KarateKid 04-26-2004 05:47 PM

Quote:

Originally Posted by FleaBag
Mine is doing this too. :(

I have still the problem with the "newpage"-version, that the record resetts daily! :mad: :(

No solution available?

Blade-uk 04-26-2004 09:55 PM

Admin-Bold
Super Mods-Bold

But for some reason, we all show up fine in bold, but theres a user who is a normal registered user but he comes up in bold too.

any ideas ?

thanx

Chris|vB 04-30-2004 01:41 AM

Installed.

q8square 04-30-2004 06:24 AM

I've installed the hack, and it worked perfectly ..

But already_visited_today are not being shown except for the GUEST ..

as soon as I sign in, this info is reset !!

That sounds very strange, how can I solve it ?

MindTrix 04-30-2004 11:14 AM

Can we get a screenshot of the Who Was Online Today when its on its own page? Also on the front you say theres no querys to run but there is :p

Nj?rd Eriksson 04-30-2004 08:03 PM

Quote:

Originally Posted by q8square
I've installed the hack, and it worked perfectly ..

But already_visited_today are not being shown except for the GUEST ..

as soon as I sign in, this info is reset !!

That sounds very strange, how can I solve it ?

This might simply be this time zone problem I already described.

It is impossible to display a "Who was online today?" list correctly for all members regardless which time zone they use on each and every board regardless which default time zone the board uses if one doesn't keep a list of members that logged in within the last 48 hours (instead of only 24 hours).

Best (and probably easiest to code) would be to make the list fully dynamic (i. e. "Who was online in the last 24 hours?"

I know that there is a dynamic "Who was online in the last 24 hours?" hack already (which works fine) but this "Who was online today?" also keeps the "Most users ever online on a day was ..." top score which I don't want to miss.

Ironically enough, this "Most users ever online on a day was ..." function is done fully dynamically (and doesn't rely on the vBulletin "Registered visitors today" stats which are not dynamic but based on the default time zone) which is absolutely awesome.

Since the author apparently doesn't support this hack anymore and because so many people have installed this hack already (all of whom have this time zone problem I described, regardless if they are aware of it or not), I wonder if some coder could convert the "Who was online today?" routines to fully dynamic "Who was online in the last 24 hours?" routines (or fix it by keeping the login entries for 48 hours and considering the member's time zone as offset from the default time zone which is, however, probably somewhat more complicated?)

Either solution would be absolutely elite and elysian, and I would make such a coder my hero of the month. ;)

elmore 04-30-2004 10:46 PM

I'd like to just say hello to everyone real quick. I'm brand new to the vBulletin community so I'm fairly ignorant on how the entire systems works. Anyways I just installed this hack on 3.0.1 and it seems to pull information though it's not formatted correctly. I assume this is of course something stupid that I have done but not knowing the system any better than I do at this point I'm a bit clueless. :o

Anyways I'd love it if someone could give me a gentle shove in the right direction and lemme know what I should look at, attached is a screenshot of the error I get. Thanks.

*edit*

Ummm nevermind I got it fixed cut off a tag in a cut and paste. Knew it would be something stupid like that. Anyways:

I had

Code:

ref="member.php?$session[sessionurl]u=$userid" title="<phrase
I clipped the

Code:

<a


All times are GMT. The time now is 01:25 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.01857 seconds
  • Memory Usage 1,746KB
  • 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
  • (2)bbcode_code_printable
  • (4)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