The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Total Time Online Hack v1.0 Details »» | |||||||||||||||||||||||||
[ Click Here ] to download the latest update!
Nifty Addon by TECK: [View TECK's Modification] Yeah my first hack for vb2.2.7 but then again its compatible with vb2.2.6 as well tested on both What does this hack do? Just as the title states 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:
Show Your Support
|
Comments |
#262
|
|||
|
|||
Love the idea of the hack but i dont want it to display the amount of time online anywhere except when i rollover a users name in the whos online box on the main forum page or on the whosonline page. How would i go about doing this? Thanks.
|
#263
|
||||
|
||||
S1R1US, make a file called:
totalquery.php and put the following code in it: PHP Code:
|
#264
|
|||
|
|||
Quote:
the default is on but if they select no, total time online will be disappear in all (include in their profile(or getinfo), time learder, and their posts) and only usergroupid ==6 can view all user's timeonline even if they disable it in their usercp. even if they disable timeonline in their usercp, their time still adding. |
#265
|
|||
|
|||
What if I dont want to show the days? How would I need to modify the code? I just want it to continue counting the hours. and if possible to stop counting seconds when it reaches 24 hours.
|
#266
|
||||
|
||||
Hi i was installing the hack and all and got this error
Error SQL-query : [Edit] ALTER TABLE user ADD timeonline int (10) NOT NULL DEFAULT \'0\' MySQL said: You have an error in your SQL syntax near '\'0\'' at line 2 in phpmyadmin can anyone please help? and great hack!. |
#267
|
||||
|
||||
Quote:
Thanks Craig |
#268
|
||||
|
||||
when i try to go to my profile i get this erorr
Database error in vBulletin 2.3.0: Invalid SQL: SELECT * FROM storeextra WHERE action='midi' AND userid='1' mysql error: Table 'kdog316_vb.storeextra' doesn't exist mysql error number: 1146 Date: Monday 21st of April 2003 07:12:03 PM Script: http://www.allaroundsite.com/forums/...tinfo&userid=1 Referer: http://www.allaroundsite.com/forums/ |
#269
|
|||
|
|||
Great hack g-force2k2. Worked great running 2.2.6 with the zero.php instructions to fix the divide by zero problem.
/me clicks install. |
#270
|
|||
|
|||
Not sure but it doesn't look like this hack caused that particular problem. I remember there was a hack that allowed you to play a midi file in your profile. It looks like, from the SQL statement, that this table is missing.
Perhaps you were installing this hack at the same time or didn't include the query from that hack and have never been to the profile since its installation? Quote:
|
#271
|
||||
|
||||
I realy dont want to install this hack for 2 reasons....
1) I dont want my members to suddenly leave the site if they realise they have been there for some time. 2) My wife will fill me cos she will know exactly how much time is spend working on the site Might install at a later date |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|