Page 1 of 5

Automatic Log-In

PostPosted: Mon Feb 27, 2006 11:23 pm
by RLeary06
JamesKer1 wrote:MOD EDIT: This suggestion is geared towards a feature to remember usernames and passwords once accessing the home screen, but is similar to this suggestion about no automatic sign outs.

View spearfish's "5 minute fix" to implement this idea:

spearfish wrote:As a PHP programmer, I know that this is about a five minute fix. Come on lack, your five minutes could save the rest of us hours (scary thought: if it takes 15 seconds to log in, and you log in five times a day for a year, you've spent 7 hours and 36 minutes doing nothing but filling in that form).

I'll even code it in for you if you want. Ready?

Add to login.php:
$inThreeMonths = 60 * 60 * 24 * 90 + time();
setcookie("account", $_POST['username'], $inThreeMonths, '/');


Then on the login form, change:
<input class="field" name="username" id="username" maxlength="16" value="" tabindex="1" type="text">

To:
<input class="field" name="username" id="username" maxlength="16" value="<?php $_COOKIE['account'] ?>" tabindex="1" type="text" />

That will result in the username being sticky for three months. Then you can add a "forget me" link.

Here's what that is (forget.php):
setcookie ("account", "", time() - 3600);
header(" Location: http://www.conquerclub.com/ ");


~~~

Making the user stay logged in would be as changing the php.ini if you use sessions, or setting an expiration time if you use cookies. I don't have your login.php script so I can't help there.



Not sure if anyone has suggested this yet...


But what about an 'automatic log-in' feature. I hate having to type my username and password in every time. Maybe I'm just lazy.

PostPosted: Mon Feb 27, 2006 11:32 pm
by Marvaddin
The worst is the automatic log out after some minutes... Thats really irritating!! :evil: :evil: :evil:

PostPosted: Tue Feb 28, 2006 11:34 am
by max is gr8
I agree wit u 2 as on most sites you can but maybe when ;lack gets more dosh

PostPosted: Tue Feb 28, 2006 1:00 pm
by Romber
My computer remember my password and name so I just double-click the "username" space and my name will show up in a pulldown box. Then I click the name and it puts my password in along with my name.

PostPosted: Tue Feb 28, 2006 1:38 pm
by max is gr8
Mine doesn't do dat

PostPosted: Wed Mar 01, 2006 2:09 am
by Risk_06
YES! Exactly! I've been wondering whether or not to post this sooner, mostly due to laziness...but would it be possible to put a checkbox besides the log-in for the computer to remember our password, or perhaps even leave us logged on until we directly press the "Log-out" button?

I sign onto Conquer Club too much. :wink:

PostPosted: Wed Mar 01, 2006 6:54 am
by Romber
also it automatically logs you out after like 30 mins i think. But I dont mind :)

PostPosted: Wed Mar 01, 2006 1:22 pm
by max is gr8
I know isn't it annoying

PostPosted: Wed Mar 01, 2006 3:09 pm
by kingwaffles
If you really want it to remember jsut tell your browser to do it, if your browser doesnt then get Firefox :).

Log in

PostPosted: Fri Jul 07, 2006 11:58 am
by Herakilla
I hate having to log in over and over can't there be something like cookies and have it "remember" your comp?

PostPosted: Fri Jul 07, 2006 3:02 pm
by Jota
I agree. That would be a great feature, both for the game and for the forum.

PostPosted: Fri Jul 07, 2006 4:38 pm
by AK_iceman
get firefox and it will remember your username and password so all you have to do is click login

PostPosted: Fri Jul 07, 2006 11:11 pm
by Herakilla
i have firefox but im used to ie and so it more convenient for me to us it and all i have to do is double click username and select mine then the pass pops up and i can get in but im tired of having to do it over and over like every half hour if i havnt gone to my games or something

PostPosted: Fri Jul 07, 2006 11:32 pm
by AndyDufresne
If you look, an 'auto-login' is on Lack's To-Do list. So be patient. ;)


--Andy

PostPosted: Fri Jul 07, 2006 11:46 pm
by Herakilla
yay! this would be great and save a lot of time! i can wait so i wont pressure lack for it :D

PostPosted: Fri Sep 08, 2006 4:16 pm
by EustaceLufgren
Other phpBB sites do the "remember me" feature that uses a cookie or something to log you in automatically. Examples include forum.northernbrewer.com. I would love for this to be implemented, my username is too bloody long, hehe.

PostPosted: Fri Sep 08, 2006 4:21 pm
by fighter1405
If you use Firefox you can tell it to remember your username and pass. That way you just have to click submit.

PostPosted: Fri Sep 08, 2006 4:41 pm
by AndyDufresne
It's on the 'To-Do' list, don't worry. ;)


--Andy

PostPosted: Fri Sep 08, 2006 6:01 pm
by reverend_kyle
fighter1405 wrote:If you use Firefox you can tell it to remember your username and pass. That way you just have to click submit.


troy has a greasemonkey that does that for you.

PostPosted: Fri Sep 22, 2006 8:40 am
by mingotta
The auto-login feature is on top of my wish-list! I hope to see it implemented soon!

PostPosted: Fri Sep 22, 2006 9:08 am
by superkarn
i don't use auto log in. used to, and forgot a bunch of my passwords :shock: so now i manually log in.

but i'll be happy with a longer auto-logout time :)

remember me button. (remember it)

PostPosted: Sat Sep 23, 2006 12:13 pm
by everyone
can we please have a remember me button so that every time we go on we have to type our passwords.

PostPosted: Sat Sep 23, 2006 12:26 pm
by hawkeye
Don't we always have to type our passwords :wink: . I get what you mean. This has been discussed. It's on the to-do list to make login time longer.

PostPosted: Sat Sep 23, 2006 12:56 pm
by ZawBanjito
Your browser doesn't do it for you? Mine does. Up Firefox!

PostPosted: Sat Sep 23, 2006 1:04 pm
by everyone
well how does yours do that?