![]() |
Who Was Online Today on forums
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
Features
Screenshots Look below :) Credits: Thanks goes to Mystics, where this hack is based on his :) |
thanks for the great hack Gary I think I'll use it on my site.
|
Ima go install this now because i was waiting for it :) Cheers mate
|
why did it take so long to release? :D
was waiting for this hack :) *install* |
Installing now. Good job.
|
This is the third version of the Who Was Online Today hack for vB3 that I've seen.
|
One of the 5 hacks I'm looking for.
Great Job! |
Can this also be set to show the total number of guests today?
|
great job!
|
Quote:
|
it has the exact same text *bad grammar* as Chroder's one
|
some errors ...
this Code:
<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$userid" title="Last online at $lastactivetime">$username</a>$invisibleuser Code:
<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$userid" title="Last online at $lastactivetime">$username</a>$invisibleuser Also, add template names to $globaltemplates array |
thanks Gary!!
MGM out |
you gonna make one for the WOL?
|
Mods and admins don't show in formatted text (bold/italic).
|
Quote:
Replace Code:
if ($todayuser['usergroupid'] == 6 and $highlightadmin) { Code:
$username = fetch_musername($todayuser); |
That did the trick, thanks! :)
|
Invisible users show for all and not just admins. The fix is as follows:
Find: PHP Code:
PHP Code:
----------- In case my copying and pasting are screwy, what needs to be fixed is the query. It needs to check the options field in the table. invisible was a vb2 field and isn't in vb3. It also needs to change the if statements because invisible will not equal 1. It just won't equal zero. I also moved the templates to the cache on my board, but didn't bother with the phrases. Things seem to be working ok now. Amy |
Another glitch. This one in the forumhome_todayloggedinusers template.
Find: Code:
Number of Active Users Today: $numbertodayonline</b></div> Code:
Number of Active Users Today: $todayonline</b></div> |
Thanks Gary ...
|
This is off a bit, I think. My unigue registered users shows 1 today (reason=crappy site ;)) and this hack shows 2. Also, can someone fix the most users on a single day time to follow what we have set for the board (like detailed time, etc.)?
|
Mine too, it shows 20 but this script shows 23, not sure. Nice hack though!
|
Is it possible to run the queries from the php_include_start template? I'd like to use this, but I'd like to avoid hacking the actual PHP files. I've done a few hacks to my board that were originally file hacks, and I was able to modify them to pull the data in the php_incllude sections.
If it can be, what is the variable to control it only being called on the index.... something like: if ($page = 'INDEX') { get 24 hr users } |
Quote:
|
That's a whole lot of information. :rolleyes:
|
Quote:
|
Gary, have you updated your attachment so we don't have to apply all of these fixes?
|
Good job. Work easy and fine.
|
THanks. I have also been awaiting for this one as I used it in my 2.x days :)
|
Gary, are you still suppoerting this hack? If so, you need to fix it. The recordusers keeps resetting itself daily.
|
to make this hack were it can collapse
also in my code i took out the Most users ever online on a day was $todayrecordusers on $todayrecorddate. you can take a look at www.monstergamer.net/vb/index.php go to forumhome_todayloggedinusers replace all with PHP Code:
|
I'll be working on the hack in a bit, so stay tooned for a new release of this hack :)
|
Newest version has been released! I hope you guys like it ;)
By the way, phrases support will be added in a little later (hopefully within the next hour or so) I just had to release this one before I left the computer for a bit :)) |
Quote:
|
Phrases support now available :D
|
nice hack~Gray!:D:D
[high]* squawell clicked install....[/high] |
good work
like it better since you can collapse it now :) |
Would it be difficult to integrate this into a non-Vb page?
|
Quote:
|
Just as a standalone page, such as the index page of your site instead of actually having to go to the forum to see it.
|
All times are GMT. The time now is 05:39 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:
|