View Full Version : How long a member was on?
coffee
04-15-2001, 08:12 PM
I wish to add more database fields that can track online times along with codes that calculate w:d:h:m:s as in this image:
http://vbulletin.com/forum/attachment.php?attachmentid=541
tubedogg
04-17-2001, 02:15 AM
Why did you attach the image *and* do an img tag?
Anyway, it would take a major hack. You'd need to somehow do a timer and then write that to a field. From there it wouldn't be hard but the timer would be.
great idea..
but it will take more system resources and need extra queries.. no??
coffee
04-17-2001, 04:32 AM
Originally posted by tubedogg
Why did you attach the image *and* do an img tag?
At first I attached the image, but then used edit and [img[.Attachment_link.[/img] for the ones who don't have time to click the attachment.
coffee
04-17-2001, 04:34 AM
Originally posted by tubedogg
You'd need to somehow do a timer and then write that to a field. From there it wouldn't be hard but the timer would be.
Will keep dreaming : )
coffee
04-17-2001, 04:42 AM
Originally posted by n3n
but it will take more system resources and need extra queries.. no??
I don't think so... cause the database is already tracking members and it can tell you when a member last logged and when was their last activity etc.
In regards to extra queries... well... yeah but it would take only adding an extra one for the logout time, and another that adds them to a total...
Then in your code you just apply calculations that convert seconds to mins till years j/k... but some might have such time...lol
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.