Firefly in post#2 are you saying to put this code:
Code:
if ($loc == 'http://www.mysite.com/multimedia.php') {
$userinfo['activity'] = 'multimedia';
}
After the second switch statements, and before the default case, as shown in post #3? Or are you referring to another piece of code? If there was just a simple way to point $loc to 'http://www.mysite.com/' and not the forum directory, I could just add 'forums/' at the start of all the cases.
ie:
Code:
case 'forums/showthread.php':
$userinfo[activity] = showthread;
break;