The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||
[ Click Here ] to download the latest update!
Nifty Addon by TECK: ![]() [View TECK's Modification] Yeah my first hack for vb2.2.7 ![]() ![]() What does this hack do? Just as the title states ![]() ![]() 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 ![]() 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 ![]() ![]() ![]() 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 |
#257
|
||||
|
||||
![]()
i got it in 2.2.9 with little problems. only problem i got is on the postbit under report this post and ip logged, it just has a link "Time Online:" and nothing else. anyone know what could be causing this?
---------- k i found the problem. if anyone is having trouble getting this to work in the postbit, refer to Post #18 ![]() |
#258
|
|||
|
|||
![]()
how do i do this?
Queries to Run (1) // +++++++++++++++++++++ ALTER TABLE user ADD timeonline int(10) NOT NULL DEFAULT '0' Also when someone says run the file to install from the admincp how do i do that? Thanks. |
#259
|
||||
|
||||
![]()
i did it in phpMyAdmin. which I just discovered yesterday lol. there are other ways but i couldn't tell you. just ask your hosting provider where phpMyAdmin is in your website directory or if tehy can install it and tehn go into it and run the querie:
ALTER TABLE user ADD timeonline int(10) NOT NULL DEFAULT '0' i'm bad at explaining it. sorry. |
#260
|
|||
|
|||
![]()
i have no clue what phpMyAdmin is and u didn't really help because all u said was go into it and run the queries. but i don't know how to run the query's. It must be done in AdminCP since thats what it said in the instuctions so where do i go in AdminCP and how do i do it? THanks.
|
#261
|
||||
|
||||
![]()
Ok, here's a better response. Straight from Logician's "How To Install a vbulletin Hack: Guide to Newbies."
Quote:
![]() |
#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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|