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)

War.Frog 03-15-2010 01:42 PM

I think some of my members have already figured out they can just leave their browser sitting on the Who's Online screen and rack up the hours. LOL.

Hmm...any way to exclude javascript refreshes from this?

EastCarolina 03-15-2010 04:04 PM

I get a 404 page error when I click the leader board link. Any ideas?

War.Frog 03-15-2010 04:50 PM

Quote:

Originally Posted by EastCarolina (Post 2004153)
I get a 404 page error when I click the leader board link. Any ideas?

It sounds like it can't find your tsoleaderboard.php file. Did you upload it to the root of your forum?

Ideal Web Tech 03-15-2010 04:53 PM

We will see about a toggle for bypassing whosonline.

pjaco 03-15-2010 07:49 PM

Thanks

War.Frog 03-16-2010 03:19 PM

My only problem with this mod is the "Average Time Online Per Day" statistic. It appears that it uses either the member's registration date or date forums came online as the numerator.

Unfortunately, for long-standing boards this makes for nearly useless information. For instance, my online time since installation two days ago is a whopping 26+ hours, yet my average time online is 8 minutes.

Can we please have an option to change that numerator to install date? This would normalize that number and make it always right. Alternatively, if there a place in the code I can go to change it?

Ideal Web Tech 03-16-2010 05:10 PM

Quote:

Originally Posted by War.Frog (Post 2004842)
My only problem with this mod is the "Average Time Online Per Day" statistic. It appears that it uses either the member's registration date or date forums came online as the numerator.

Unfortunately, for long-standing boards this makes for nearly useless information. For instance, my online time since installation two days ago is a whopping 26+ hours, yet my average time online is 8 minutes.

Can we please have an option to change that numerator to install date? This would normalize that number and make it always right. Alternatively, if there a place in the code I can go to change it?

War.Frog, it does the Average Time Online calculation based on the following:
  1. The timestamp of when the script was installed
  2. The timestamp of when the user registered if they registered after the script was installed

Now I did look though the code again, and as far as I can tell it's working just fine. If you are positive its not working still, maybe try un-installing and re-installing, but be warned doing that will clear the total time for all your users.

If anyone else believes they are having this problem please let me know and I'll see about having our Lead Developer look over the code again.

War.Frog 03-16-2010 05:25 PM

Quote:

Originally Posted by Ideal Web Tech (Post 2004903)
War.Frog, it does the Average Time Online calculation based on the following:
  1. The timestamp of when the script was installed
  2. The timestamp of when the user registered if they registered after the script was installed

Now I did look though the code again, and as far as I can tell it's working just fine. If you are positive its not working still, maybe try un-installing and re-installing, but be warned doing that will clear the total time for all your users.

If anyone else believes they are having this problem please let me know and I'll see about having our Lead Developer look over the code again.

Yes sorry I didn't mean to suggest it wasn't working - it's a great mod and working as designed. I just wanted the option of changing the numerator from registration date to installation date.

By using installation date and registration date, it's looking at two very different variables for calculating average time spent online. If user XYZ has been registered for two years it will take weeks before his average time online begins to look remotely correct or informational.

For me, I'd rather the formula calculate the average time online starting at install time (not registration date)...or both if that's preferable or easier. That way users won't be writing me saying, "c'mon that's ridiculous...I spend way more than 8 seconds a day on here!". :)

Ideal Web Tech 03-16-2010 05:29 PM

Quote:

Originally Posted by War.Frog (Post 2004911)
Yes sorry I didn't mean to suggest it wasn't working - it's a great mod and working as designed. I just wanted the option of changing the numerator from registration date to installation date.

By using installation date and registration date, it's looking at two very different variables for calculating average time spent online. If user XYZ has been registered for two years it will take weeks before his average time online begins to look remotely correct or informational.

For me, I'd rather the formula calculate the average time online starting at install time (not registration date)...or both if that's preferable or easier. That way users won't be writing me saying, "c'mon that's ridiculous...I spend way more than 8 seconds a day on here!". :)

No its supposed to use which ever of the 2 checks is newer so for people who registered before it installed it should be using the installed timestamp (why we had to clear the stats because of a bug this creates with time existing before install) and if they registered after then it should use their registration date. It was done like this to try and be as accurate as possible in the calculations.

War.Frog 03-16-2010 05:35 PM

Oh!!! Thank you for that. Hmm...ok, then something got funky in my upgrade. I'll uninstall and reinstall.


All times are GMT. The time now is 07:35 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.01230 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)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