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)

flup 12-12-2002 03:11 PM

Hack does not work with 2.2.9 :'( I dont know what im doing wrong, but it isn't working.
I did what they said me to do.

[edit]
I see some other 1s with a problem here on 2.2.9
I can't see anything of the hack on my forums
[/edit]

flup 12-12-2002 05:57 PM

Have got it working.
Forgot to make a template

PHPSUN 12-13-2002 12:26 PM

Version with usernames on the main Site of the Forum https://vborg.vbsupport.ru/attachmen...&postid=212495

I am using VB 2.2.9 and I installed above hack as instructed, however it gives me zero on today total members online and does not show any users in the list blow. Any clue.

flup 12-13-2002 01:01 PM

Maybe you forgot to make 1 of the templates.
That's the mistake i made.

There are
forum_todayonlineuser
forum_todayonlineusers

Not many difference in the names.

ukcobra 12-15-2002 09:30 AM

Quote:

Originally posted by flup
Maybe you forgot to make 1 of the templates.
That's the mistake i made.

There are
forum_todayonlineuser
forum_todayonlineusers

Not many difference in the names.

Thought the templates are :

forumhome_todayonlineuser
forumhome_todayonlineusers

Like flup, I too have followed the details, and cannot see any evidence of this hack on 2.2.9. Note, I have no other Hacks installed.

Any help would be appreciated.

Mark

webgaul 12-23-2002 07:51 PM

I need TimeZone fix, can someone PM me the link or send me the code or attach it ?
I want every user can see how many active users today and all users see the same figures, regardless of their TimeZone.

Thanks

NexDog 12-23-2002 10:14 PM

There is no such fix....

BlackDeath 12-24-2002 05:32 AM

hmm, i've installed it but nothing shows up on my page? a problem w/ the template perhaps? i'll take a look. help...

BlackDeath 12-24-2002 05:47 AM

Quote:

Originally posted by BlackDeath
hmm, i've installed it but nothing shows up on my page? a problem w/ the template perhaps? i'll take a look. help...
yeah. that was the problem. this hack works fine w/ 2.28. i dont think anyone's mentioned that.

btw, how do i get it to show at the bottom of my forum and not the top? thanks.

webgaul 12-24-2002 04:33 PM

Quote:

Originally posted by NexDog
There is no such fix....
Ok, I have an idea to solve this problem.
Can I query the db with server time ?

$todayusers=$DB_site->query("SELECT userid, username, usergroupid, lastactivity, invisible FROM user
WHERE lastactivity > " . (mktime(0,0,0,date("m"),date("d"),date("Y")) + (($bbuserinfo['timezoneoffset']-$timeoffset)*3600)) . "
ORDER BY username");

What variable to change if I want to use server time regardless of user timezone ? (text to change is in RED)

Thanks


All times are GMT. The time now is 01:59 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.02291 seconds
  • Memory Usage 1,735KB
  • 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
  • (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