I have been tring to add a WOL action/activity for this addon but its not showing up.
Any ideas?
Plugin codes:
Code:
//online_location_unknown
$handled = true;
switch($userinfo['activity'])
{
case 'donate':
$userinfo['action'] = 'Viewing Donation Page';
break;
case 'donlist':
$userinfo['action'] = 'Viewing Donations List';
break;
case 'vsappedit':
$userinfo['action'] = 'Editing Donation';
break;
case 'donate_thanks':
$userinfo['action'] = 'Viewing Donation Thank you page';
break;
default:
$handled = false;
}
Wrote this out as simple as can be to be sure no script issues but still doesnt show up
Code:
//online_location_process
if ($filename == 'misc.php')
{
if (($values['do'] == 'donate') || ($values['do'] == 'donlist') || ($values['do'] == 'vsappedit') || ($values['do'] == 'donate_thanks'))
{
$userinfo['activity'] = $values['do'];
break;
}
}
The "?" location part is showing correctly but the text Location is still "Viewing Index ".
I would view the donation page and then next directly go to the WOL page.