Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
IWT - Time Spent Online Details »»
IWT - Time Spent Online
Version: 1.2.6, by Ideal Web Tech Ideal Web Tech is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 03-12-2010 Last Update: 06-12-2011 Installs: 287
DB Changes Uses Plugins
Additional Files  
No support by the author.

Notice
There are two versions of this modification. This is the vBulletin 4.x version, you can find the vBulletin 3.8 version here: https://vborg.vbsupport.ru/showthread.php?t=243221

Current Stable Version
Version 1.2.6

What is it?
This modification will add a counter to your forums that will record/track how much time your users have spent online. And output it in various sections of the site (EX: Time Online: 5 Months 2 Weeks 1 Day 15 Hours 44 Minutes 33 Seconds).

Features
  • Total Time Online in Postbit & Ministats block in the profile
  • Average Time Online (Per Day) in Postbit & Ministats block in the profile
  • Leader Board Displaying Time Online & Average Time Online (Per Day) for all the sites members
  • Cumulative Time Online on Leader Board & Stats box of FORUMHOME

Demo
You can see this product in action here.

Settings
Admin Control Panel Options to Toggle:
  • Entire System
  • Show Total Time in Postbit/Profile
  • Show Average Time Per Day in Postbit/Profile
  • Use Short Phrases (Ex. "1 Min 5 Secs" instead of "1 Minute 5 Seconds")
  • Use Micro Phrases in Postbit (Ex. "32d 12h 44m")
  • Display Cumulative Time Online on Leader Board/Forumhome
  • Leader Board/Navbar Link Enabled

Installation/Upgrade
See included file.

Release Notes
Version 1.1.1
  • Added the average time per day function
  • Added 4 settings used for controlling display of the Time Online and Avg. Time Online for both profile and postbit.
  • A few optimizations for memory/performance
Version 1.2.0
  • Added Leader Board Displaying Time Online & Average Time Online (Per Day) for all the sites members
  • Added Cumulative Time Online on Leader Board
  • Added Cumulative Time Online on Stats box of FORUMHOME
  • Added Numerous new settings for controlling the system
Version 1.2.1
  • Fixed a Bug resulting in the timestamp for date installed not setting correctly.
Version 1.2.2
  • Updated postbit template code.
Version 1.2.3
  • Added Postbit Micro Phrases
  • Added Template Group
Version 1.2.4
  • Moved functions to a file.
  • Added Time Spent Online to the Who's Online.
  • vBulletin 3.8 Version Released
Version 1.2.5
  • Fixed a timestamp flaw in the average time spent online function.
Version 1.2.6
  • Fixed a Bug causing the postbit to show invalid average online times in vB 4.1.x.
Known Bugs
  • Currently none.
Resolved Bugs
  • Function definition problem causing scripts that utilized the postbit factory without the vbulletin global file being initialized, such as the vBcms commenting engine, to display errors. (version 1.2.0)
  • Bug resulting in the timestamp for date installed not setting correctly. (version 1.2.1)
  • Bug causing the postbit to show invalid average online times in vB 4.1.x. (version 1.2.6)
Planned additions
We currently are talking about making an average time per day (similiar to the posts per day) (Added in version 1.1.1)
We also have plans to make a leaderboard for so people can see who spends the most time floating around the site. (Added in version 1.2.0)
We are planning to add in more settings at some point to give quite a bit more control over the system.
(Added in version 1.2.0)

Support
This modification is released for free and as such we don't officially support it, but as time permits we will try to offer support on it. You are more likely to get a response over at our site as we wont be checking this thread frequently.

This modification brought to you by Ideal Web Technologies.

Download Now

File Type: zip IWT - Time Spent Online (v1.2.2).zip (89.5 KB, 299 views)
File Type: zip IWT - Time Spent Online (v1.2.3).zip (92.0 KB, 68 views)
File Type: zip IWT - Time Spent Online (v1.2.4).zip (94.1 KB, 44 views)
File Type: zip IWT - Time Spent Online (v1.2.5).zip (94.1 KB, 667 views)
File Type: zip IWT - Time Spent Online (v1.2.6).zip (94.1 KB, 1195 views)

Screenshots

File Type: png forumhome_stats_block.png (6.7 KB, 0 views)
File Type: png leader_board.png (21.7 KB, 0 views)
File Type: png postbit.png (18.5 KB, 0 views)
File Type: png profile_mini_stats.png (14.1 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
Teascu Dorin

Comments
  #112  
Old 12-07-2010, 05:18 PM
mavigul mavigul is offline
 
Join Date: Sep 2008
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanx
Reply With Quote
  #113  
Old 12-09-2010, 01:19 AM
Mrquarter2 Mrquarter2 is offline
 
Join Date: Nov 2009
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hopefully this will be updated for 4.1
Reply With Quote
  #114  
Old 01-03-2011, 09:22 AM
nacaruncr nacaruncr is offline
 
Join Date: Nov 2010
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it's possible that after the installation the hack can count the time previews that the users had have?

or this is impossible?

excuse me for my english... i'm learning
Reply With Quote
  #115  
Old 01-21-2011, 04:02 PM
LVGgebruiker LVGgebruiker is offline
 
Join Date: Jan 2011
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice mod but have an little problem: the avg online time willl not display in postbit, it does only show N/A even when in cp it shows right.
Reply With Quote
  #116  
Old 01-28-2011, 02:43 AM
Sforums Sforums is offline
 
Join Date: Dec 2010
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mrquarter2 View Post
Hopefully this will be updated for 4.1
So, it's not working with 4.1? I was about to install....
IWT, any plans for upgrade?
Reply With Quote
  #117  
Old 01-29-2011, 12:37 AM
kontagio.us kontagio.us is offline
 
Join Date: Aug 2009
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

my time spent online works in 4.1.1
Reply With Quote
  #118  
Old 01-30-2011, 07:48 AM
Sforums Sforums is offline
 
Join Date: Dec 2010
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yup, works on 4.1.0 too
Reply With Quote
  #119  
Old 02-21-2011, 11:54 PM
thr45h3r's Avatar
thr45h3r thr45h3r is offline
 
Join Date: Mar 2010
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks marked as installed
Reply With Quote
  #120  
Old 02-27-2011, 03:10 AM
lsgworldl lsgworldl is offline
 
Join Date: Sep 2005
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

dont think its working right

Time Online
2 Minutes 4 Seconds
Avg. Time Online
11 Hours 57 Minutes 6 Seconds

just installed says 11 hours online before 17 hours

http://www.ukbettingtipsforum.com/showthread.php?2-Test
Reply With Quote
  #121  
Old 03-15-2011, 04:36 AM
MrsTryst MrsTryst is offline
 
Join Date: Jan 2009
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you please help with allignment. as you can see, on dark forums, you can't see the boxes, so the info looks wonky. So can you tell me how to either make the text allignment centre rather than left, or how to get the boxes to show better. TIA

Also would appreciate help in the postbit_legacy, having the code for it (the code for Time Online, which is show in Postbit_legcay) would be great. Need to fix this problem, (image below)
Attached Images
File Type: jpg timeonline.jpg (11.5 KB, 0 views)
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 04:49 AM.


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.21923 seconds
  • Memory Usage 2,351KB
  • Queries Executed 26 (?)
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
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete