The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Custom WOL Locations?
Is it possible to set custom locations for the Who's Online page and Location?
For example, if a member is viewing a custom template (EX: custom_ImageHost) and its url is http://www.yoursite.com/misc.php?do=...late=ImageHost it will display as the user viewing the forum index in the Online Location. But if you hover your mouse over the exact location question mark ( ? ) you can see that the user is viewing the template. Thanks in advance. |
#2
|
||||
|
||||
There is an article on how to do this, did you look in the articles forums?
|
#3
|
||||
|
||||
Yeah, I followed this article:
https://vborg.vbsupport.ru/showthrea...t=wol+location So I made a plugin called WOL 1 and made the hook location "online_location_process" and entered in the following code: Code:
if ($filename == 'misc.php?do=page&template=ImageHost') { $userinfo['activity'] = 'Image Host'; } And another plugin called WOL 2 with a hook location of "online_location_unknown" and with the following code: Code:
if ($userinfo['activity'] == 'Image Host') { $handled = true; $userinfo['action'] = 'Viewing Image Host'; $userinfo['where'] = "<a href=\"misc.php?do=page&template=ImageHost">Image Host</a>"; } Still no go :| I also tried this plugin (Yeah I know it was made for vB 3.5) to see if it might work and it didn't. https://vborg.vbsupport.ru/showthread.php?t=83247 --------------- Added [DATE]1262299089[/DATE] at [TIME]1262299089[/TIME] --------------- I was hoping I wouldn't have to edit any php files :| |
#4
|
||||
|
||||
I believe if you are going to put in variables (misc.php?do=page&template=ImageHost ) then it gets a bit more complicated. Take a look starting around post 25 here - https://vborg.vbsupport.ru/showthrea...t=82882&page=2
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|