Page 1 of 2

Autologin as Standard

Posted: 22 Jun 2010, 06:22
by Stoker
Autologin as Standard
Written by Stoker

When users are logging in to your phpBB3 board, the checkbox for automatic login is not checked.
This snippet will make sure that the checkbox is checked automatically.

open styles/prosilver/template/login_body.html
Find:

Code: Select all

<input type="checkbox" name="autologin" id="autologin" tabindex="4" />
Replace with:

Code: Select all

<input type="checkbox" name="autologin" id="autologin" tabindex="4" checked="checked" />

Re: Autologin as Standard

Posted: 22 Jun 2010, 08:51
by kevinviet
Thanks Stoker, I need this :D

Re: Autologin as Standard

Posted: 01 Jul 2010, 03:48
by cesarguanaco2
thank you, this is a nice snippet.

Re: Autologin as Standard

Posted: 12 Jul 2010, 06:19
by Bullseye
Just used it! Brilliant idea! :D

Re: Autologin as Standard

Posted: 12 Jul 2010, 18:38
by Bullseye
Just wondering if there is one for the home page check box?


~John~

Re: Autologin as Standard

Posted: 12 Jul 2010, 18:40
by KukY13
Bullseye ยป 12 Jul 2010, 18:38 wrote:Just wondering if there is one for the home page check box?


~John~
The process of doing it is identical: you find the checkbox code and add checked="checked" attribute.

Re: Autologin as Standard

Posted: 12 Jul 2010, 19:43
by Bullseye
what file would I need to edit?

Re: Autologin as Standard

Posted: 12 Jul 2010, 19:51
by Steve
youl find it in the index_body.html.
If uou want todo it for a few more auto check login boxes look in login_body.html and login_forum.html

Re: Autologin as Standard

Posted: 12 Jul 2010, 21:04
by Bullseye
Cheers, I'll give that a go later... Image

Re: Autologin as Standard

Posted: 19 Jul 2010, 23:08
by ahh72
hi, i have a question, the modification applies only to this part:
image1.png
what file do i have to edit to apply in this part:
image2.png
thanks in advance