This issue I am having with doing this though, is that if the member is already signed in on my site's phpbb3 forum, and then if they click "login" on my website, they are automatically directed to the forum page instead of the ucp login page.
If they are not logged into the forum, then everything works fine. They are sent to the ucp login page and then are returned to my webpage.
I'm not really sure how to fix this though, since it is just via a form where they are being redirected to the ucp.
Code: Select all
<form method="post" action="../forum/phpBB3/ucp.php?mode=login"> <input type="submit" value="Log In" name="login" /> <input type="hidden" name="redirect" value="../../mypage.php" /> </form>