Welcome, Guest. Please Login or Register.
June 12, 2021, 08:28:40 AM
Home Help Search Login Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Completed mods  |  Topic: [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 3334 times)
username00001111
Noobie
*
Posts: 37


Como Se Llama?


[Done 1.54] Stay Logged In by Default
« on: December 10, 2003, 01: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:


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

And Replace With:

Code: [Select]
<td class="windowbg" bgcolor="' . $color['windowbg'] . '"><font size="2"><input type="checkbox" name="cookieneverexp" value="ON" checked /></font></td>
« Last Edit: December 10, 2003, 02: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, 03: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, 11:10:09 AM by [LC]Black Hawk » Logged

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


ich soll nicht toten


WWW
Re:[Done 1.54] Stay Logged In by Default
« Reply #2 on: December 11, 2003, 07:50:24 PM »
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 11, 2003, 10:27:32 PM »
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, 11:09:44 AM »
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  |  Topic: [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.0.15 | SMF © 2017, Simple Machines
Valid XHTML 1.0! Valid CSS!
Page created in 0.119 seconds with 34 queries.