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)

IrPr 01-12-2006 08:23 AM

Quote:

Originally Posted by peterska2
Let me see......

[high]* peterska2 gazes into crystal ball[/high]

You upgraded to 3.5.3
Your times stopped
You didn't re-apply the one code modification.




Don't worry, I do it every time.

one question
upgrading will lost 'timeonboard' field in 'user' table ?

another1
is it possible to make this without code modification ? a hook plugin or an extension is more stable than code modification

peterska2 01-12-2006 10:27 AM

It doesn't lose the data, just the bit in the code edit that tells it to add to it.

I believe earlier in the thread someone else asked the same thing and the reply from the author was no due to the nature of the edit.

lifesourcerec 01-12-2006 01:35 PM

Quote:

Originally Posted by Moosa
same problem here untill re-uploading plugins

make sure u uploaded total time on board.zip plugin

re-uploaded the plugins 4 times. Still same thing.

lifesourcerec 01-12-2006 02:37 PM

Here is the part I need to know... in the instructions, it says:

Quote:

UPLOAD timeonboard.xml plugin
yet, the file is named, "total_time_on_board.xml"

Would that make any difference?

Megareus Rex 01-23-2006 02:57 PM

Question.

Is there a way to edit exactly how this hack displays the time spent? Like, to change it from using abbreviations to the full words, and adding commas between the different measures of time?

Right now, for me, it displays it like this:
Time spent in the forum:
2 month 0 week 1 day

But I want to have it as:
Time spent in the forum:
2 months, 0 weeks, 1 day

Also, is there a way so it gives the plural of the word if the amount is not 1? And to skip a measure of time if its 0, so it would display like this:
Time spent in the forum:
2 months, 1 day, X hours

fridayweb 01-28-2006 04:36 PM

I have added everything and it works great, and I too am interested in Megareus Rex's suggestion. I went into the Total Spent Time On Board In Profile plug-in and added 's's and commas to the different words, but I would like there to be a way to show just 'day' instead of 'days' if it is only one, etc.

If this is too much work, then it's not that big a deal. ;)

interceptor 01-31-2006 11:41 PM

works great.

"Installed"

lifesourcerec 02-02-2006 03:30 PM

Quote:

Originally Posted by IrPr
same problem here untill re-uploading plugins

make sure u uploaded total time on board.zip plugin

uploaded the xml file over and over again and still doesn't work.

Megareus Rex 02-11-2006 09:48 PM

So, any advancement on the changes I suggested...?

ctsolutions 02-13-2006 03:02 AM

works like a charm, thanks.

Installed

mike


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