Autologin as Standard

Guides & Snippets for phpBB3.
Try the Snippets here and share Your own Snippets

Autologin as Standard

Post 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

Post by kevinviet »

Thanks Stoker, I need this :D

Re: Autologin as Standard

Post by cesarguanaco2 »

thank you, this is a nice snippet.

Re: Autologin as Standard

Post by Bullseye »

Just used it! Brilliant idea! :D

Re: Autologin as Standard

Post by Bullseye »

Just wondering if there is one for the home page check box?


~John~

Re: Autologin as Standard

Post 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

Post by Bullseye »

what file would I need to edit?

Re: Autologin as Standard

Post 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

Post by Bullseye »

Cheers, I'll give that a go later... Image

Re: Autologin as Standard

Post 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