![]() |
For some unknow reason, my time counter isn't working ... would changing the permissions to who's time to show stop this hack from working?
All I did was prevented the admin and zero posters from showing up in the time leaders list, getinfo and the threads? :( |
Yea i need help i keep getting that divsion zero error on the leader page? which file do i need to edit to fix it?
|
my is stuck at zero in the threads and 0 on the timeonline page. I had it working on a previous forum but now it's broke :/
lmao helps if i fully install the hack <-- retard |
I figured out why the times stopped working ... I included a condition into the sesions.php file and it stopped recording time for everyone instead of the admin. I removed the condition and now everyone's time is being recorded again!
|
nice hack I installed it with the zero problem but thanx I fixed it too and working on 226 now
but what about guests? I love to have something works with whos online I have a guest that seems to be stuck on my forum of 3 days now.. same IP never left.. jumpts from post to another, attempts to post, quote, edit post, mod. tools, add member to buddy, add member to ignore etc etc.. and hes been at it for 3 days non stop even shut down the server and back up and hes was back the minute it returned I am not sure whats going on.. my forum is kinda interesting.. but not that much to have someone on it 3 days and he is still there now.. I had watched him for many hours and had others watch him.. never seen him leave can't be a bot as he was attempting to do things his IP traced to Japan but that could verywell be proxy I just wanted to make a record of his time online :) and yes it worries me and wonder what the heck is he up to first thought he could be a bored kid.. but 3 days and still going? hmmmmmm |
Sorry but I can't read through all those pages heh, but I keep getting this error on the view leader page
Warning: Division by zero in /home/sjmadho/public_html/board/timeonline.php on line 42 Warning: Division by zero in /home/sjmadho/public_html/board/timeonline.php on line 42 Warning: Division by zero in /home/sjmadho/public_html/board/timeonline.php on line 42 Warning: Division by zero in /home/sjmadho/public_html/board/timeonline.php on line 42 Warning: Division by zero in /home/sjmadho/public_html/board/timeonline.php on line 42 Warning: Division by zero in /home/sjmadho/public_html/board/timeonline.php on line 42 Warning: Division by zero in /home/sjmadho/public_html/board/timeonline.php on line 42 Warning: Division by zero in /home/sjmadho/public_html/board/timeonline.php on line 42 Warning: Division by zero in /home/sjmadho/public_html/board/timeonline.php on line 42 Warning: Division by zero in /home/sjmadho/public_html/board/timeonline.php on line 42 you can view it at http://www.sjmadhouse.net/board/time...fo=view_leader |
Quote:
|
Quote:
|
Mystic XL change is included in the zip... for fixing the division by zero error...
regards... g-force2k2 |
im trying to find out what code i ahve to add where to get the online time to show in the postbit.
|
Nevermind forget that ... i got it now .. i forgot to look at the original post bit.
|
I think its only a little problem what i have here.
when I Click on a Username in the Total Time Online Statistik i becomes a message thats the user is not registrated an so it have no Profil ? How I can fix this problem ? |
How could I make it so if you're in usergroupid=X and you are invisible, the time is not added on?
|
Sorry, bit late here eh? never got a chance to install this. works great for 2.2.9. anyway just wanted to say, awesome hack g-force2k2!! :)
|
I get database error when try to install it. After I followed instructions exactly before i started on templates i went to the forum and forums didn't work. Had database error.
i'm trying it on v2.2.9 btw Does it not work on 2.2.9 or something? If thats not the reason then look forward to your response on why get database error. |
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 :) |
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. |
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. |
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.
|
Ok, here's a better response. Straight from Logician's "How To Install a vbulletin Hack: Guide to Newbies."
Quote:
|
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.
|
S1R1US, make a file called:
totalquery.php and put the following code in it: PHP Code:
|
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. |
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.
|
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!. |
Quote:
Thanks Craig |
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/ |
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. |
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:
|
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 |
Has the original install file ever been modified to the version that TECK had spoken about that would involve absolutely ZERO queries at all?
It was mentioned here: https://vborg.vbsupport.ru/showthrea...011#post302011 I'm interested in installing this with zero queries, if it is definatly possible to do so. Who wouldn't? Thanks. :) -Jason |
Has anyone tested this to be working perfectly fine in ver2.3.0 ??
In the previous page someone said, it was working fine in 2.9.0 with some changes....how abt in ver2.3.0 ?? Thanks much |
Anyone know the status of the "0 queries version" mentioned by Teck in this thread? :) Where is everyone lately lol...
|
I got it that way (I think) with no problems. Although I only use it in the getinfo template due to some errors earlier on and me being too lazy to go back now and update my files.
I think it is all working by now though. Just read the post by TECK and I think it tells you what to do.. |
Maybe i am a little bit stupid, but i dont know how i do not div with zero.
I mean this row: PHP Code:
It comes the warnig if i use the http://www.phonecity.de/forum/timeonline.php where you can see it. Can somebody tell me how i can fix this cu Thomas |
I have a zero file in my zip file but the code in this file is:
ÐÏࡱá cu Thomas |
Ok gefunden... sorry :(
gruss Thomas |
But i have still a problem with the by day table
look http://www.phonecity.de/forum/timeonline.php Best regards Thomas |
This really needs updating. :) TECK's only includes hours, not minutes and seconds, and his is only within the postbit and also has no leaderboard. I would like to see this updated completely to use 0 queries but maintain all the functionality of the original hack.
I am not sure how to merge both these things into one hack, and I've tried myself without success. :( |
Maybe some will step up to the plate and revive this hack. I think it's a good one and I want to install it badly
|
All times are GMT. The time now is 06:28 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:
|