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

Reply
 
Thread Tools
Who Was Online Today on forums Details »»
Who Was Online Today on forums
Version: 1.00, by Gary King Gary King is offline
Developer Last Online: Jun 2020 Show Printable Version Email this Page

Version: 3.0.4 Rating:
Released: 01-02-2004 Last Update: 03-16-2004 Installs: 527
 
No support by the author.

PLEASE CLICK THE INSTALL BUTTON IF INSTALLED!

What does this hack do?

It shows the users who visited your forums in the last 24 hours (or today). This hack works similiarly like the one released for vBulletin 2.

NOTE: If you want to show 'Who was online today' on a separate page from forumhome, then download instructions-newpage.txt and onlinetoday.php instead of instructions-regular.txt

Modifications
  • 1 file modification
  • 3 template modifications
  • 0 queries to run

Features
  • supports and uses phrases
  • usernames are formatted properly
  • invisible users only show to people who are supposed to see them (admins and whoever else you allowed)
  • integrated (makes it so that the Who Was Online bar is now collapseable

Screenshots
Look below

Credits: Thanks goes to Mystics, where this hack is based on his

Show Your Support

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

Comments
  #212  
Old 03-22-2004, 05:39 AM
blakkboy's Avatar
blakkboy blakkboy is offline
 
Join Date: Aug 2003
Location: Baltimore
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sory i figured it out....

thanx again
Reply With Quote
  #213  
Old 03-22-2004, 05:47 AM
SnowBot's Avatar
SnowBot SnowBot is offline
 
Join Date: Jul 2003
Location: Manchester UK
Posts: 631
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool, glad you got it sorted
Reply With Quote
  #214  
Old 03-24-2004, 06:09 AM
idwf's Avatar
idwf idwf is offline
 
Join Date: Jun 2003
Location: England
Posts: 413
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can anyone get this working on VB3 GOLD?

I cant find anything in the form home that looks like 'todaymaxonline'???
Reply With Quote
  #215  
Old 03-24-2004, 06:57 AM
joeychgo's Avatar
joeychgo joeychgo is offline
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 933
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

worked fine when i upgraded to gold.
Reply With Quote
  #216  
Old 03-24-2004, 10:31 AM
idwf's Avatar
idwf idwf is offline
 
Join Date: Jun 2003
Location: England
Posts: 413
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by joeychgo
worked fine when i upgraded to gold.
urm...I'll try again when i get home, but...This is a fresh copy of VB Gold, urm...in my index.php, i cant find where to insert the code. Can you help me atall?

I've made the database, but..am stuch now. I got it working on RC1,2,3,4.:ermm:
Reply With Quote
  #217  
Old 03-24-2004, 06:59 PM
Gary King's Avatar
Gary King Gary King is offline
 
Join Date: Jan 2002
Posts: 2,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by idwf
urm...I'll try again when i get home, but...This is a fresh copy of VB Gold, urm...in my index.php, i cant find where to insert the code. Can you help me atall?

I've made the database, but..am stuch now. I got it working on RC1,2,3,4.:ermm:
That's strange because I find the code just fine in vB3 Gold
Reply With Quote
  #218  
Old 03-24-2004, 07:02 PM
idwf's Avatar
idwf idwf is offline
 
Join Date: Jun 2003
Location: England
Posts: 413
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gary W
That's strange because I find the code just fine in vB3 Gold
I'll redownload it, its probably me :P


EDIT : I done it! It turns out, i was using the wrong index.php. :nervous:
Reply With Quote
  #219  
Old 03-25-2004, 12:48 AM
MooMan65's Avatar
MooMan65 MooMan65 is offline
 
Join Date: Mar 2002
Location: New Zealand
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hrm. I'm having a problem which is probably just because I'm doing something silly on my part, but it's worth a shot.

I've never been able to get this hack to work, I've run the query, edited the index.php file, added and modified the templates and added in the phrases and yet, while it displays all phrases and template-based things correctly, it refuses to parse the PHP code. At least I think it is, as I'm never getting any Usernames in the list or numbers in the stats. I've tried multiple times but with no success either way.

I'm trying to do an install from scratch on vB3 Gold btw.

Any help would be greatly appreciated! It does sound like I'm doing something wrong in the php file mods, or maybe the query, but I'm not too sure.
Reply With Quote
  #220  
Old 03-25-2004, 10:17 AM
Nj?rd Eriksson Nj?rd Eriksson is offline
 
Join Date: Jul 2003
Location: Midg?rd
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First, let me state that this is an awesome hack, and that I would like to keep it. Thanks to the author and all coders for their work, fixes and improvements.

"Most members ever online on a day" works now. Invisible users are suppressed what is great. The formatting of special users (such as moderators, administrators, &c.) in bold, italics, &c. works, too. The layout is great.

There is, however, still a problem related to time zones. It doesn't matter to what one sets the Default Time Zone Offset in the Admin CP: there are always problems. For demonstration purposes, I set it to GMT:

https://vborg.vbsupport.ru/attachmen...id=17505&stc=1

Every member has now the possibility to define his own Time Zone in the User CP under Edit Options. If I set it to GMT, this is what I get:

https://vborg.vbsupport.ru/attachmen...id=17506&stc=1

If I set it to GMT-9, this is the result:

https://vborg.vbsupport.ru/attachmen...id=17507&stc=1

And worst, and that's the real problem, if I set it to GMT+9, this is the result:

https://vborg.vbsupport.ru/attachmen...id=17508&stc=1

The results obviously depend on the time of the day, but there are always Time Zones for which 0 members are displayed (and this state can last for hours), albeit there are even members online and active at the moment, regardless to what one sets the Default Time Zone Offset in the Admin CP.

Can some advanced coder maybe fix this for all of us who love this hack, please?

(Automatic and static DST offsets in the Admin CP and User CP would have to be considered as well, I assume, but I'm no coder.)

Actually, if possible, best would be if the hack would be totally dynamic, i. e. if it displayed the users of the last 24 hours for everyone, regardless of his time zone.

Thanks for all your efforts. Much appreciated.
Reply With Quote
  #221  
Old 03-25-2004, 07:31 PM
dillon dillon is offline
 
Join Date: Dec 2003
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It seems like I've got my working. However, the Admin/Mods aren't showing up in bold/italics. Any suggestions? I replaced my existing code in index.php as suggested earlier in this thread, but that didn't work.
Thanks.
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 08:46 PM.


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.08362 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
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_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
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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