2017-09-01, 02:35 PM
Hello !
i have a problem with the login to my fourm
after i login , and close the webpage , the forum didnt keep the user and the password
so evrytime i open the forum url , i have to write the username and the password
here is my forum url
http://epcsoftware.org
also here is header_welcomeblock_guest
thanks in advance for your help !
i have a problem with the login to my fourm
after i login , and close the webpage , the forum didnt keep the user and the password
so evrytime i open the forum url , i have to write the username and the password
here is my forum url
http://epcsoftware.org
also here is header_welcomeblock_guest
<!-- Continuation of div(class="upper") as opened in the header template -->
<div id="loginContainer">
<a href="{$mybb->settings['bburl']}/member.php?action=register"><span class="botonregi"><i class="fa fa-user"></i> Register</span></a> <a href="#" id="loginButton"><span><i class="fa fa-sign-in"></i> Log in</span><em></em></a>
<div style="clear:both"></div>
<div id="loginBox">
<div class="slidingDiv">
<form method="post" id="loginForm" action="{$mybb->settings['bburl']}/member.php">
<input name="action" type="hidden" value="do_login" />
<input name="url" type="hidden" value="" />
<input name="quick_login" type="hidden" value="1" />
<input type="text" class="initial_focus textlogin" name="username" id="quick_login_username" value="Username" onfocus="if(this.value == 'Username') { this.value = ''; }" onblur="if(this.value=='') { this.value='Username'; }" />
<br />
<br />
<input type="password" class="textlogin2" name="password" id="quick_login_password" value="password" onfocus="if(this.value == 'password') { this.value = ''; }" onblur="if(this.value=='') { this.value='password'; }" />
<br /><br />
<input type="submit" class="boton2" name="submit" value="{$lang->login}" />
<input type="hidden" name="action" value="do_login" />
</form>
<center>
<input name="quick_remember" id="quick_login_remember" type="checkbox" value="yes" class="checkbox" checked="checked" />
<label for="quick_login_remember">{$lang->remember_me}</label>
<br /><span class="posicion"><a href="{$mybb->settings['bburl']}/member.php?action=lostpw"><font color="#3D5755">Reset Password</font></a></span></center>
</div>
</div>
</div>
<script type="text/javascript">
$(function() {
var button = $('#loginButton');
var box = $('#loginBox');
var form = $('#loginForm');
button.removeAttr('href');
button.mouseup(function(login) {
box.toggle();
button.toggleClass('active');
});
form.mouseup(function() {
return false;
});
$(this).mouseup(function(login) {
if(!($(login.target).parent('#loginButton').length > 0)) {
button.removeClass('active');
box.hide();
}
});
});
</script>
<script type="text/javascript">
$("#quick_login input[name='url']").val($(location).attr('href'));
</script>
thanks in advance for your help !