vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Total Time Spent On Forums (https://vborg.vbsupport.ru/showthread.php?t=97830)

Lea Verou 10-08-2005 12:30 AM

Quote:

Originally Posted by Danieldude
Okay, if there is no way to use this without a query, how would I do it in phpMyAdmin? But when I submit the query I get "You have to choose at least one column to display"

Will it work if I put it in memberinfo instead of postbit? I really like it but I want a more minimal postbit... :)

utw-Mephisto 10-08-2005 12:40 AM

Wanted to check demo but your site seems to be down s

tnguy3n 10-08-2005 09:50 AM

Quote:

Originally Posted by Loukrhtia
Will it work if I put it in memberinfo instead of postbit? I really like it but I want a more minimal postbit... :)

You can change the hook to memberinfo_complete, then change all vars $post['timeonboard'] to $userinfo['timeonboard'].

Lea Verou 10-08-2005 10:47 AM

Quote:

Originally Posted by tnguy3n
You can change the hook to memberinfo_complete, then change all vars $post['timeonboard'] to $userinfo['timeonboard'].

Wait, I don't know php, I am only good on changing templates! :P
If I just put $userinfo['timeonboard'] in place of $post['timeonboard'] will it work?
Or do I have to alter the code too? What specifically should I do in the php code?

smokering 10-08-2005 04:19 PM

get no errors all went well but get no info looks as if nothing changed?

FleaBag 10-08-2005 05:04 PM

Quote:

Originally Posted by tnguy3n
It tracks the time when a user start to login 'til (s)he logout (or timeout), then add up to total & store in database.

Ahh! Wondered if it takes into the past too, thought it was too good to be true! ;)

Nice hack though, I'll use it.

exceem 10-08-2005 09:42 PM

installed, changed the hook so it would display on the member info but all i see is "time on board : sec"

any ideas?

[edit]

fixed had to edit the sql to include my table prefix[/edit]

exceem 10-09-2005 04:04 PM

is there any way to display a "top 10 list of the time spent online" ?

michaelbenson 10-10-2005 06:25 AM

I had a 3.0.X version of this hack installed, does this mean that the Total Time Spent will be from when i installed that version, or upgraded to this?

tnguy3n 10-10-2005 11:59 PM

Quote:

Originally Posted by michaelbenson
I had a 3.0.X version of this hack installed, does this mean that the Total Time Spent will be from when i installed that version, or upgraded to this?

this plugin is written for vb 3.5, not an update or port of any hack. Check if the hack you installed coincidently had the field name, then you don't have to alter user table, and it would calculate your time rather than new time of this plugin.


All times are GMT. The time now is 11:17 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.01121 seconds
  • Memory Usage 1,733KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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