Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[VB3 RC3] Board Spent Time Details »»
[VB3 RC3] Board Spent Time
Version: 1.00, by Kentaurus Kentaurus is offline
Developer Last Online: Jul 2014 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 01-19-2004 Last Update: Never Installs: 108
 
No support by the author.

This hack keeps track of how much time a user has been online at the
forums and adds it to the information in any of his posts, then any
other user can see if you have been 1 hour, 5 hours, 1 day or even up
to years online at the forum.

Also this hack calculates an "average time online" in a very similar way to
how the average posts works.

Thanks to the people that suggested this hack in the request forum, it is
a really nice one and a very fun one too!

Keep in mind this hack will only start tracking the time that you are online once you install it, it has no way of knowing how much time you had been on the forums before.


*Update*: You can show the board spent time in your memberlist, then you can use your memberlist as a leaderboard. For this modification see this post: https://vborg.vbsupport.ru/showpost....6&postcount=50


Info for hackers:
You may modify, improve, upgrade, redistribute this hack, include it
in another hack or yours or translate it provided you do it free of
charge and you distribute it in www.vbulletin.org at least, there is no
need to pm me asking for permission
Some portions of the code are (c) Jelsoft Enterprises Ltd.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #197  
Old 08-01-2005, 09:31 AM
Virtuosofriend Virtuosofriend is offline
 
Join Date: Nov 2004
Location: Greece
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rickie3
well my friend can you explain why it doesnt work??,i actually sat back and read every thread over and over and i finally got it to work,and it does exactly what its supposed to,it works perfectly for me on my test board 3.0.3,and 3.0.7,the secret is to read carefully

what i did was place everything in order to the attached below,it is not a rewrite of the original,just placed in order to make the coding for 3.0.3 and 3.0.7 a little easier
Because simply it doesnt work.I have tested in all the forums i am admin and it doesnt work.And believe me i have far more experience than you.
Reply With Quote
  #198  
Old 08-01-2005, 09:44 AM
Rickie3's Avatar
Rickie3 Rickie3 is offline
 
Join Date: Nov 2004
Location: Australia/Tasmania
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Virtuosofriend
Because simply it doesnt work.I have tested in all the forums i am admin and it doesnt work.And believe me i have far more experience than you.
it does work!!!!!!! it is currently working on my forum and has done for the last 3 weeks,it is also working fine on my test board.Quite frankly i could'nt care less if you have more experience,i'm still learning for sure.What all the forums have you tested it in??????,I am a admin as well

P.S you have a nice forum
Reply With Quote
  #199  
Old 08-13-2005, 12:30 PM
lewisbeech's Avatar
lewisbeech lewisbeech is offline
 
Join Date: May 2005
Location: England, United Kingodom
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i am trying to install this on 3.0.8, and i cannot find '// ###################### Start getreputationimage #######################' in the funtions_showthread.php file.
please help
Reply With Quote
  #200  
Old 08-17-2005, 10:29 PM
RustedBucket RustedBucket is offline
 
Join Date: Nov 2004
Location: Albemarle, NC
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

2 questions.

First, I want to use the $post[timespent] result in the Postbit template based on the users online status, but I can't seem to get it to cooperate. Using something like this in postbit_legacy:

<if condition="$post[onlinestatus]!='Online'">$post[timespent]</if>

Does nothing. The value for $post[timespent] is viewable regardless that status. Basically I only want to display this if the user is Online, not for Invisible or Offline. I can't read the value of $onlinestatus in this template either. Any clues on how to get a value I can use a conditonal against?

Second question: What the easiet way to change the time to reflect 00:00:00 vs # hours # minutes # seconds??

Thanks alot
Reply With Quote
  #201  
Old 08-26-2005, 11:55 PM
Azra_el Azra_el is offline
 
Join Date: Aug 2005
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lewisbeech
i am trying to install this on 3.0.8, and i cannot find '// ###################### Start getreputationimage #######################' in the funtions_showthread.php file.
please help

not finding the getreputationimage part either... any clues?
Reply With Quote
  #202  
Old 09-03-2005, 12:38 PM
snags204 snags204 is offline
 
Join Date: Jul 2005
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any word how to integrate this with 3.0.8? Thanks
Reply With Quote
  #203  
Old 09-04-2005, 06:50 PM
hotwheels hotwheels is offline
 
Join Date: May 2005
Location: Cheyenne, wy
Posts: 1,380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i wouldn't get to excited......i have spent 1/2 the day trying to get this to work with 3.07, everything show's, but the time is stuck......

Time spent in forums: 1 minute 29 seconds
Average time: < 1 sec

Just sit's right there, and doesn't do anything
Reply With Quote
  #204  
Old 09-04-2005, 08:01 PM
hotwheels hotwheels is offline
 
Join Date: May 2005
Location: Cheyenne, wy
Posts: 1,380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried running this program with both hack suggestion's, neither one work's with 3.07.....not sure what those that claim their's work's did, but i know i can't get it working.
That's a shame too, kind of a kewl idea....

hotwheels of insanemustangs.com
Reply With Quote
  #205  
Old 09-05-2005, 12:16 AM
hotwheels hotwheels is offline
 
Join Date: May 2005
Location: Cheyenne, wy
Posts: 1,380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

after 14 hours i gained 3 seconds...........woot

Time spent in forums: 1 minute 32 seconds
Reply With Quote
  #206  
Old 09-06-2005, 09:24 PM
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Location: United States
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work on 3.5 RC2?
Reply With Quote
  #207  
Old 09-07-2005, 06:30 PM
pmkb's Avatar
pmkb pmkb is offline
 
Join Date: Sep 2005
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^^^ Ditto.

https://vborg.vbsupport.ru/showthread.php?t=95790

http://www.vbulletin.com/forum/showthread.php?t=153616
Reply With Quote
  #208  
Old 09-10-2005, 05:38 PM
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Location: United States
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I found out this doesn't work in vB3.5 RC3... If anybody can make it into a plugin that would be awesome..
Reply With Quote
  #209  
Old 09-13-2005, 09:42 PM
thetoolman thetoolman is offline
 
Join Date: Aug 2005
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

# Code modifications in includes/functions_showthread.php

... i dont have a functions_showthread.php file. any ideas?
Reply With Quote
  #210  
Old 09-13-2005, 10:15 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is for vB 3.0.x NOT 3.5.x
Reply With Quote
  #211  
Old 10-05-2005, 07:35 PM
WAR WAR is offline
 
Join Date: Jan 2004
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by peterska2
This is for vB 3.0.x NOT 3.5.x
I would love to see this ported over to 3.5 as well
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:42 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.05379 seconds
  • Memory Usage 2,358KB
  • Queries Executed 30 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete