The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
"Remember Me" Not Working....
When people Log In to the forums and tick the "Remember Me" box they are obviously supposed to stay logged in.... When they leave the Forums and close their browser and then return to the website they need to log in again, and i don't know why this is.....
Below is the code to the login box that i have (the code is from the header template): Code:
<if condition="$show['member']"> <else /> <div id="login"> <div class="loginContent" style="width: 515px; height: 56px"> <form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])"> <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script> <table style="width: 100%"> <tr> <td><label for="navbar_username"><b><span class="reg3">Username: </span></b></label></td> <td><input class="field" type="text" name="vb_login_username" id="log" size="23" value="Username" onblur="if(this.value=='') this.value='Username';" onfocus="if (this.value == 'Username') this.value = '';" /> </td> <td><label for="navbar_password"><b><span class="reg3">Password:</span></b></label> </td> <td><input class="field" type="password" name="vb_login_password" id="pwd" size="23" tabindex="102" value="******" onblur="if(this.value=='') this.value='******';" onfocus="if (this.value == '******') this.value = '';" /> </td> <td><input type="submit" name="submit" value="" class="button_login" /> <input type="hidden" name="redirect_to" value=""/> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <input type="hidden" name="do" value="login" /> <input type="hidden" name="vb_login_md5password" /> <input type="hidden" name="vb_login_md5password_utf" /> </td> </tr> <tr> <td> </td> <td> <label for="cb_cookieuser_navbar"><input name="cookieuser" id="rememberme" class="rememberme" type="checkbox" checked="checked" value="forever" /><span class="reg2">Remember me</span></label> </td> <td> </td> <td> <a href="register.php"><span class="reg2">Register</span></a> | <a href="login.php?do=lostpw"><span class="reg2">Lost Your Password</span></a> </td> <td> </td> </tr> </table> </form> </div> <div class="loginClose"><a href="#" id="closeLogin">Close Panel</a></div> </div> <!-- /login --> <div id="container1"> <div id="top"> <!-- login --> <ul class="login"> <li class="left"> </li> <li>Hello Guest!</li> <li>|</li> <li><a id="toggleLogin" href="#">Log In</a></li> <li>|</li> <li><a href="/forums/register.php">Register</a></li> </ul> <!-- / login --> </div> <!-- / top --> </div> </if> Thanks to all that help David. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|