Autologin as Standard

Guides & Snippets for phpBB3. Try the Snippets here and share Your own Snippets
There is no support here! Only Read Access!
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

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" />
Board rules! No PM support
User avatar
kevinviet
BBCoder III
BBCoder III
Posts: 123
Joined: 06 Mar 2010, 04:52

Re: Autologin as Standard

Post by kevinviet »

Thanks Stoker, I need this :D
User avatar
cesarguanaco2
BBCoder II
BBCoder II
Posts: 10
Joined: 01 Jul 2010, 00:37

Re: Autologin as Standard

Post by cesarguanaco2 »

thank you, this is a nice snippet.
[*]Where do you get all those amazing bbcodes?[*]
User avatar
Bullseye
BBCoder IV
BBCoder IV
Posts: 153
Joined: 02 Apr 2010, 20:49
Location: England

Re: Autologin as Standard

Post by Bullseye »

Just used it! Brilliant idea! :D
User avatar
Bullseye
BBCoder IV
BBCoder IV
Posts: 153
Joined: 02 Apr 2010, 20:49
Location: England

Re: Autologin as Standard

Post by Bullseye »

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


~John~
KukY13
BBCoder III
BBCoder III
Posts: 96
Joined: 26 Jun 2010, 16:23
Contact:

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.
Image
User avatar
Bullseye
BBCoder IV
BBCoder IV
Posts: 153
Joined: 02 Apr 2010, 20:49
Location: England

Re: Autologin as Standard

Post by Bullseye »

what file would I need to edit?
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 847
Joined: 05 Mar 2010, 01:10
BBCodes: 2000
Favourite BBCode: p**n tube
Favourite MOD: Non of Stokers

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
Steve wrote: 14 Nov 2024, 16:45 It's happy bastard day!
User avatar
Bullseye
BBCoder IV
BBCoder IV
Posts: 153
Joined: 02 Apr 2010, 20:49
Location: England

Re: Autologin as Standard

Post by Bullseye »

Cheers, I'll give that a go later... Image
User avatar
ahh72
BBCoder II
BBCoder II
Posts: 19
Joined: 26 Apr 2010, 19:36
Location: Germany
Contact:

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
- Forum URL: http://www.gamerhispano.com/foro
- Hosting: http://www.bluehost.com
- PhpBB Version: 3.0.7-PL1
- Style: SE Square Left (based on prosilver)
Locked