Welcome, Guest. Please Login or Register.
April 18, 2024, 02:34:54 AM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.54] Stay Logged In by Default « previous next »
Pages: [1] Reply Ignore Print
Author Topic: [Done 1.54] Stay Logged In by Default  (Read 4238 times)
username00001111
Noobie
*
Posts: 37


Como Se Llama?

[Done 1.54] Stay Logged In by Default
« on: December 10, 2003, 06:57:33 PM »
Reply with quote

Just a small html change in LogInOut.php that will automatically check the "Stay Logged In" checkbox so that your members will keep their cookie and will not have to login every visit. Tested only in 1.54 but if you have an earlier version you can view the html change here and easily figure out how to edit your file.

Open LogInOut.php

Find This Code:


<td class="windowbg" bgcolor="' . $color['windowbg'] . '"><font size="2"><input type="checkbox" name="cookieneverexp" /></font></td>


And Replace With:

<td class="windowbg" bgcolor="' . $color['windowbg'] . '"><font size="2"><input type="checkbox" name="cookieneverexp" value="ON" checked /></font></td>
« Last Edit: December 10, 2003, 07:08:51 PM by username00001111 » Logged
Black Hawk
Jr. Member
**
Posts: 83


YaBB SE RULEZ!!

WWW
Re:[Done 1.54] Stay Logged In by Default
« Reply #1 on: December 11, 2003, 08:32:49 PM »
Reply with quote

I think some people want the minute thing, because maybe they just close the window, and so it logs them out (say they're using a library computer) so people won't be able to do anything bad on it for a long time... ::)
« Last Edit: December 13, 2003, 04:10:09 PM by [LC]Black Hawk » Logged

Always fear the hawk...
Shadow's Pawn
Support Team
YaBB God
*****
Posts: 597


ich soll nicht toten

ICQ - 8039201shadowpawn@hotmail.com WWW
Re:[Done 1.54] Stay Logged In by Default
« Reply #2 on: December 12, 2003, 12:50:24 AM »
Reply with quote

All this does is make the box checked by default. They can uncheck it still.
Logged

apologize \A*pol"o*gize\, v. i. - To lay the foundation for a future offense.
username00001111
Noobie
*
Posts: 37


Como Se Llama?

Re:[Done 1.54] Stay Logged In by Default
« Reply #3 on: December 12, 2003, 03:27:32 AM »
Reply with quote

SP is right, it just checks the box for your members so they will not have to log in every time they visit the site. If someone is using a library PC I would hope they use "logout" when they leave?
Logged
Black Hawk
Jr. Member
**
Posts: 83


YaBB SE RULEZ!!

WWW
Re:[Done 1.54] Stay Logged In by Default
« Reply #4 on: December 13, 2003, 04:09:44 PM »
Reply with quote

Whoops, I didn't test it, so I thought it sorta removes that and does it by automatic. It IS a good mod, lemme try it! ;D
Logged

Always fear the hawk...
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.54] Stay Logged In by Default « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.042 seconds with 19 queries.