First one doesn't seem to work.. second one is for 3.5. :/ I'm on 3.0.8
I figured it out. For anyone who needs it.
Code:
=============================
includes/functions_online.php
=============================
Find:
___________________________________________________________________________________________
default:
if ($permissions['wolpermissions'] & CANWHOSONLINEBAD)
???????????????????????????????????????????????????????????????????????????????????????????
Above this, add:
___________________________________________________________________________________________
case 'XCUSTOMX':
$userinfo['action'] = 'XCUSTOMX';
$userinfo['where'] = "<a href=\"XCUSTOMX.php?$session[sessionurl]\">XCUSTOMX</a>";
break;
???????????????????????????????????????????????????????????????????????????????????????????
Find:
___________________________________________________________________________________________
default:
$userinfo['activity'] = 'unknown';
}
???????????????????????????????????????????????????????????????????????????????????????????
Above this, add:
___________________________________________________________________________________________
case 'XCUSTOMX.php':
$userinfo['activity'] = 'XCUSTOMX';
break;
???????????????????????????????????????????????????????????????????????????????????????????
Just replace XCUSTOMX with what you need.