![]() |
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. :) |
There is an article on how to do this, did you look in the articles forums?
|
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') 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') 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 :| |
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
|
All times are GMT. The time now is 01:18 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:
|