vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   How long a member was on? (https://vborg.vbsupport.ru/showthread.php?t=14198)

coffee 04-15-2001 08:12 PM

1 Attachment(s)
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/attachmen...tachmentid=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.

n3n 04-17-2001 02:54 AM

great idea..
but it will take more system resources and need extra queries.. no??

coffee 04-17-2001 04:32 AM

Quote:

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

Quote:

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

Quote:

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


All times are GMT. The time now is 01:11 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.01089 seconds
  • Memory Usage 1,718KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete