14. Thank You.. It did helped me.
15. Ofcourse the permissions are all set to YES. See this is my code
Hook: online_location_process
PHP Code:
if ($filename == 'page.php')
{
$userinfo['activity'] = 'Viewing Page';
}
if ($filename == 'page.php?do=edit')
{
$userinfo['activity'] = 'Editing Page';
}
Hook: online_location_unknown
PHP Code:
if ($userinfo['activity'] == 'Viewing Page')
{
$userinfo['action'] = 'Viewing Page';
$handled = true;
}
if ($userinfo['activity'] == 'Editing Page')
{
$userinfo['action'] = 'Editing Page';
$handled = true;
}
Now... my problem is that even on viewing
page.php?do=edit , it shows
"Viewing Page" INSTEAD OF
"Editing Page" at whos online !
Thank You