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?..

DPoole 10-31-2001 10:41 AM

Quote:

Originally posted by Ruth
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

still cant figure this . ? as anyone else :confused:

MrLister 10-31-2001 02:15 PM

this hack seems great... i'll see if i can make it during my spare time...

eva2000 10-31-2001 02:15 PM

Quote:

Originally posted by MrLister
this hack seems great... i'll see if i can make it during my spare time...
:cool:

DPoole 11-01-2001 02:09 AM

Quote:

Originally posted by MrLister
this hack seems great... i'll see if i can make it during my spare time...

nice 1 :) in your spare time lol, i been tryin for a cpl of days constant :D

MrLister 11-01-2001 02:38 AM

:) hehe

apfeifer 11-01-2001 11:21 AM

Quote:

Originally posted by MrLister
this hack seems great... i'll see if i can make it during my spare time...
This hack does seem quite interesting, if you can't get it to work I'll be sure to take a whack at it...

MrLister 11-01-2001 01:33 PM

hehe defiently a lot of people but it's proving to be harder then i thought

Ruth 11-04-2001 07:26 PM

Quote:

Originally posted by WEBDosser
So has anyone got this hack working?..
you have it already? or seen it somewhere?

Scott MacVicar 11-04-2001 08:05 PM

Yes it would seem quite hard, as it only logs when they came on, you would have to record the time they came on for that session then when they leave add it to their time online. The point is, it would be hard to make it add it, the simpliest way i guess would just to measure the time the session is active.

Ruth 11-05-2001 04:06 AM

Quote:

Originally posted by PPN
the simpliest way i guess would just to measure the time the session is active.
PPN, then it would be better to start off the hack by something like this in the CP

user1 was online on:
- Time/date for 00:12:32
- Time/Date for 01:04:10
- ....

WEBDosser 11-10-2001 03:33 PM

has anyone got anywhere with this hack?..

butty 11-12-2001 11:32 PM

i guess no 1 is up for doin this 1 look slike il have 2 buy all me users a stopwatch or summet :D

ultimatescripts 11-13-2001 06:59 AM

Seems a good idea ! im sure ive seen a vB hack that does this somewhere :confused:

Must be day shar view a somin :D

Sup Dosser mate, how coem u aint on MSNM ? ? ?

David Copeland 12-04-2001 03:34 PM

Any luck with this hack?

mister 12-06-2001 11:30 AM

School finishes next week .. I'll see what I can do after that.

LanciaStratos 12-11-2001 10:07 PM

Quote:

Originally posted by mister
School finishes next week .. I'll see what I can do after that.
:)

mister 12-13-2001 12:23 PM

ok, just have to look over vBulletin sessions, read over this thread for ideas, and then i'll see what i can come up with.

mister 12-14-2001 05:30 AM

i think i have it logging time spent online.
i wanna give it a little bit to log some time

in the meantime i will be making these displays
  • total time online
  • time per day
  • time this session
  • etc

ill keep ya'll posted.

David Copeland 04-05-2002 08:36 PM

Quote:

Originally posted by mister
i think i have it logging time spent online.
i wanna give it a little bit to log some time

in the meantime i will be making these displays
  • total time online
  • time per day
  • time this session
  • etc

ill keep ya'll posted.

Any chance this can get finished???

David

tweak 04-15-2002 06:10 AM

Whoa this is nice... cant wait.

Neo 04-15-2002 01:33 PM

If you use lastactivity this turns into a easy hack

LanciaStratos 04-15-2002 09:15 PM

Wouldn't this be a great replacement for post counts...?

David Copeland 04-16-2002 12:52 PM

Is anyone still monitoring this topic?

-=dm=- 04-23-2002 06:09 PM

great idea!

NSeXcellent 04-23-2002 06:12 PM

::cricket chirp:: :D

Chris M 04-23-2002 06:52 PM

Oh dear...

This thread has deteriorated into :

Quote:

::cricket chirp:: :D
:rolleyes:

Satan

Crazy Mofo 04-23-2002 11:02 PM

Quote:

Originally posted by David Copeland
Is anyone still monitoring this topic?
Jezus chill :ermm: :confused:

Liz 08-03-2002 07:50 PM

has this been done yet? *scuffs*

Demascus 08-06-2002 01:49 PM

^Bump^ i still need this.

David Coutts 11-17-2005 03:57 AM

Me toooooooo. theOrangeCounty.net/forum has it. :(


All times are GMT. The time now is 05:26 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.01337 seconds
  • Memory Usage 1,790KB
  • 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
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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