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. |
#2
|
||||
|
||||
Create a new style with no parent:
|
#3
|
|||
|
|||
Yes, they appear to be staying logged in on this newly created style.
David. --------------- Added [DATE]1255128408[/DATE] at [TIME]1255128408[/TIME] --------------- Also, just figured this out... When i switch to the style that you created, and click the "remember me" box, and then leave, and go back to the site, as you know it keeps me logged in. I then switched the site back to the old style, and it will also keep me logged in forever unless i click "logout"...but then when i login using the Template that we usually use, it will log me out again when i leave (if that makes sense).. So basically, if i login using the template you made me create, it will stay logged in regardless of which template i use after that, unless i manually log out. But if i login using the usual template it logs me out when i close the browser. |
#4
|
||||
|
||||
That means that something is wrong with your login form. Go to edit your and take a look at the form, then click Show Default to view the default form and compare the two.
|
#5
|
|||
|
|||
I have managed to fix it now, thanks Lynne
If you could quickly go over to www.e3-clan.net and click the "login" button at the top right, take a look and you will see that the boxes that you type your username and password into are basically the same colour, is there a way to change the colour of the login boxes. Thanks again for the help David. |
#6
|
||||
|
||||
You can edit the <input> tags for each of those to change the background - add background: #xxxxxx; into the style tag in the <input> tag (where xxxxxx is the hex color code for the color you want).
|
#7
|
|||
|
|||
Thank you Lynne, you always seem to be the one who helps me when i have a problem haha, i really appreciate it...If only everyone was as helpful as you
Thanks again. David. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|