Version: 1.00, by Kentaurus
Developer Last Online: Jul 2014
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.
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.
Okay, sorry, but where would the $timespent go? I really have no idea. Myine is also not showing up, i tried both tempaltes too! I am using the new style forum just like this one with drop down links etc...
Anywhere you want. Edit your postbit or postbit_legacy template and add $timespent before Posts: for example
the table is wrong :: should be 'vB3s####freaky.setting' ::
is Not adding the table prefix sor some reason.
Is there another way to run this ? thru the admin cp? or what is going wrong as everything else with the board is working with no problems.
admin cp is renamed -
great hach and addition - thanks
I updated the install.php so it takes the prefix correctly. Seems I forgot to update that file. Please download it again.
Run the following queries. You can do it via phpmyadmin, or at the
"Execute SQL Query" section at the Admin Control Panel
Remember to prefix the table if you need to
alter table user add timespent int not null;
In this part of the hack, is that the entire query that you run? Or are each of those a separate query to run?
I ran that and it said that line 74 was altered, but the hack isn't working.
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")
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?
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
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?
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.