MyBB Community Forums

Full Version: Redirection on logout
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi All
just a quick question :-
is it possible to adjust the logout redirection ? by default mybb seems to reload index.php I thought this may be easy as the loggin rediretion can be edited thus
<input type="hidden" name="url" value="{$mybb->settings['bburl']}/forumdisplay.php?fid=5" />
within the login form ...
As the theme I am developing will not use index.php I would rather redirect to forumdisplay.php?fid=x
On member.php, line 1197:

Change:

   redirect("index.php", $lang->redirect_loggedout);

To:

   redirect("forumdisplay.php?fid=x", $lang->redirect_loggedout);