The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Who's online on non-vB page (with usernames, same rules as Who's Online on forumhome) Details »» | |||||||||||||||||||||||||||
Who's online on non-vB page (with usernames, same rules as Who's Online on forumhome)
Developer Last Online: Jun 2020
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! Show Your Support
|
Comments |
#42
|
||||
|
||||
It works, but everything is crammed in. How can I fix this?
|
#43
|
|||
|
|||
works great but i already have a require for my image upload script.
require_once("show_image.php"); require_once("online.php"); doesn't work together. is there any work around to this? |
#44
|
||||
|
||||
Quote:
|
#45
|
||||
|
||||
I want the code to tell me how many people are on my entire site, not just VB.
What code would I put in my PHP files to tell VB that people are not signed on (or are) and that they are looking at those pages? That way my entire site will have this script tell me how many people are on my site in absolute total! |
#46
|
||||
|
||||
Use
PHP Code:
|
#47
|
||||
|
||||
Well now I've figured out what is wrong...
There are two things I want to do at once and I can at the moment only do either or. This one will show me where users are when I goto the whose online? page. <?php chdir("/home/jabcreat/public_html/community"); require_once('global.php'); ?> This will display how many users are online, but NOT others on no-VB pages. <?php chdir("/home/jabcreat/public_html/community"); require_once("online_external.php");?> The problem is, you're either on VB and CANT see how many are on.... OR You're NOT on VB but you CAN see how many people are on.... When I attempt to use both I recieve the following error... Fatal error: Cannot redeclare iif() (previously declared in /home/jabcreat/public_html/community/includes/functions.php:318) in /home/jabcreat/public_html/community/online_external.php on line 10 So how do I get over my current comprimise? |
#48
|
|||
|
|||
i want it show on sidebar how can i do that?
i add Code:
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" style="width:100%"> <tr align="center"> <td class="thead"><span class="smallfont"><b>Online</b></span></td> </tr> <tr> <td class="alt1"> <?php print $show; ?> <?php require_once("online_external.php"); ?> </td> </tr> </table> |
#49
|
|||
|
|||
I am hoping Gary King is still around *crosses fingers*
Gary, any idea why I am getting the following results? Members online: 00, 0, 0, 0, 0, 0, 0, 0, 0. Guests online: 26. I tried to play with a few of the options, but I cant figure it out |
#50
|
|||
|
|||
Anyone else have a wild guess as to why this is occurring?
|
#51
|
|||
|
|||
SKINVB
You have to require the script first then print show I hope you understand that. Baptizer.... I got the same thing...my solution...don't use online_external.php. Instead use online.php It took me a little bit but it worked... ceck it out in my footer. http://www.s3squad.com |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|