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
  #102  
Old 03-23-2004, 06:43 PM
Nj?rd Eriksson Nj?rd Eriksson is offline
 
Join Date: Jul 2003
Location: Midg?rd
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For some or other reason it doesn't count the time of at least one of my super-moderators (usergroup ID 5) either. Didn't have the opportunity yet to check out others.
Marla
"Whatever happens, happens."

Join Date: Dec 2002
Location: Nihilism
Posts: 1,982
Time: Not available
(I changed the "< 1 sec" phrase to "Not available")

What can be done?
Reply With Quote
  #103  
Old 03-23-2004, 06:51 PM
Nj?rd Eriksson Nj?rd Eriksson is offline
 
Join Date: Jul 2003
Location: Midg?rd
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Nj?rd Eriksson
For some or other reason it doesn't count the time of at least one of my super-moderators (usergroup ID 5) either. Didn't have the opportunity yet to check out others.
Marla
"Whatever happens, happens."

Join Date: Dec 2002
Location: Nihilism
Posts: 1,982
Time: Not available
(I changed the "< 1 sec" phrase to "Not available")

What can be done?
Nopes, time counting for another one of my super-moderator works:
Jack
the Ripper?

Join Date: Jul 2002
Location: Behind your fridge
Posts: 987
Time: 1 h 7 m 45 s
Weird thing ... any idea why the time isn't counted for the particular user Marla?
Reply With Quote
  #104  
Old 03-28-2004, 05:28 AM
admiralapril admiralapril is offline
 
Join Date: Nov 2001
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the great hack.


Question.... I just installed this about an hour ago and it seems to be working fine for everyone except one of my moderators (User group ID 6). The time spent is < 1 min and average time is < 1 min also, even though she's been online almost the whole time since I installed it.

I haven't tested it for other moderators since they haven't been online yet. But why would it work for some members and not for others? Different usergroup, I guess? How can I fix it?

Join Date: Jan 2003
Location: New York
Posts: 1,241
Time spent in forums: < 1 min
Average time: < 1 min
Reply With Quote
  #105  
Old 04-03-2004, 09:32 PM
Chris Gwynne's Avatar
Chris Gwynne Chris Gwynne is offline
 
Join Date: Jan 2003
Posts: 316
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I'm having the same problem a few of the people are having with this one. I've installed everything right too, would really appreciate a fix for it..

Time spent on CouchRaider: 6 Minutes 8 Seconds
Average time: 11 Minutes 44 Seconds

The average time is simply not correct, how do I go about rectifying it?
Reply With Quote
  #106  
Old 04-09-2004, 07:40 PM
templates911 templates911 is offline
 
Join Date: Aug 2003
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get a Fatal error: Call to undefined function: explain_time() in /usr/www/users/templ911/includes/functions_showthread.php on line 429 when i try to install this.
Reply With Quote
  #107  
Old 04-12-2004, 10:25 PM
ogetbilo ogetbilo is offline
 
Join Date: Mar 2004
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you please update your insallation instructions for VB3.0gold?
I did everything what it says on your instructions. Now I have <1sec for all my users except 3.
Those 3 are showing 3 sec, 3sec, 5sec respectively and they are not updating.
Reply With Quote
  #108  
Old 04-12-2004, 10:46 PM
Anarchy Anarchy is offline
 
Join Date: Oct 2002
Location: Gold Coast, Australia
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah i would like it too
Reply With Quote
  #109  
Old 04-13-2004, 07:18 AM
Catch-22|BL Catch-22|BL is offline
 
Join Date: Aug 2003
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the hack!

I got the "total time spent" and "memberlist leaderboard" working so I am happy. I did not get the "average time" to work properly, so I just took it out of the postbit and can easily forget about it. Hey, in real life we must appreciate that two out of three is not bad!
Reply With Quote
  #110  
Old 04-13-2004, 10:33 PM
ogetbilo ogetbilo is offline
 
Join Date: Mar 2004
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Catch-22|BL
Thanks for the hack!

I got the "total time spent" and "memberlist leaderboard" working so I am happy. I did not get the "average time" to work properly, so I just took it out of the postbit and can easily forget about it. Hey, in real life we must appreciate that two out of three is not bad!
what is your version of VB3?
I could not get it working on VB3Gold.
Reply With Quote
  #111  
Old 04-14-2004, 03:24 PM
Vivi Ornitier's Avatar
Vivi Ornitier Vivi Ornitier is offline
 
Join Date: Nov 2001
Location: Black Mage Village
Posts: 442
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this hack isn't workin for gold. I put it in my postbit_legacy template and it doesn't show anything
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 07:39 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07940 seconds
  • Memory Usage 2,309KB
  • Queries Executed 25 (?)
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
  • (2)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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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