![]() |
Installed on a 2.2.5 Version without any Problems! Great Hack!
My Demoscreens:[GERMAN] [1] ID-Card (ausgefahren) ----------------------------------- http://www.clanforen.de/clanforen/im...imeonline1.gif [2] Profil-Card ----------------------------------- http://www.clanforen.de/clanforen/im...imeonline2.gif [3] ?bersicht aller Zeiten ----------------------------------- http://www.clanforen.de/clanforen/im...imeonline3.gif thx! |
I couldn't get it to work on the forumhome even with this change. It kept messing up my "Member of the Day" hack. Neither one would show right if I have them both going. Any other way to get it to show on forumhome?
And how is the Time online per day calculated? And one last thing Sorry :)). Is there a way I can get it to NOT show any users times that are all at zero until they are online? Quote:
|
Boofo the code should work... if it doesn't just change some variables around and see what happens...
As for the time online per day calculated? the total time online divided by the days registered... :p maybe this hack should be included in vb3 so that the members who registered way before hand don't lose their time :P As for selecting the users with no time... just change this query :: PHP Code:
PHP Code:
g-force2k2 |
That didn't quite work. The list is smaller but I still have about 10 users who show up on the listing that have no time online. Also, the forumhome thing doesn't work no matter what I change around.
Is there a way, after we figure the list out, to not have the template show up in the profile if there is no time either? |
open member.php
find: PHP Code:
PHP Code:
g-force2k2 |
LOL Now it doesn't show up at all in the getinfo template, even when there is some time. Do we need to check for zeros on all of it or something?
You know me, g-force2k2, it never ceases to go quite right in the beginning. :) |
nah actually Boofo that was my bad... in the member.php replace the code i just gave you with this code:
PHP Code:
now open index.php find: PHP Code:
PHP Code:
place where you want to show : PHP Code:
g-force2k2 |
Firefly's Code:
Code:
+-------------------------------------------------------------------------------------------------+ Code:
// get total posts |
okay thanks Boofo i don't see how the codes contrast... but i will install this on a my forum to see what i can observe for you regards... i posted some other coding above if you want to test that..
g-force2k2 |
No need to test it on your end. Both fixes work perfectly. Thank you very much, sir. :)
We lucked out on this one. We usually have to go through alot more to fix it to work with my board. That must mean you are getting better and better all the time, huh? :) Can't beat experience. ;) Keep up the great work, there, g. :) Now, all we have to do is get it not to show any members in the listing with the times at zero and we are all set. :) |
Boofo try using this query then? ::
PHP Code:
g-force2k2 |
Sorry, that didn't change anything. :(
I'm not anywhere near as good as you on this stuff. I just seem to find more bugs with my setup than anyone else. I figure, if you can fix it to work with my site, then it will work with anyone's site. At least, that's the way it seems most of the time. :) Quote:
|
Boofo
open timeonline.php find: PHP Code:
PHP Code:
g-force2k2 |
You're good! that fixed it. :)
What should this be at now? PHP Code:
|
you can keep that as is as well ;) regards... glad that it worked :)
g-force2k2 |
Thanks again for all of the help. Great hack! ;)
|
Best hack out for a long time! GREAT WORK!!! :)
|
I want to install this hack but I have one question, will it show the users time online when they are in invisable mode?
Thanks! |
scottct1 yeah it should... but i don't see that as a problem...
g-force2k2 |
Cool hack, but a problem?
Time online per day is out of whack for everyone but users who register after the hack is installed... any way to change it to start averaging from 0 rather than looking at how long the user has been registered? IMHO, that calc as it is now isn't very useful. I for example have been registered for nearly 3 years, was online 3 hours after installing the hack. Shows my online time as 3 hours, but my per day average as 8 seconds :) |
Quote:
The way I wanted to do it was if you registed before the date the hack was installed it calculated the time online since then per day, otherwise it did it since you registred, but I didn't get anywhere :cry: |
Ok I clicked install. :) Any way to add a days column. :) Some of us spend way to much time in front of their computer!
|
i get this error on the time online leader page
Fatal error: Call to undefined function: dotimeonline() in /usr/local/psa/home/vhosts/mysite/httpdocs/forums/timeonline.php on line 39 |
not working properly on VBB 2.2.4
|
Waouhouh, thx a lot G-force2k2 !
It's a very fabullous hack, thanks for this work, it works perfectly :) |
Quote:
|
wolfe did you make the changes to the admin/functions.php? regards...
g-force2k2 |
Quote:
yes same problem here too... the counter seems a bit buggy can you have a look at it g-force2k2? |
I have do the follow to calculate a correct "Time Online Per Day".
First you need the Timestamp (LINUX) before you start to install my changes! ! ! in timeonline.php find: PHP Code:
PHP Code:
PHP Code:
|
What does this mean? :) Isn't that on the server already?
Quote:
|
aight... for all the ppl that feel cheated... here's a code i devised for ya...no the counter isn't buggy because it uses the joindate :p but here's a little code i whipped up for ppl like you that feel cheated :p regards...
open timeonline.php find: PHP Code:
PHP Code:
g-force2k2 |
ahh... see Souly had a similiar idea to me ;) just set the time back so but... for him all users will have that time as the register date... even if they register five weeks later ;) my code prevents that... but good thinking Souly :)
g-force2k2 |
hehe - nice :) very nice :)
OK. you see -- iam a newbie! :dead: |
All that did was make the Total Time Online and the Time Online Per Day the same value on my site. :)
|
Boofo what time code did you use? try this number see if it varies the values differently?
PHP Code:
g-force2k2 |
ok, that seemed to change it. It now look like around half (which would make sense since I installed this hack yesterday). But, what does this addon actually do? How will it affect people who register after it is installed? Thank you, by the way. :)
|
how will this effect users afterwards :p? well if their joindate is after the time that installed their time won't be effected at all ;) so this is only more or less a feature to help those that have been long time members :) regards...
g-force2k2 |
Hello G-Force!!
First Thankx for this great Hack. But theres a Problem with it. Everytime i try to use the "next" Link in the Navigation of the "timeonline" i get a blank page. When i use the reload-Button the site is there. After this it works for 2-3 Klicks and then i get a white page. The same if i use the backlink in the "Forum-Navigation"....:confused: I promised i make all youre Instruction says and i don?t see any error in my installation. Ok, i get that "zero-error" and make youre fix from Post #2. It works, but the Nav-Problem is a Problem... Please help! ;) |
another little error:
when i watch the timeonline.php i see that my online time increase, the seconds, minutes and so on but i don't see the time of other members increasing, but i know they are online too with me at the same time. only when i go through something else in the board and then go back to the timeonline.php i saw their time but refreshing the page doesnt work here i have your - post, division by zero and the fairtime addon installed too any suggestions? |
hmm... i'll look into both issues...
Minifreunde make sure that you made the fix on the earlier posts... the links nextpage and the others i forgot to end with </a> could be a problem ;) it was fixed but perhaps you downloaded before hand... regards... g-force2k2 |
All times are GMT. The time now is 06:36 AM. |
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:
|