Guides & Snippets for phpBB3.
Try the Snippets here and share Your own Snippets
Post
by cisco007 »
This will instantly redirect you to your ACP after logging into your ACP
AUTHOR:
EY
open includes/functions.php
Find:
Code: Select all
meta_refresh(3, $redirect);
trigger_error($message . '<br /><br />' . sprintf($l_redirect, '<a href="' . $redirect . '">', '</a>'));
}
Add before:
Code: Select all
if ($admin)
{
redirect($redirect);
}
Post
by Stoker »
Thanks, I hate to wait when hitting ACP
Post
by cisco007 »
yeah, this is just about the first thing i add to a new board!
Post
by Fire-Fox »
Thanks..
Very handy

Post
by Inner Circle »
Thanks for the snippet!
Saves a lot of time!
Post
by cisco007 »
yeah, all these redirection snippets save a lot of time!
Post
by Huchinotte »
Yeah wonderfull .......... thanks for this snippet
Huch
Post
by neptune »
the 1st edit by one of my boards looks so, can i make the edit?
Code: Select all
$redirect = meta_refresh(3, $redirect);
trigger_error($message . '<br /><br />' . sprintf($l_redirect, '<a href="' . $redirect . '">', '</a>'));
}
thx
Last edited by neptune on 22 Apr 2010, 10:16, edited 1 time in total.
Post
by Inner Circle »
neptune » 22 Apr 2010, 09:54 wrote:the 1st edit by one of my boards looks so, can i make the edit?
Code: Select all
$redirect = meta_refresh(3, $redirect);
trigger_error($message . '<br /><br />' . sprintf($l_redirect, '<a href="' . $redirect . '">', '</a>'));
}
thx
it works too ( have the same code and tested it )
Post
by cisco007 »
yes, it will work, i have two redirects before that code and they work great!