vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   [VB3 RC3] Board Spent Time (https://vborg.vbsupport.ru/showthread.php?t=60488)

Zylone 05-29-2004 01:06 PM

I just realized this is for VB3 RC3... I am running VB3 3.0.1 would this have any effect on it?

subu1 05-29-2004 06:17 PM

Hi, i want a Page for the best of 10 Online User *g*

greetz subu1

Princeton 07-22-2004 02:34 AM

I was having some problems so I did some modifications (nothing major); hopefully, it can help others.
PHP Code:

// ================================================= \\
 // == [ BOARD SPENT ONLINE BY KENTAURUS - GTP BEGIN ]
 
$jointime = (TIMENOW $userinfo['joindate']) / 86400// Days Joined
 
if ($jointime 1)
 { 
// User has been a member for less than one day.
     
$show['timespent'] = explain_time($userinfo['timespent']);
     
$show['avgtimespent'] = $show['timespent'];
 }
 else
 {
     
$show['avgtimespent'] = explain_time(floor($userinfo['timespent'] / $jointime));    
     
$show['timespent'] = explain_time($userinfo['timespent']);
 }
 
// == [ 00-00-2004 - GTP END ]
 // ================================================= \\ 


xscape2me 07-25-2004 05:58 PM

I'm using vb3.0.3 and it shows up but almost eveyrone is < 1 sec, and for myself it's been stuck at 35 seconds. So i count this as not working at all.

And princeton, if your going to show some code, it would help others if you let us know where that goes.

xscape2me 07-25-2004 06:02 PM

I wish I coul delete my own post, i got it workin finally

*clicks install*

Osterling 07-25-2004 10:42 PM

does this hack take awhile to kick in cuz right now i am just getting

Time spent in forums: < 1 sec
Average time: < 1 sec

Osterling 07-25-2004 11:36 PM

it says:

Run the following queries. You can do it via phpmyadmin, or at the
"Execute SQL Query" section at the Admin Control Panel
Remember to prefix the table if you need to

alter table user add timespent int not null;

is there more then one query i need to run because the Average time: < 1 sec isn't changing

Datenpapst 07-26-2004 01:09 PM

Quote:

Originally Posted by exasko
it says:

Run the following queries. You can do it via phpmyadmin, or at the
"Execute SQL Query" section at the Admin Control Panel
Remember to prefix the table if you need to



alter table user add timespent int not null;


is there more then one query i need to run because the Average time: < 1 sec isn't changing

I installed the hack, but it does not work... :( Its not displayed in the profil.

Lonny 08-16-2004 12:26 PM

Doesn't work for 3.0.3

integra99 08-16-2004 04:30 PM

Works fine for me, you people that say "It doesn't work," why not ellaborate a bit more and hopefully we can help you get it fixed?


All times are GMT. The time now is 11:53 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.01233 seconds
  • Memory Usage 1,740KB
  • 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)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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