Okay, I added it to the forumjump template with a [gn] variable. What do I pass this on to in the forumdisplay.php?
I tried "getnew" and "newposts", none work:
Code:
// jump from forumjump
$goto = '';
switch($HTTP_GET_VARS['forumid']) {
case 'home': $goto = 'index'; break;
case 'search': $goto = 'search'; break;
case 'pm': $goto = 'private'; break;
case 'gn': $goto = 'getnew'; break;
case 'wol': $goto = 'online'; break;
case 'sb' : $goto = 'shoutbox'; break;
case 'cp': $goto = 'usercp'; break;
}
if ($goto != '') {
if ($HTTP_GET_VARS['s']) {
$sessionhash = $HTTP_GET_VARS['s'];
} else {
$sessionhash = '';
}
header("Location: $goto.php?s=$sessionhash");
exit;
}
// end forumjump redirects
Could you point me in the right direction?