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)

Keyser S?ze 08-21-2004 12:40 PM

Quote:

Originally Posted by integra99
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?


hmm, im trying to get it to work in 3.0.3 but heres the problem

instructions say

################################################## ######################
# Code modifications in includes/functions_showthread.php
################################################## ######################

---------------------------------------------------
Find this code:
---------------------------------------------------

// ###################### Start getreputationimage #######################

-----

thats not in functions_showthread.php

thats in functions_reputation.php, i guess that was changed after RC3, so where do i put this, can it go anywhere in showthread?

y2krazy 08-30-2004 01:16 AM

/me clicks install!

venomx 09-07-2004 09:20 AM

Yep functions_showthread.php has no // ###################### Start getreputationimage ####################### if vb3.0.3

venomx 09-07-2004 09:25 AM

Plus if it was why would we want to remove the code for the getreputationimage?

royals 09-08-2004 09:06 PM

Quote:

Originally Posted by venomx
Plus if it was why would we want to remove the code for the getreputationimage?

if you notice his replacement code -its at the bottom so you're not really removing it.


Edited - Running great! Thanks!

royals 09-08-2004 10:53 PM

Where do I take out the seconds so they don't show? Some of my users stay logged in 24/7 and time is going to add up fast. Seconds aren't really needed (kind of cool though)

mlevenson 09-11-2004 02:22 AM

Quote:

Originally Posted by Kentaurus
An update for this one. Some extra modifications that will let you add the board spent time (total and average) to the memberlist. You can also sort by it to see who is the user with most board spent time.

Ok so I installed this but since everythign I read says it won't work for 3.03, how do I remove it from the admincp?

Silverstangs 09-11-2004 05:17 AM

I am running VB 3.0.3 and I attempted to install this hack but I keep on getting a error when I click the member's list...


HTML Code:

Fatal error: Call to undefined function: explain_time() in stangcountry/forums/memberlist.php on line 496
and this is the line that I have for it......

PHP Code:

   $userinfo['avgtimespent'] = explain_time(floor($userinfo['timespent']/((TIMENOW-$userinfo['joindate'])/86400))); 

Can someone explain what I missed.......

royals 09-12-2004 03:35 AM

I have a problem with one of my members - her time is stuck at 26 min 55 seconds. We can't figure out what it is. All other members seem to be ok.

Is it a setting on her computer we can look at or something else?

mlevenson 09-13-2004 08:14 PM

is there an update for this for 3.03????


All times are GMT. The time now is 11:49 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.01144 seconds
  • Memory Usage 1,741KB
  • 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_html_printable
  • (1)bbcode_php_printable
  • (3)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