![]() |
Total Time Spent On Forums
Total Time Spent On Board
Author: tnguy3n Live Demo: http://12.226.255.221/vb35 This hack shows total time that users spent on the board. To show all time units including seconds, minutes, hours, etc, uncomment lines for thoese variables in "Total Spent Time On Board" plugin. Query: 1 File modification: 1 Plugins: 2 Template mod: 2 Update: 10/12/05 Add option to show user's total spent time on forums in the profile. If you want to run the User's Total Spent Time In Profile as an stand-alone hack, you have to run run following query: PHP Code:
|
Instructions = "Open includes/class_score.php"
Guess that should be "Open includes/class_core.php" ? Get this error when trying to add template edit ! Quote:
|
Second anyway :)
|
Will install once someone confirms it works for them ;)
|
Ok found the error in the template edit :-
Quote:
Quote:
|
Anyway to install without running a query?
|
This is not an Extention as it requires editing of the source code. Good'n though.
|
How does it calculate the time?
|
Quote:
and yes, it should be in Code Modification forum instead. I was confused by vB 3.5 release forums. :ermm: |
Okay, if there is no way to use this without a query, how would I do it in phpMyAdmin? But when I submit the query I get "You have to choose at least one column to display"
|
Quote:
|
Wanted to check demo but your site seems to be down s
|
Quote:
|
Quote:
If I just put $userinfo['timeonboard'] in place of $post['timeonboard'] will it work? Or do I have to alter the code too? What specifically should I do in the php code? |
get no errors all went well but get no info looks as if nothing changed?
|
Quote:
Nice hack though, I'll use it. |
installed, changed the hook so it would display on the member info but all i see is "time on board : sec"
any ideas? [edit] fixed had to edit the sql to include my table prefix[/edit] |
is there any way to display a "top 10 list of the time spent online" ?
|
I had a 3.0.X version of this hack installed, does this mean that the Total Time Spent will be from when i installed that version, or upgraded to this?
|
Quote:
|
<a href="https://vborg.vbsupport.ru/showpost.php?p=789743&postcount=10" target="_blank">https://vborg.vbsupport.ru/showp...3&postcount=10</a>
Anyone? |
is that the error message when got when you ran the query? :question:
|
Quote:
https://vborg.vbsupport.ru/showthrea...e+Spent+Forums Just assumed this was an update of this version. |
I've installed it in memberinfo_complete and it seems to be running fine, but it's simply displaying the time spent as numbers, without hours/seconds or whatever. It simply says time spent: 644
Any idea what the problem might be? |
Quote:
live demo: http://192.168.1.101/vb35/member.php...lastposter&f=2 |
Works perfectly, thank you very much sir.
I assume the SQL add. is still needed, in which case might be an idea to include it in the Profile version instructions. I'm not sure if the demo URL is supposed to be based at what appears to be a localhost address lol, but at any rate it doesn't load anything. |
It doesn't work for me :(
No errors but it shows nothing... |
Quote:
|
So the recording will start AFTER I install the hack?? vB doesn't record it?
Cause then the result wouldn't be correct! |
Quote:
|
Quote:
But before I do it,. please tell me how the recrding is done. Does this hack record it, so it starts recording AFTER its installation or vB records it and the hack just "grabs" the info? |
Quote:
|
Quote:
Sorry, I'll uninstall :/ |
Quote:
|
installed, works a treat.
/me clicks install |
Ive had to temp uninstall this, i started to get a few random 1 off mysql errors, and the last thing I changed was this hack, going to leave it a few days and see what happens, anyone else getting errors?
|
and what error you got?
|
How about an avg time per day spent ;)
|
Quote:
PHP Code:
|
Quote:
Quote:
|
All times are GMT. The time now is 05:46 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|