vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - IWT - Time Spent Online (https://vborg.vbsupport.ru/showthread.php?t=238154)

Ideal Web Tech 03-14-2010 03:11 PM

Quote:

Originally Posted by sulasno (Post 2003421)
I got 1.2 from your site;
in the instructions I was requested to upload the folder "uploads" to the root

I just tested your Mod and couldn't find tsoleaderboard.php
I moved it to the root and it's working

great Mod

I'm sorry, the instructions were suppose to say "upload the contents of the uploads...", the included instructions have been updated to be correct now.

kevius 03-14-2010 03:54 PM

well done, tks a lot !

relaxiha 03-14-2010 04:23 PM

Time Online: N/A
Avg. Time Online: N/A

Ideal Web Tech 03-14-2010 04:24 PM

Quote:

Originally Posted by relaxiha (Post 2003495)
Time Online: N/A
Avg. Time Online: N/A

It will say that for members that haven't been online since the system was installed as they have no time to calculate.

SwollenCranium 03-14-2010 04:30 PM

Quote:

Originally Posted by Ideal Web Tech (Post 2003496)
It will say that for members that haven't been online since the system was installed as they have no time to calculate.



Where does this mod gather stats from?

I've been logged into my site for well into 6 hours so far today yet the counter only shows me @ 1 hr 9 minutes.

Ideal Web Tech 03-14-2010 04:45 PM

Quote:

Originally Posted by SwollenCranium (Post 2003502)
Where does this mod gather stats from?

I've been logged into my site for well into 6 hours so far today yet the counter only shows me @ 1 hr 9 minutes.

The stats calculations are a bit complex to explain but work as follows. First you have your cookie timeout which vbulletin uses to determine weather you are online or offline. We use that timeout and a page reload we verify your last known activity time (current timestamp - last known active timestamp) and if its within the allowed cookie timeout then we will update your time online as you haven't lapsed in being online. If the time difference is greater then the allowed cookie timeout the last active timestamp updates and the next page will start the time online updating again. When we update the time online we use the difference between the two timestamps.

SwollenCranium 03-14-2010 06:29 PM

Quote:

Originally Posted by Ideal Web Tech (Post 2003512)
The stats calculations are a bit complex to explain but work as follows. First you have your cookie timeout which vbulletin uses to determine weather you are online or offline. We use that timeout and a page reload we verify your last known activity time (current timestamp - last known active timestamp) and if its within the allowed cookie timeout then we will update your time online as you haven't lapsed in being online. If the time difference is greater then the allowed cookie timeout the last active timestamp updates and the next page will start the time online updating again. When we update the time online we use the difference between the two timestamps.


Ok, thanks for the explanation.

This is good to know as I have a fairly modest Session timeout set on my site.

Ideal Web Tech 03-14-2010 11:26 PM

Well glad we could clarify that for you.

RedHacker 03-15-2010 09:18 AM

It is very nice mod but good to work with continuous flow

Ocean-Wonders 03-15-2010 09:39 AM

Great mod, my members are competing already :D

Just hope it doesn't scare them in a few months time when they realise how long they have spent on the forum :D


All times are GMT. The time now is 07:44 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.01284 seconds
  • Memory Usage 1,739KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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