![]() |
Total Time Online Hack v1.0
[ Click Here ] to download the latest update!
Nifty Addon by TECK: ;) [View TECK's Modification] Yeah my first hack for vb2.2.7 :p but then again its compatible with vb2.2.6 as well tested on both :) What does this hack do? Just as the title states :p it calculates the total time online for each user ;) Configurable:: The time limit before a user is considered inactive is configurable and is included in the install txt file... so if you want a user to be defined as inactive after 3 minutes then there'll be a variable in the script to limit that configure that ;) Also Configurable is the amount of users to show per page on the leader time online board :) That is also configurable in the timeonline.php included with the zip... Features :: Includes both viewable on the postbit and getinfo templates... Includes a leader board for the top users time online ;) What to do? :: Queries to Run (1) File Modification (5) Template Modificatiion (2) Templates to Add (3) Files to Upload (1) :: [ timeonline.php ] (forum directory) It's an easy hack to install (took me a little time to configure) but it looks great imo... probably a hack that will use and that i can see every forum having... why not right ;) Enjoy yet another release... :) And if you like this hack i would be greatful if you could click install ;) thanks... Edit :: Viewable Demo [ Here ] Note :: If for some odd reason you get a division by zero error find: PHP Code:
PHP Code:
|
Screenshot A :: postbit template
g-force2k2 |
Screenshot B :: Time Online Leader Board
FYI :: this screenshot now looks different :p instead of that one link i integrated a page nav system into it... regards... g-force2k2 |
Screenshot C :: getinfo template
Enjoy the hack :D g-force2k2 |
nice hack, will install it today...
thx! PS: plz add the # of posts column to the Leader time online....because it's more comfortable to see how many hours user was online and how many posts he posted... if you will do it, plz post than the upgrade way from old v to new... thx again |
thanks to WebmasterXT found a quick fix... sorry it was a last minute thing... but here's the fix...
find: PHP Code:
PHP Code:
regards... g-force2k2 |
Updated Zip...
g-force2k2 |
I can't wait to install this one :D I've wanted it ever since someone suggested it ;)
|
thanx m8 nice hack ..
Just a few suggestions. timeonline.php [ Previous Page ]"; [ Next Page ]"; [ Last Page ]"; Change--- [ Previous Page ]</a>"; [ Next Page ]</a>"; [ Last Page ]</a>"; getinfo_timeonline--- Change the <normallfont> </normallfont> to <smallfont> </smallfont> "my getinfo is all smallfont" time--- <table cellpadding="2" cellspacing="0" border="0" width="95%" align="center"> <tr><td width="50%"> <img src="https://vborg.vbsupport.ru/images/vb_bullet.gif" alt="" border="0" align="absmiddle"><normalfont><b> <a href="index.php?s=$session[sessionhash]">$bbtitle</a> Total Time Online Hack © g-force2k2</b></normalfont></td></tr></table> Change to--- <table cellpadding="2" cellspacing="0" border="0" width="95%" align="center"> <tr><td width="100%"> <img src="https://vborg.vbsupport.ru/images/vb_bullet.gif" alt="$bbtitle" border="0" align="absmiddle"><normalfont><b> <a href="index.php?s=$session[sessionhash]">$bbtitle</a> > Total Time Online © g-force2k2</b></normalfont></td></tr></table><p> |
Quote:
g-force2k2 |
hey i installed this hack Awesome hack man, keep up the good work
|
Quote:
g-force2k2 |
Does this add a query for each user online?
I saw your demo, and there are 10 people online, and 10 queries, so I am guessing this is what it does, a forum which I admin at has hundreds of people online at ones, so...not sure, mind telling me? Thanks, nice idea by the way |
no DrkFusion... it'll only run that query as many times that its fetched on the page... so the default is set to max 10 so it'll only ever hit 10 queries... regards...
g-force2k2 |
Looks very nice man, good job.
|
Very smooth:)
Satan |
worked perfectly.
|
Truely Amazing g-force2k2, this is on of the best hacks I have installed ;)
One v.minor error, in the time_leader template, this: Code:
<a href="member.php?s=&session[sessionhash]&action=getinfo&userid=$userid"> Code:
<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$userid"> |
NTLDR :: thanks ;) will update shortly thanks for telling me about the error though :p every bit helps... regards...
g-force2k2 |
Great, i've been waiting for a hack like this for ages, good work
/me clicks install |
I have put the display of the time online in the postbit along with the number of posts etc, how easy would it be to just change this display H:M:S (Hours:Mins:Seconds) instead of 0 Hours, 0 Minutes, 0 Seconds Online?
|
Great job as you always do =D
/me install |
Quote:
|
me too if thats possible.
|
its pretty simple guys ;) just open up the admin/functions.php and go down the the function that i created... just change Days to D... Hours to H... Minutes to M and Seconds to S :p its that simple and it'll change up for all three setups like that :) enjoy
err... edit nvm i see what you mean :p give me a minute and i'll create the setup for you :) regards... g-force2k2 |
I thought it was that code but was't 100% ;)
I have copied the function and changed it to: PHP Code:
PHP Code:
PHP Code:
Thanks again g-force2k2, if Hack of the month comes back this will be my nomination :D |
heh good job man :p here's a more modified code and it'll change it everywhere on the forum and i think you wanted it to look more like this anyway :p but you can just add this as a new function like you stated if you want that ;) regards...
g-force2k2 |
Quote:
g-force2k2 |
Thanks g-force2k2 :)
:banana: |
Quote:
|
Very cool hack g-force, I'll think about installing this later. ;)
|
How can i display the user with the most online time on Forumhome ?
The Hack is nice :) THX Bommelchen |
great hack :)
works like a charm good work, very good :D [high]* PsYc clicks *install*[/high] |
Quote:
find: PHP Code:
PHP Code:
PHP Code:
g-force2k2 |
Sorry this is not working ! i get a blank page.
Any idears ? bommelchen |
PHP Code:
PHP Code:
|
:p thanks NTLDR i said i didn't test it :p didn't even remember my own function name ;) thanks for backing me up as usual :) regards...
g-force2k2 |
Big thanks work perfect !!
bommelchen |
Great hack, I will install it soon.
|
Great Hack, g-force2k2!
I'll install it tommorrow :D |
All times are GMT. The time now is 04:49 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:
|