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 Since Forum Leaders Offline (https://vborg.vbsupport.ru/showthread.php?t=35764)

Sinecure 03-06-2002 04:01 AM

Time Since Forum Leaders Offline
 
Would it be possible to have a hack where it displays how long its been since the forum leaders have been offline? And if they are online, it would say online! For example, if the administrator had been offline for 120 minutes. It would display it as 2 hours, but if the admin had been offline for 45 minutes, it would display it for simply 45 minutes. Same thing for days, if the minutes were however there is in a day, it would say 1 day.. So lets just go into detail here.

Lets say the admin had been offline for 31234 minutes.. For arguments sake, lets say thats equivelent to 2days, 3 hours, 12 minutes. Is this implementable? Or would it involve major hacking??

Neo 03-06-2002 05:27 AM

Not really. It could be done fairly easy. If I add a new row and use some timestamp.... so

they go offline
timestamp starts

middle
using time stamp, you calculate how long they have been offline, from time the first timestamp logged

they come online
timestamp ends

.... something like that....

Sinecure 03-06-2002 07:42 AM

sooo.. Does this mean someones working on it :)

Neo 03-06-2002 07:53 AM

Sure does. Give me a few though.

Robert9 03-06-2002 08:23 AM

kewl, but if a leader quit the forum, he had to "Log Out", or it enough, only to quit thewindow of the explorer?

Neo 03-06-2002 09:43 AM

it works either way.

Robert9 03-06-2002 09:46 AM

thats great, do you know, when you finished this hack?

Neo 03-06-2002 10:16 AM

Give me a day or so to get something together.. I have other projects aswell.

Admin 03-06-2002 10:35 AM

Why would you use a new field for cyring out loud?!

Neo 03-06-2002 10:38 AM

I have no clue... I have to look at the db first and see what I can go Mr.ProMan :p


All times are GMT. The time now is 10:43 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.00988 seconds
  • Memory Usage 1,722KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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