vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   time spent online (https://vborg.vbsupport.ru/showthread.php?t=31340)

butty 10-26-2001 12:25 AM

hit here is there a hack out there that will tell me how long a person has spent in total on my board, im sure ive seen one somewhere and it was under where the user title and post count is.

ie

user has been on the board a total of 6hrs 20mins or 45days 6 hrs etc etc

hope somebody can help me

BradC 10-26-2001 02:26 AM

I have never seen a hack or addon released with this..

but I was actually going to do this for my site..

where it shows how long a user has been on.. for that amount of time before they log off.. and then it would keep track of a total amount of time they have spent on my site..

kind of curious about a few members of my board... seems they either are really bored and sit on it all day.. or what.. dunno.. will find out :)

butty 10-26-2001 02:45 PM

great stuff, i think a lot of peeps would put this one into use, you can seperate the anoraks from the board addicts!!

hope ya can sort it matey id do it myself but i cant get my head round all the brackets n stuff!!

:)

mister 10-26-2001 03:39 PM

i'd be interested in this

ive got this one guy who has gotta be on at least 20 hours a day

:)

David Copeland 10-26-2001 05:33 PM

The new feature known as /online.php is already in place to provide
the recording mechanism the time they came on, where they
went, what they viewed, and what they posted.

Ruth 10-27-2001 12:59 AM

very nice, i would be interested in this as well

good luck :)

mister 10-27-2001 02:13 AM

Quote:

Originally posted by David Copeland
The new feature known as /online.php is already in place to provide
the recording mechanism the time they came on, where they
went, what they viewed, and what they posted.

doesn't online.php just interpret the stuff in admin/sessions.php?

You'd have to do some modifications to sessions.php i would guess .... or have some sort of counter file included in your phpinclude template (sort of like the vbstats hack has)

BradC 10-27-2001 04:12 AM

you can actually do a lot.. if you have the know how with coding.. lol I don't :)

See with the online.php file it tracks what they are doing for the most part and where they are.. not really for how long or anything. I mean I do believe it puts a timestamp on their last activity.. like replying or viewing a page.. but it pretty much ends there.

I am sure you can add a function, and a couple of fields in the user table.. and it can track current online time, and total online time for ya..

Ruth 10-27-2001 10:55 AM

you can find your answers here:

http://www.vbulletin.com/forum/showt...threadid=23527

and then if you add the result you get the total online.

hope this helps

WEBDosser 10-29-2001 11:42 AM

1 Attachment(s)
So has anyone got this hack working?..


All times are GMT. The time now is 08:41 PM.

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.01181 seconds
  • Memory Usage 1,728KB
  • 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