OFCOURSE, i always try things 20 times before asking here.
My code is as simple as in any article of WOL here, ALSO, arcade's code helped me to define locations for sub-pages BUT how to make the URL variables available for
$userinfo['where'].
My code:-
Hook: online_location_process
Code:
if ($filename == 'myfile.php')
{
$userinfo['activity'] = 'myprocess';
}
Hook: online_location_unknown
Code:
if ($userinfo['activity'] == 'myprocess')
{
switch($userinfo['values']['do'])
{
case 'view':
$userinfo['action'] = 'Viewing Item';
$userinfo['where'] = 'I NEED HELP WITH THIS'
break;
default:
$userinfo['action'] = 'Vewing Custom Page';
break;
}
$handled = true;
}
The switch case is working good. BUT how to build the URL in userinfo[where]. How to make the variables available there just like arcade's code
gameid and
gametitle variables
Thanks