2 quick questions:
1) Any way to define the url to redirect to without putting it in the code? If yoyu want to redirect to some page in your domain cant you just use variables that represent
the domain
the path
any parameters and aram values
2) Dont I want to put the exit() function at the END of the code. EX:
process_logout();
$vbulletin->url = fetch_replaced_session_url($vbulletin->url);
if (strpos($vbulletin->url, 'do=logout') !== false)
{
$vbulletin->url = $vbulletin->options['forumhome'] . '.php' . $vbulletin->session->vars['sessionurl_q'];
}
$show['member'] = false;
eval(standard_error(fetch_error('cookieclear', create_full_url($vbulletin->url), $vbulletin->options['forumhome'], $vbulletin->session->vars['sessionurl_q']), '', false));
header("Location: /url/to/your/redirect/page");
exit();
|