Version: 1.00, by Gary King
Developer Last Online: Jun 2020
Version: 3.0.4
Rating:
Released: 01-02-2004
Last Update: 03-16-2004
Installs: 527
No support by the author.
PLEASE CLICK THE INSTALL BUTTON IF INSTALLED!
What does this hack do?
It shows the users who visited your forums in the last 24 hours (or today). This hack works similiarly like the one released for vBulletin 2.
NOTE: If you want to show 'Who was online today' on a separate page from forumhome, then download instructions-newpage.txt and onlinetoday.php instead of instructions-regular.txt
Modifications
1 file modification
3 template modifications
0 queries to run
Features
supports and uses phrases
usernames are formatted properly
invisible users only show to people who are supposed to see them (admins and whoever else you allowed)
integrated (makes it so that the Who Was Online bar is now collapseable
Screenshots
Look below
Credits: Thanks goes to Mystics, where this hack is based on his
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Hi guys - bit of newbie here.. following the instructions for normal text - but am a bit lost on the creating phase part - it says
NOW CREATE THE FOLLOWING PHRASES:
******************************
last_online_at_x / Last online at {1}
******************************
active_users_today / Number of Active Users Today
******************************
most_users_ever / Most users ever online on a day was {1} on {2}.
******************************
already_visited_today / The following members have already visited the forums today
I'm sure that is straightforward to you guys, but not to me -can someone help me
in the cp it says VAR NAME and text - and I'm NOT clear what I do
text is the part above? ie last_online_at_x / Last online at {1} ?? but what is VARNAME
PLEASE help a newbie
VARNAME: last_online_at_x
Text: Last online at {1}
It is impossible to display a "Who was online today?" list correctly for all members regardless which time zone they use on each and every board regardless which default time zone the board uses if one doesn't keep a list of members that logged in within the last 48 hours (instead of only 24 hours).
Best (and probably easiest to code) would be to make the list fully dynamic (i. e. "Who was online in the last 24 hours?"
I know that there is a dynamic "Who was online in the last 24 hours?" hack already (which works fine) but this "Who was online today?" also keeps the "Most users ever online on a day was ..." top score which I don't want to miss.
Ironically enough, this "Most users ever online on a day was ..." function is done fully dynamically (and doesn't rely on the vBulletin "Registered visitors today" stats which are not dynamic but based on the default time zone) which is absolutely awesome.
Since the author apparently doesn't support this hack anymore and because so many people have installed this hack already (all of whom have this time zone problem I described, regardless if they are aware of it or not), I wonder if some coder could convert the "Who was online today?" routines to fully dynamic "Who was online in the last 24 hours?" routines (or fix it by keeping the login entries for 48 hours and considering the member's time zone as offset from the default time zone which is, however, probably somewhat more complicated?)
Either solution would be absolutely elite and elysian, and I would make such a coder my hero of the month.
I'd like to just say hello to everyone real quick. I'm brand new to the vBulletin community so I'm fairly ignorant on how the entire systems works. Anyways I just installed this hack on 3.0.1 and it seems to pull information though it's not formatted correctly. I assume this is of course something stupid that I have done but not knowing the system any better than I do at this point I'm a bit clueless.
Anyways I'd love it if someone could give me a gentle shove in the right direction and lemme know what I should look at, attached is a screenshot of the error I get. Thanks.
*edit*
Ummm nevermind I got it fixed cut off a tag in a cut and paste. Knew it would be something stupid like that. Anyways: