Auto Login checked

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Ideas Centre
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
Rhine_
Registered User
Posts: 127
Joined: Sat Mar 15, 2008 4:45 pm

Auto Login checked

Post by Rhine_ »

How do make so The Login Automatic box is checked automaticly when someone logins in.?
User avatar
John P
Registered User
Posts: 1237
Joined: Mon Jan 21, 2008 3:55 pm
Location: Netherlands
Name: John
Contact:

Re: Auto Login checked

Post by John P »

Put a checked="checked" entry in the checkbox of autologin.
Image
Webhosting, Custom MODs, Technical management, MOD installation and Webdesign
Rhine_
Registered User
Posts: 127
Joined: Sat Mar 15, 2008 4:45 pm

Re: Auto Login checked

Post by Rhine_ »

Ive tried that but it doesnt work.
User avatar
John P
Registered User
Posts: 1237
Joined: Mon Jan 21, 2008 3:55 pm
Location: Netherlands
Name: John
Contact:

Re: Auto Login checked

Post by John P »

Clear the cache first
Image
Webhosting, Custom MODs, Technical management, MOD installation and Webdesign
User avatar
Jaymie1989
Registered User
Posts: 1991
Joined: Thu Aug 02, 2007 5:21 pm
Name: Jaymie

Re: Auto Login checked

Post by Jaymie1989 »

In you index_body.html

You will have this

Code: Select all

<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
	<form method="post" action="{S_LOGIN_ACTION}" class="headerspace">
	<h3><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a>&nbsp; &bull; &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a></h3>
		<fieldset class="quick-login">
			<label for="username">{L_USERNAME}:</label>&nbsp;<input type="text" name="username" id="username" size="10" class="inputbox" title="{L_USERNAME}" />  
			<label for="password">{L_PASSWORD}:</label>&nbsp;<input type="password" name="password" id="password" size="10" class="inputbox" title="{L_PASSWORD}" />
			<!-- IF S_AUTOLOGIN_ENABLED -->
				| <label for="autologin">{L_LOG_ME_IN} <input type="checkbox" name="autologin" id="autologin" /></label>
			<!-- ENDIF -->
			<input type="submit" name="login" value="{L_LOGIN}" class="button2" />
		</fieldset>
	</form>
<!-- ENDIF -->
Replace it with this

Code: Select all

<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
	<form method="post" action="{S_LOGIN_ACTION}" class="headerspace">
	<h3><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a>&nbsp; &bull; &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a></h3>
		<fieldset class="quick-login">
			<label for="username">{L_USERNAME}:</label>&nbsp;<input type="text" name="username" id="username" size="10" class="inputbox" title="{L_USERNAME}" />  
			<label for="password">{L_PASSWORD}:</label>&nbsp;<input type="password" name="password" id="password" size="10" class="inputbox" title="{L_PASSWORD}" />
			<!-- IF S_AUTOLOGIN_ENABLED -->
				| <label for="autologin">{L_LOG_ME_IN} <input name="autologin" type="checkbox" id="autologin" checked="checked" />
				</label>
			<!-- ENDIF -->
			<input type="submit" name="login" value="{L_LOGIN}" class="button2" />
		</fieldset>
	</form>
<!-- ENDIF -->
Dear creators of Sesame Street,
Kids are still fat. Can I come back now?
Sincerely, Cookie Monster.

View my MODs - Need phpBB help with MODs and Styles? Take a look at my phpBB3 services
Rhine_
Registered User
Posts: 127
Joined: Sat Mar 15, 2008 4:45 pm

Re: Auto Login checked

Post by Rhine_ »

still doesnt work.
User avatar
pentapenguin
Former Team Member
Posts: 11030
Joined: Thu Jul 01, 2004 4:15 am
Location: GA, USA

Re: Auto Login checked

Post by pentapenguin »

Is the box just not checked or is it just not there at all?
Support Resources: Support Request Template
If you need professional assistance with your board, please contact me for my reasonable rates.
Rhine_
Registered User
Posts: 127
Joined: Sat Mar 15, 2008 4:45 pm

Re: Auto Login checked

Post by Rhine_ »

the boxed isnt checked, I want it checked automatic.
User avatar
Jaymie1989
Registered User
Posts: 1991
Joined: Thu Aug 02, 2007 5:21 pm
Name: Jaymie

Re: Auto Login checked

Post by Jaymie1989 »

Rhine_ wrote:the boxed isnt checked, I want it checked automatic.
I gave you the instructions for that, Im my first post.
Dear creators of Sesame Street,
Kids are still fat. Can I come back now?
Sincerely, Cookie Monster.

View my MODs - Need phpBB help with MODs and Styles? Take a look at my phpBB3 services
Locked

Return to “[3.0.x] Support Forum”