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 last X hours Dynamic Details »»
Who was online last X hours Dynamic
Version: 1.00, by VBDev VBDev is offline
Developer Last Online: Dec 2021 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 03-21-2004 Last Update: Never Installs: 43
 
No support by the author.

Who was online last X hours Dynamic

This hack is an evolution of my who was online last 24H dynamic.

It shows the username of the users that have been online in the last X hours.

You can now set the number of hours that are used for the who was online (1,2...).

This hack is dynamic,it means that it's updated at each user connection.



In the zip file there is an installer provided in French and English as weel (you just have to change the language of the installer in the first page of it.

Show Your Support

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

Comments
  #2  
Old 03-22-2004, 07:16 PM
Owen Owen is offline
 
Join Date: Jan 2002
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How is that different from the other hack? How does it count members?

Sound pretty nifty, but I'd like to know the difference regarding the counting.
Reply With Quote
  #3  
Old 03-22-2004, 07:23 PM
VBDev's Avatar
VBDev VBDev is offline
 
Join Date: Jan 2004
Location: France
Posts: 2,570
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The difference is that you can set the number of hours

For example if you want a who was online last 2 hours or 3 hours (as you want)

And it doesn't update at midnight like the other version of who was online last 24h do
Reply With Quote
  #4  
Old 03-22-2004, 07:53 PM
Rampag33's Avatar
Rampag33 Rampag33 is offline
 
Join Date: Jun 2002
Location: Houston, Texas
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

LOL small addition but I do like it.
Reply With Quote
  #5  
Old 03-22-2004, 08:57 PM
Preds Preds is offline
 
Join Date: Mar 2004
Location: Buffalo NY
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, very nice. I had to do some modifications to make it work with the Welcome hack but I figured it out!

Thanks!
Reply With Quote
  #6  
Old 03-22-2004, 10:43 PM
Gio Takahashi's Avatar
Gio Takahashi Gio Takahashi is offline
 
Join Date: Jul 2003
Location: Cape Coral
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thinking about installing this, although theres almost no need for it since I got last 24 hours and currently online. I assume this may take up a query?
Reply With Quote
  #7  
Old 03-23-2004, 12:24 AM
enginethatcan't enginethatcan't is offline
 
Join Date: Jul 2003
Location: MA
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Database error in vBulletin 3.0.0 Release Candidate 4:

Invalid SQL: CREATE TABLE usersonline (userid int(5) DEFAULT '0' NOT NULL, date varchar(10) DEFAULT '0' NOT NULL, datevraie DATETIME NOT NULL)
mysql error: Table 'usersonline' already exists

mysql error number: 1050

Date: Monday 22nd of March 2004 07:21:32 PM
Script: http://www.musclemorpheus.com/forum/...pe=1&langue=en
Referer:
Username: *******
IP Address: **.***.***.****
Reply With Quote
  #8  
Old 03-23-2004, 04:06 AM
VBDev's Avatar
VBDev VBDev is offline
 
Join Date: Jan 2004
Location: France
Posts: 2,570
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Gio_Takashi

Yes it take more than a query while it checks at each connection if the user has already been online during the last x hours and then it delete the member from the useronline table that have been online since more than the x hours.

Quote:
Originally Posted by enginethatcan't
Database error in vBulletin 3.0.0 Release Candidate 4:

Invalid SQL: CREATE TABLE usersonline (userid int(5) DEFAULT '0' NOT NULL, date varchar(10) DEFAULT '0' NOT NULL, datevraie DATETIME NOT NULL)
mysql error: Table 'usersonline' already exists

mysql error number: 1050

Date: Monday 22nd of March 2004 07:21:32 PM
Script: http://www.musclemorpheus.com/forum/...pe=1&langue=en
Referer:
Username: *******
IP Address: **.***.***.****
if you have already install my who was online last 24h dynamic you must run first the uninstall process
Reply With Quote
  #9  
Old 03-23-2004, 08:58 AM
enginethatcan't enginethatcan't is offline
 
Join Date: Jul 2003
Location: MA
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I uninstalled it and got this message on every page now

Database error in vBulletin 3.0.0 Release Candidate 4:

Invalid SQL: SELECT userid FROM usersonline WHERE userid=2
mysql error: Table 'vb_musclemorpheus_com.usersonline' doesn't exist

mysql error number: 1146

Date: Tuesday 23rd of March 2004 03:57:44 AM
Script: http://www.musclemorpheus.com/forum/...ine24h_rc2.php
Referer:
Username: *******
IP Address: ***.**.****.****.**
Reply With Quote
  #10  
Old 03-23-2004, 09:02 AM
VBDev's Avatar
VBDev VBDev is offline
 
Join Date: Jan 2004
Location: France
Posts: 2,570
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if you uninstalled it then ou must remove all the modifications from the file

this error comes from the fact that you didn't remove the modification from the sessions.php file
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 02:13 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.04710 seconds
  • Memory Usage 2,289KB
  • Queries Executed 23 (?)
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
  • (1)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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