Resource icon

"Stay Logged In" checked by default (XenForo v1.0.x and 1.1.x)

Vincent

Well-known member
VincentU submitted a new resource:

"Stay Logged In" checked by default (version 1.0) - This checks the "Stay Logged In" checkbox by default

Hello, this is very simple, but yet useful modification :D

It makes the 'Stay logged in' checkbox be checked as default ;)


Do the following for the checkbox in the login bar:
Find in template: login_bar_form:
PHP:
                        <label for="ctrl_remember" class="rememberPassword"><input type="checkbox" name="remember" value="1" id="ctrl_remember" tabindex="104" /> {xen:phrase stay_logged_in}</label>

Replace with:
PHP:
...

Read more about this resource...
 
Just FYI this is working with XenForo 1.2 as well:) I just realised now, that this was meant to be for 1.0.x and 1.1.x but worked well for me for 1.2.x ;)
 
Top Bottom