![]() |
Who's online on non-vB page (with usernames, same rules as Who's Online on forumhome)
PLEASE CLICK ON THE INSTALL BUTTON IF YOU INSTALLED THIS! THANKS!
What does this hack do? Using this hack, you can show who is currently on your forums from anywhere else on your website! The page, though, must be a PHP page. If you want to display this information on another webpage by integrating it (which you'll probably want to ;)), just put PHP Code:
PHP Code:
THE BELOW IS ONLY IF YOU ARE USING ONLINE.PHP If you are using online.php, then this line of code MUST be at the top of the page! If you don't want to show the total users online at the top of the page, though, then remove PHP Code:
PHP Code:
Features
Instructions Download the attached online.php if you want to show invisible users to administrators, etc., or download online_external.php if you don't want to worry as much about things :), and follow these instructions:
That's it! :D |
Quote:
|
Quote:
|
You're not going to make it in a nice little table to match the forum?
|
Quote:
------------------- Unable to add cookies, header already sent. File: N/A Line: 0 -------------------- Another one with this problems? |
Quote:
|
Quote:
|
no, the same Problem.
but is it a must to have cookies? there must be a simple way to get this Members: 8 Guests: 10 nothing else! ------------------------------ @Admins clicking for smilies brings me always to the top (#) |
2 bugs for me
1. i get Member instead of Members - the 's' is missing even though i have more than 1 member online 2. members online figure is incorrectly shown, i.e. on my forums there are 29-32 members online but this script shows 65 members online ? i.e. http://animeboards.com/joinwink.php |
Quote:
|
Quote:
|
Quote:
|
also it would be nice to add code to check if forum is closed or not and display "forum is down for maintenance" message if closed ;)
|
Quote:
real members = 27 old script = 65 new version = 47 |
It shows this for me:
Hack: Currently online: Members online: 6. Guests online: 12. Forums: Currently Active Users: 16 (5 members and 12 guests) |
Anyways, I'm not too sure on why it doesn't work exactly correct on your forums, works fine on mine :)
|
great job!
big thx -> *install* |
Quote:
http://animeboards.com/joinwink.php shows 202 members while forums really only have 39 members ??? |
tbh, i think that this should have been a BETA release, rather than a full one .
Also, i would like to see Members online and guests online :p |
Quote:
|
Hi
I had a similar problem when i made some external site stats for my board. I think it's counting the total number of sessions in the table for members rather than for each unique id replace: PHP Code:
PHP Code:
|
Quote:
|
Quote:
PHP Code:
|
Quote:
|
Quote:
What directory should online.php be located? I want all the names of the users online to be listed, so, I think I eed to use online.php. I tried putting it in the same directory as my files I want it to be displayed on, but it couldn't find the files it needed such as global.php. So, I tried to put it in the /forum directory, but it overwrote the online.php that vB needs, so I didn't want to do that. What do I do? |
If you place the online.php outside of vB directory then just change the path to something else in the require_once() code.
|
Errors:
Quote:
Quote:
Quote:
Quote:
What am I doing wrong? |
Quote:
|
if i still this on a non vb page will it show the users browseing that page as guest?
|
Quote:
|
i don see them showing up in my whos online
I have another way of tracking active users and it shows 250 in the last 5 min and this one that track it in 30 min is showing 120 |
Quote:
|
Quote:
at the bottom i have the code its not adding to the guest when someone visits that page |
This is exactly the kind of thing I'm looking for however, I've had a few problems:
Thank you for listening to my moaning ;) |
hi! Is there a way to change the font style and size of this? Thanks in advance
|
1. Can the user names include the links to their profiles? if so, how do I add them?
2. Can the extra "most users online ... " text be added? if so, how? 3. Finally can the extra bit "Who visited today" also be added? That'd kick ass! Thanks! |
Quote:
<span class=\"format\">$show</span> or something like that. Of course you would have to define .class in your stylesheet. :D |
Quote:
|
instead of print $show maybe you can use
echo "<span style=\"font-family: Verdana; font-size: 12px\">$show</span>"; Obviously you can change the font-family and font-size to whatever else you want :) |
Great! it works! Thanks a lot pal! :)
|
All times are GMT. The time now is 04:48 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:
|