![]() |
Works great. :D Thanks again.
|
Dein Hack funzt tadellos! THX!!
|
Very very useful hack, but I have some synchro problem... :greedy:
Installation type #1: I definetively don't think the followin code finds out the right midnight time when the server hasn't the same user's time zone... :pleased: PHP Code:
Thanks a lot. Bye |
Quote:
If you make the correction to $unixtoday between the two SELECTs, you'll obtain different results from SELECT COUNT and SELECT... Shouldn't you ? I think it should be bette place the PHP Code:
Do you agree ? |
The problem is, if the timezone of a member is -5 cet and another user has +7 cet, then there are problems with the correct count of today-online-record. Therefore, for the online record counts it has to be taken an uniform timezone, namely the servertime.
To reset the display of the today-online-member-names at 0:00 hours of his time zone the display of the today-member-names has to be called up separately at his timezone. I have a solution for this problem in my head, but momentarely i don't have the time to realize this. therefore it needs much more time to release the new version of this hack, that includes a fix for this problem. to this point the present hack works only 100%, when each member is in the same timezone as the server. |
Yeah. Infact yesterday I applied the hack and found about 270 users from the midnight with all your corrections.
Today I have 0 (zero!) users, according to the same hack... :confused: Actually I think the traslation you made to $unixtoday var had the wrong sign ... :?: I though to a simpler solution, I guess. Simply, replace in the ORIGINAL HACK CODE: PHP Code:
PHP Code:
What do you thin about ? |
Quote:
It seems these two numbers are stored in the same field of the same table, and the second overwrites the first one. Mystics, please, could you explain better those steps: PHP Code:
Bye |
Quote:
Before the hack: only the number and the Time of the "Most users ever online at the same time" was stored in this Template. Therefore the content looked like: Code:
21 1010710015 1010710015 = $maxusers[1] = $time = Unix-Time of the moment when the record was reached After the Hack: First the number and the Time of the "Most users ever online at the same time" and then the number and the Time of the "Most users ever online on a day" is stored in this Template. Therefore the content look like: Code:
21 1010710015 84 1010530336 1010530336 = $maxusers[3] = $time = Unix-Time of the moment when the record was reached |
Thanks a lot for such an exaustive answer.
I asked because, after having installed the hack for two days, I always got 0 as the maximum value and today as the date. But I think it was due to the timezone problem. About that, what do you think about my simple workaround of your hack code (3 posts above here) ? Quote:
|
On our forums we use the colored users online hack which colorizes members by usergroups. When we added the "Who-was-Online-Today" we noticed that it showed up in "black" (our link color). Well we wanted one that matched the colors shown in the CUO hack and so my co-admin hacked the hack. Enjoy. :) Remember to modify $mod["$userid"] or $todayuser['usergroupid'] == # to reflect your usergroup colors & ids.
created by genial @http://www.skats-board.de (eMail: phenomenal_genial@hotmail.com) documentation & posted (with a few little changes) by Mystics (eMail: mystics27@gmx.net) Modified by The Tech for Zadi |
?
|
Nice!
What about the 'today' concept on board with different timezone from the users ? It was the biggest - my own opinion - problem on the original hack. Thanks. |
The above patch works correctly to 'identify' the midnight away from the server's timezone, but there's still a problem with the $time variable, I guess.
Infact, when a new day arrives across midnight on the user's timezone (me, for instance, the Admin), this hack goes on adding the user number to the new-day counter as it was the previous day.... :( I can't get out !!! Heeeellllppppp, please! Note: my time = +1, server's time -5 = vbdate difference +6 Thanks a lot. Bye |
great:)
is the hack on first page updated? is there no need for add those changes? thanx dm |
btw I noticed the "Most users ever online was 1 on 30-01-2002 at 03:48 PM."
its reseted and dont update :( How do I fix this? I have this one on bottom of the page and its working fine(but also reseted after this hack) "Number of Active Users Today": 6 Most users ever online on a day was 6 on 30-01-2002 and I have this one on the top: this one are not updating "Currently Active Users:" Most users ever online was 1 on 30-01-2002 at 03:50 PM. |
Quote:
Quote:
|
Quote:
Sorry having confused someone. Even, does anybody have a solution to my problem with 6 hours more than the server ? Mystics, which point should I modify to change the day for the stored counter ??? :( Thanks |
What ever problems the original hack had with the today concept will be in this one as well. All my friend did was modify it to use with the colored online users. ;) We didn't anticipate the time zone problems.
|
Any chance to make this only visible to registered users or Admin?
Waterski |
Excellent ... been looking for this.
|
Not workign for me. I loaded everything, getting no error messages. Nothing is showing up!?!?!? Being new to this stuff, the templates I am making is a new one that will be in the customized area?
|
Great Hack,
I'm also +6 hours form my server.... What did I do? Easy, just typed: "Registered Users Online today (From 06:00 am to 06:00 am)" http://www.dondepuedo.com/foro/onlinetoday.php?s= :D hehehehhee I have one question, my VB is 2.0.3, the hack works perfect, but Mods and Admins are not showed in bold or bold + italic. Does it work only for 2.2.x? Thanks and, please, excuse my English ;) |
Quote:
|
Quote:
Unfortunately, as it should be an absolute value to show an user the onlines from midnight, any admin should choose only ONE midnight for his server, and all the other time-zoned users will see the admin's midnight. If someone is interested and with the permission of the author of this hack, I could post mine ... LMK. Thanks |
Don't know if this has been asked before (and if it has, my apologies in advance), but would it be possible to do a variant of this hack that doesn't store all the names of those that have visited in a day, just the number, and to have that displayed in the Currently Active Users section (ie included in the forumhome_loggedinusers template)?
If it is, could someone give me a step-by-step on how to do that, please? |
Hi there,
nice hack, works great and was very easy to install! Guests would be nice as mentioned, what about storing visitors in "whois online"? Then stored visitors online today + members online today = all sessions served today... please state if I see things to easy ;) Anyway: Great hack! [german]Super Sache: Gute Arbeit! :)[/german] cu, -Tom |
Quote:
Simply searches into DB for all contacts within the day (for each user is keepen the timemark of last access). The hack infact contains two selects: first for COUNT, second for retrieve rows. Simply, use only the first one... ;) Hwr I suggest you to use the second variation (with new page). Simply you can modify index.php as written and don't create the link into template. Bye |
Quote:
Sorry if the answer to this is an obvious one, but I'm still getting to grips with vBulletin! |
They are in different bits in templates.
You should merge that bits in one, but shall work a little with cut&paste... ;) |
How difficult would it be to change the query to show the the maximum number of users today, concurrently? This would be good for checking how many people have been on at once, instead of in total. It would be a great addition!
What would the query be? |
Quote:
|
Hhi i have the coloured user hack installed and i can't get this to run with it. Sorry i am a newbie.
The currently active users work fine shows me as red etc but current active users today (this hack) just shows everyone as black. Can anyone help??? |
Quote:
|
thanks
|
If anyone uses the seperate page to show their today online users, this is what they need in that pages php file:
Code:
<?php |
Here's the colors which match the ones used in VBStats and also the other colored CURRENT online users hack.
Code:
if ($todayuser['invisible'] == 1) { // Invisible User but show to Admin |
ok another quesiton yeturdya my most ever users online in one day was 18 today it says 11. Whats going on? i looked through these pages but ocuold not find it, you may have posted it and i missed it. Can anyone help? I am using at the bottom of my forums http://www.f1modelnews.com/modelforums
thanks |
Great hack,works like a dream:)
|
Quote:
|
um i have mine set a GMT i use 34sp.com as a server. I don't know what they run at. Can i change what time they run at?
|
All times are GMT. The time now is 01:07 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:
|