![]() |
Time/Days spent on board
Please don't use this hack with Time Spent On Board from tnguy3n!
My hack doesn't need any code changes. :) The capture function doesn't need any extra query! Description: This hack adds to the profile: - the time a user spend on board, - the count of days a user spend on board, - the average time he spent a day he has visited (time/day) - and it shows when it was installed. The date and time is automatically added into the phrase. More features: - When you want you can activate the postbit indicator. - A Statistic site: - - Shows the time/days spent on board of all users. - - Top Ten of the user how had spent the most time on board. - - User sees her own place. - When an user is invisible only user can see her time which have the rigt to see invisible users. The time/days capturing starts with the installation. It is not possible to get any time befor the installation, it can't look in the past. :) Sorry for the German screenshot! Live Demo: Profil: http://www.portablegaming.de/member.php?u=1 Statisticsite: http://www.portablegaming.de/misc.php?do=tdobstats Thanks go to Andreas for his help! German Version: http://www.vbhacks-germany.org/showthread.php?t=6704 Details: 1 Produkt XML (8 plugins, 13 phrasen, 7 templates und 4 template modification) History: 1.1.3 Again a stats fix. Small changes in the template changes. Who's Online display now working. 1.1.2 Small bug corrected in the stats. 1.1.1 The stats where optimized. 1.1.0 Added the statistic. Included the Postbit addon. 1.0.5 Again a little update for the time capture function. Now it is working without problem. 1.0.4 The time capture function was updatet! 1.0.3 The day capture function was updatet! Now it is working without problem. 1.0.2 Little updates in the code. 1.0.1 Small update in the template changes (When an user is invisible his time/days isn't shown to other user, only user can see their time/days and user who can see invisible people). 1.0.0 First version. Installation: 1) Import the product. 2) Make the template changes which you find in the templateedits-timedaysonboard.txt file. (When you have the TMS installed you don't have to make the template changes ... :) ) 3) When you want you can activate the postbit display in "vBulletin Options" -> "Thread Display Options (showthread)". Update: 1) Import the product and overwrite the old on. 2) Check the template changes and make the new ones. Sorry for my bad English. When there is something wrong or in bad English than please say it that I can correct it. |
hurik very nice thank you... only thing that would be nice i can suggest is maybe wrap the member info in a conditional this way if you do for some reason shut the product down in admincp it will also remove the code from the profile too if not its left there empty.
|
Installed, thank you !
|
i have uploaded an little addon:
when you want to have the "spent time on board" display in the postbit, install it. |
Nice work, This is looking real nice.
|
i have uploaded version 1.0.5. please update.
there where some bugs in the time and day capture function. now they are working fine. in the next version witch come in some days will have some fine new features: - a statistic page where you can see the top 10 of user witch where the most time and most days online. - the postbit addon will be included into the main product. but there will be options to turn it on or off. |
Installed. Thanks
|
Was waiting for this mod, thanks a lot!
And this would be awesome: Quote:
|
And some feature request:
Add a "time spent on the board today" field to users and display somewhere at the bottom of the forum homepage users that spent most time on the forum today. It would be possible then to integrate this data with Members who have visited Today or Cyb - Advanced Forum Statistics or similar mods. |
installed on vb 3.5.4 :)
|
hi,
i have uploaded the new version 1.1.2. it has some nice new features: - postbit addon is now included! - it adds a statistic site! demo: http://www.portablegaming.de/misc.php?do=tdobstats or look in the screenshots! there a some new phrases and i hope i have translate it correct. please let me know when there is an error or something sounds not good! |
Version 1.1.2 error when importing XML file :
XML Error: not well-formed (invalid token) at Line 8 |
Quote:
|
Interesting. Dumb question (probably): does it count from the moment of install or is the time spent online value already kept in vB?
|
Quote:
|
everything seems to be working except postbit_legacy
I have the following code: Code:
<div class="smallfont"> I have tried to stick it every sort of way & every combination. It shows up under my member profile just fine. Wouldn't you want to add it above $vbphrase[posts]: $post[posts] anyways? Also I have an extra /div in there for some reason. Thanks. |
Quote:
you have to activate it in the admin controll panel -> "vBulletin Options" -> "Thread Display Options (showthread)" -> the last option. :) |
did that already.. thanks :confused:
|
Umm I have enabled it in my options and it still doesn't display for me. I have everything correct.
Also do you think you could modify it to where the usergroup permissions are in effect.. like if you have a usergroup that doesn't show its members on the member list to have it not display here unless they are an admin or moderator? |
i don't know where is the problem. its working fine on my board.
the usergroup rights will come in the next version. |
installed in vb 3.6.4 and dont work too ;S
|
hmmm ... have you checked the template changes?
1. Search in the postbit_legacy template for: -------------------------------------------------------------------------------- HTML Code:
<div> and replace it with: -------------------------------------------------------------------------------- HTML Code:
<div> 2. Search in the postbit template for: -------------------------------------------------------------------------------- HTML Code:
<div> and replace it with: -------------------------------------------------------------------------------- HTML Code:
<div> 3. activate the postbit display: admin controll panel -> "vBulletin Options" -> "Thread Display Options (showthread)" -> the last option. |
yup.. still doesn't work on 3.6.4, thats like 3 people its not working for:(
|
Quote:
i have tested it on my board and on my testboard at it works fine ... |
hi,
i have uploaded version 1.1.3. it fixes this problems: - Again a stats fix. - Small changes in the template changes. - Who's Online display now working. is someone using the postbit display and it works for him? next week i will include the usergroup managment. |
its unfortunately still not working..
however.. their is another Time Spent on Board thread for 3.6.4 & its working just fine for me. But thanks for your effort. |
Like I asked in the other thread, how do I make it so only admins can see this feature?
|
Quote:
|
installed but same for me wont show in postbit nor legacy even after activating Thread Display Options (showthread)
|
Will try once the next version is release with the usergroup options. also can you make it so the plugin changes the templates also rather then a manual edit?
|
Nice mod
|
I have added this hack Nice by the way... But I cant get it to show up in my postbit even though I did the template edits. Any idea why? im running vb 3.6.4
|
Um. Since yesterday, the times aren't updating. They are like frozen. Anyone else experiencing this?
|
Thanks!! Installed...
|
Quote:
|
curious . but clean install + templates EDIT and what i get is Nothing. Table of 10 most Visited exists. but in SHow Thread I cant see time spended
http://img267.imageshack.us/img267/9201/49546275da0.png |
I'am a little bit confused about the calculation in the stats page.
There a 2 collumns. The left colummn ist no problem, ther ist the counting on spent time in Hours , Minutes and seconds. But the right colummn is confusing. I just install this a few days ago. But there is one user spend one day more on board....longer than the hack is installed. About the values in right colummn: Days spent one board confuse me so much. I spend now 12 Hours on board. This is correct, but also shows a handfull of days.....this is not correct. I think everyday is added one day to this values. Can everybody help me? cu SwissPegasus |
Installed, activated in control panel and it's not working anywhere! Even the stat's page doesn't work.
|
Installed, i love all those little statistic tools.
|
On memberinfo stats are showing 2 times. I checked the changes on memberinfo and I did it one time only. Any help will be appreciated, thanks a lot in advance
|
All times are GMT. The time now is 07:14 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|