Automatic Log-In

Suggestions that have been archived.

Moderator: Community Team

RLeary06
Posts: 37
Joined: Wed Feb 08, 2006 8:47 pm

Automatic Log-In

Post 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.
User avatar
Marvaddin
Posts: 2545
Joined: Thu Feb 09, 2006 5:06 pm
Location: Belo Horizonte, Brazil

Post by Marvaddin »

The worst is the automatic log out after some minutes... Thats really irritating!! :evil: :evil: :evil:
User avatar
max is gr8
Posts: 3720
Joined: Sat Jan 21, 2006 6:44 am
Location: In a big ball of light sent from the future

Post by max is gr8 »

I agree wit u 2 as on most sites you can but maybe when ;lack gets more dosh
User avatar
Romber
Posts: 193
Joined: Sat Feb 25, 2006 10:52 pm
Gender: Male
Location: Michigan

Post 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.
I AM TEH RUST
User avatar
max is gr8
Posts: 3720
Joined: Sat Jan 21, 2006 6:44 am
Location: In a big ball of light sent from the future

Post by max is gr8 »

Mine doesn't do dat
User avatar
Risk_06
Posts: 159
Joined: Wed Jan 18, 2006 8:33 pm
Location: BC, Canada.
Contact:

Post 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:
Currently on vacation. Sorry.

Proud xiGAMES member!
http://xigames.net/forum
Click it! NOW!
User avatar
Romber
Posts: 193
Joined: Sat Feb 25, 2006 10:52 pm
Gender: Male
Location: Michigan

Post by Romber »

also it automatically logs you out after like 30 mins i think. But I dont mind :)
I AM TEH RUST
User avatar
max is gr8
Posts: 3720
Joined: Sat Jan 21, 2006 6:44 am
Location: In a big ball of light sent from the future

Post by max is gr8 »

I know isn't it annoying
User avatar
kingwaffles
Posts: 718
Joined: Mon Jan 23, 2006 9:05 am
Location: Pseudopolis Yard, Ankh Morpork, Discworld

Post by kingwaffles »

If you really want it to remember jsut tell your browser to do it, if your browser doesnt then get Firefox :).
Image
User avatar
Herakilla
Posts: 4283
Joined: Fri Jun 09, 2006 8:33 pm
Location: Wandering the world, spreading Conquerism

Log in

Post by Herakilla »

I hate having to log in over and over can't there be something like cookies and have it "remember" your comp?
Come join us in Live Chat!
User avatar
Jota
Posts: 634
Joined: Wed Mar 29, 2006 7:38 pm

Post by Jota »

I agree. That would be a great feature, both for the game and for the forum.
User avatar
AK_iceman
Posts: 5704
Joined: Wed May 10, 2006 10:39 pm

Post by AK_iceman »

get firefox and it will remember your username and password so all you have to do is click login
User avatar
Herakilla
Posts: 4283
Joined: Fri Jun 09, 2006 8:33 pm
Location: Wandering the world, spreading Conquerism

Post 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
Come join us in Live Chat!
User avatar
AndyDufresne
Posts: 24935
Joined: Fri Mar 03, 2006 8:22 pm
Location: A Banana Palm in Zihuatanejo
Contact:

Post by AndyDufresne »

If you look, an 'auto-login' is on Lack's To-Do list. So be patient. ;)


--Andy
User avatar
Herakilla
Posts: 4283
Joined: Fri Jun 09, 2006 8:33 pm
Location: Wandering the world, spreading Conquerism

Post by Herakilla »

yay! this would be great and save a lot of time! i can wait so i wont pressure lack for it :D
Come join us in Live Chat!
User avatar
EustaceLufgren
Posts: 1
Joined: Wed Aug 23, 2006 4:21 pm
Contact:

Post 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.
User avatar
fighter1405
Posts: 185
Joined: Mon Aug 21, 2006 4:49 am

Post by fighter1405 »

If you use Firefox you can tell it to remember your username and pass. That way you just have to click submit.
Image
You just have to accept that some days you're the pigeon and some days you're the statue
User avatar
AndyDufresne
Posts: 24935
Joined: Fri Mar 03, 2006 8:22 pm
Location: A Banana Palm in Zihuatanejo
Contact:

Post by AndyDufresne »

It's on the 'To-Do' list, don't worry. ;)


--Andy
User avatar
reverend_kyle
Posts: 9250
Joined: Tue Mar 21, 2006 4:08 pm
Location: 1000 post club
Contact:

Post 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.
DANCING MUSTARD FOR POOP IN '08!
mingotta
Posts: 8
Joined: Thu Jun 22, 2006 4:25 pm
Gender: Male

Post by mingotta »

The auto-login feature is on top of my wish-list! I hope to see it implemented soon!
User avatar
superkarn
Posts: 134
Joined: Mon Jul 17, 2006 10:11 am

Post 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 :)
User avatar
everyone
Posts: 23
Joined: Fri Sep 22, 2006 12:39 pm
Location: england

remember me button. (remember it)

Post by everyone »

can we please have a remember me button so that every time we go on we have to type our passwords.
r u being funny?
cos i dnt like funny
hawkeye
Posts: 2663
Joined: Fri Feb 24, 2006 12:19 am
Location: RAGGLE FRAGGLE!!!

Post 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.
User avatar
ZawBanjito
Posts: 379
Joined: Mon Jan 23, 2006 12:25 am
Location: Somewhere

Post by ZawBanjito »

Your browser doesn't do it for you? Mine does. Up Firefox!
User avatar
everyone
Posts: 23
Joined: Fri Sep 22, 2006 12:39 pm
Location: england

Post by everyone »

well how does yours do that?
r u being funny?
cos i dnt like funny
Post Reply

Return to “Archived Suggestions”