Guides & Snippets for phpBB3.
Try the Snippets here and share Your own Snippets
Post
by Stoker » 22 Jun 2010, 04:22
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" />
Post
by kevinviet » 22 Jun 2010, 06:51
Thanks Stoker, I need this
Post
by cesarguanaco2 » 01 Jul 2010, 01:48
thank you, this is a nice snippet.
Post
by Bullseye » 12 Jul 2010, 04:19
Just used it! Brilliant idea!
Post
by Bullseye » 12 Jul 2010, 16:38
Just wondering if there is one for the home page check box?
~John~
Post
by KukY13 » 12 Jul 2010, 16:40
The process of doing it is identical: you find the checkbox code and add
checked="checked" attribute.
Post
by Bullseye » 12 Jul 2010, 17:43
what file would I need to edit?
Post
by Steve » 12 Jul 2010, 17:51
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
Post
by Bullseye » 12 Jul 2010, 19:04
Cheers, I'll give that a go later...
Post
by ahh72 » 19 Jul 2010, 21:08
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