MyBB Community Forums

Full Version: "remember me"
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do I get a proper Remember Me box that users can tick while logging in. My situation is with my theme, the login box is in the banner. Someone gave me a code and said it should work, but it doesnt.
This is the template code for my login box on the banner:

<form action='member.php' method='post'>
<input type='hidden' name='action' value='do_login' />
<input type='hidden' name='url' value='index.php' />
<input type='text' value='Username' name='username' maxlength='100' style='width:205px; margin-bottom:4px;'/><br />
<input type='password' value='Password' name='password' style=' width:205px; margin-bottom:8px;' /><br />
<input type='submit' name='submit' value='Login' style='float:left; width:103px; margin-right:3px; margin-bottom:4px;' />
<INPUT STYLE='width:103px;'TYPE="submit" onclick="document.location='member.php?action=register';return false;" VALUE="Register"><br>

<input name="quick_remember" id="quick_login_remember" value="yes" class="checkbox" type="checkbox">
<label for="quick_remember"><b>Remember Me</b></label>
</form>
this code is from member_login template
<label title="{$lang->remember_me_desc}"><input type="checkbox" class="checkbox" name="remember" checked="checked" value="yes" /> {$lang->remember_me}</label>