MyBB Community Forums

Full Version: Is there a way to do this?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is it possible to have the forum login box on my main site, and when they log in it redirects them to the forum?
Assuming your main page is in root dir and forum is in /forums/

<form action='./forums/member.php' method='post'>
<input type='hidden' name='action' value='do_login' />
<input type='hidden' name='url' value='./forums/index.php' />
Username: <input type='text' name='username' maxlength='30' /><br />
Password: <input type='password' name='password' /><br />
<input type='submit' name='submit' value='Login' />
</form>