AN-net |
09-16-2004 02:05 PM |
WOL not working processing like its susposed to
1 Attachment(s)
Ok well im still working on WOL for journal this problem keeps occuring when someone is viewing a journal it says viewing index eventhough they aren't>_<
So here is my code(added this to functions_online.php):
PHP Code:
case 'addjournalentry':
$userinfo['action'] = 'Adding Journal Entry';
break;
case 'journalindex':
$userinfo['action'] = 'Viewing Journal Index';
$userinfo['where'] = "<a href=\"journal.php\">Journal Index</a>";
break;
case 'showjournal':
$userinfo['action'] = 'Viewing Journal';
break;
PHP Code:
case 'journal.php':
if($values['do']=="addentry")
{
$userinfo['activity'] = 'addjournalentry';
}
elseif($values['do']=="showjournal")
{
$userinfo['activity'] = 'showjournal';
}
else
{
$userinfo['activity'] = 'journalindex';
}
break;
i have also included a screenshot;)
|