![]() |
How to integrate the online-script on non-vbulletin pages?
I want, that the vbulletin count ALL visitors off a domain, while they are surfing on other pages outsite the vbulltin. All pages are with php extensions... |
No comments? No suggestions? Where are the profis? ;) Please...
|
hmm.. well what do you mean.. i might be able to help you.. i think
|
hmm, ok, sorry for my english...;)
On 3DWIN, we have to scripts, vbulletin and PHPNuke. Every script has its own online script (how many users are online), but I want only the onlinescript from the vbulletin, so the vbulletin should count all visitors on all (non vbulletin) pages on the whole domain www.3dwin.de. |
ohh so basically you want to have it so that in your guest on you site will show up in the how's online stats
|
Quote:
|
This thread is over a year old. :)
|
I know that Erwin, but I searched the whole forum and I couldn't find something similar to what I want. So I thought it would be better to reply on this post... isn't it?
I can start another thread if you want :D |
I don't think it exists. :)
|
So you mean that there is no way to make the "vBulletin Online Script" grab visitors from non-vB pages?
Maybe there is no such hack available, but isn't anyone here that knows how to do it? |
There is hack that shows users online in vB on a NON-vB page, but not the other way around. To do this, the other pages need to be PHP, and what you do is integrate them by including global.php - as easy as that.
|
Ok I've tried that, but the problem is that when you inlcude the global.php on pages that are outside the VB directory you get a path error. Is there a workaround on this?
|
Here is an update...
I placed the following code on a non-VB page which is also in a different directory... Code:
require("http://www.mysite.com/vbpath/global.php"); |
Bumping the 1-year-old-thread again:
Did anyone ever got a solid solution for this? What PHP code should we implement on non vb-pages in order to also calculate guest & member numbers who are surfing non vb-pages? |
Nothing yet???
And I thought that this would be easy for some great hackers out there... hmm. :( Isn't there anyone else interested in this? |
This is what I found so far which you can include into other non-vb php pages:
PHP Code:
If this is your forum dir: *ttp://www.somesite.com/forums/ then the chdir line should say chdir("../"); Everything works fine, except when non-vb pages are also called index.php, cause then the Who's online page will also show the Forums Main Index as a location, which is not correct of course. |
Hmm.. Thanks someone2!
I'll give it a try ASAP! ;) |
you can also use vbstats, and then use the vbstats include file to make the counters update.
also grabbing the global will work, but to make the whos online thing show a name of the pages instead of a url, you will need to add a few lines to the online.php file. |
All times are GMT. The time now is 09:49 AM. |
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:
|