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 last X hours Dynamic (https://vborg.vbsupport.ru/showthread.php?t=62796)

VBDev 03-21-2004 10:00 PM

Who was online last X hours Dynamic
 
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.

Owen 03-22-2004 07:16 PM

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.

VBDev 03-22-2004 07:23 PM

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

Rampag33 03-22-2004 07:53 PM

LOL small addition but I do like it.

Preds 03-22-2004 08:57 PM

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

Thanks!

Gio Takahashi 03-22-2004 10:43 PM

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?

enginethatcan't 03-23-2004 12:24 AM

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: **.***.***.****

VBDev 03-23-2004 04:06 AM

@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

enginethatcan't 03-23-2004 08:58 AM

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: ***.**.****.****.**

VBDev 03-23-2004 09:02 AM

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


All times are GMT. The time now is 12:30 AM.

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.01360 seconds
  • Memory Usage 1,738KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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