The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Who's Online display external locations
I have photopost pro installed and running the integration hack. The paths are different (ex: /home/vbulletin/ and /home/photopost/), and in the Who's Online feature there is an ugly "Unknown Location: /gallery/filename.php?cat=cat&s=session" when a member is browsing photopost. I've installed Chen's Add Who's Online locations from Admin CP hack. I've also tried inputing different locations as tests to see if the online location displays, but I've had no luck. I'm in need of guidance or a similar hack to include "external" locations.
|
#2
|
||||
|
||||
i would also like this hack to whoever can do this intergration
|
#3
|
|||
|
|||
any luck on this?
|
#4
|
|||
|
|||
Ditto - we are hoping for this as well as we have lots of users visit the forum and would love to combine the "who's online count"
|
#5
|
|||
|
|||
Open up ONLINE.PHP
### FIND ### Code:
case 'calendar': $userinfo[where] = "Viewing <a href='calendar.php?s=$session[sessionhash]'>Calendar</a>"; break; Code:
case 'photopost': $userinfo[where] = "Viewing PhotoPost"; break; Code:
case 'sendtofriend.php': $userinfo[activity] = 'sendto'; break; Code:
case 'filename.php': $userinfo[activity] = 'photopost'; break; Also, you cannot have multiple names for multiple files. So if PhotoPost already has and uses an index.php, vBulletin will always default to the index.php of your forum home, so even if you're viewing PhotoPost's index.php, it will always say you're at the forum. You cannot use directory structures in the above code and most of all, you must include global.php in PhotoPost somewhere, either using an include or making modifications to the PhotoPost php files, such as adding: Code:
<? /////////////// CONFIG /////////////// // $path = "/virtual_path_to_forum/admin"; // set the path to your admin directory. // ///////////// END CONFIG ///////////// require('./global.php'); require("$path/config.php"); Syl... |
#6
|
|||
|
|||
Actually, Add Who's Online Locations From Admin CP is easier than always editing online.php
|
#7
|
|||
|
|||
vB2 does not support Who's Online Locations from the Admin CP and if you read the first post, the hack he installed that can do this from the Admin CP, is not doing it properly, thus the very reason for having to make manual changes to the online.php.
Syl... |
#8
|
|||
|
|||
Here's the method I successfully used to remove the "Unknown Location" listings on my vBulletin 3.0.5 "Who's Online" for Photopost Pro (v4.86) pages:
http://www.photopost.com/members/for...22#post1087422 The other methods posted in this thread proved fruitless, perhaps because I run Photopost Pro with it's "Friendly URL" feature enabled, which involves moving data that's typically passed in a URL query string into a format such as /photos/showgallery.php/cat/501 (rather than photos/showgallery.php?cat=501) Hope this helps. The code changes are limited to vB3's functions_online.php file in the /includes/ folder. I preferred that over having to install an vB3 admin control panel hack, since this is pretty much a one-time fix for me. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|