Make Remember Me Checked by Default

@halilesen · 21 Apr 2024 · 680 views
Post Reply
User avatar
halilesen
#1 ·
Posts: 57
Joined: 24 Mar 2024, 18:09
Full Name: Halil ESEN
Has liked: 12
Been liked: 9
Do you want the Remember Me option to be selected by default on the login page of your phpBB forum? I'll show you how. I will present two different ways to do this.

Let's start with the first method I use. This requires editing the template file. Open the /template/login_body.html file of your style and find:

Code: Select all

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

Code: Select all

<input type="checkbox" name="autologin" id="autologin" tabindex="4" checked="checked" />
Save the changes. Here we added checked="checked" to input and made remember me selected by default.

Second way is to install an extension. Download the extension developed by _Vinny_ on phpBB.com, which adds JS code to the style to make Remember Me selected:

remember_me_checked_default_1.0.0.zip
(7.77 KiB) Downloaded 98 times

Upload the file to the /ext folder and extract it. Then just enable it from ACP.
Post Reply
  • Similar Topics