Back to vBulletin 4.x Template Modifications

Hidden "Remember Me" and submit as ticked box.
Mod Version: 1.00, by syrus.xl

vB Version: 4.2.1 Rating: (3 votes - 5.00 average) Installs: 20
Released: 04 Oct 2013 Last Update: Never Downloads: 0
Not Supported Template Edits Code Changes Re-usable Code Translations  

Hidden "Remember Me" and Submit as a ticked box.
vBulletin 4.2.1 & above.

A simple template change that will remove the "Remember Me" text and the associated tick box. Upon login the code hides both of functions, but will submit automatically the 'Remember Me' box as ticked. It uses a simple code change and one additional parameter to check the box.

Installation:
Login to your AdminCP -> Styles & Templates -> Style Manager -> Edit Options -> Edit Templates -> header template

Find:
Code:
<label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" tabindex="103" /> {vb:rawphrase remember_me}</label>
Replace with this code:
Code:
<label for="cb_cookieuser_navbar"><input type="hidden" name="cookieuser" value="1" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" tabindex="103" checked="checked"/> <vb:comment>{vb:rawphrase remember_me}</vb:comment></label>
How it works...
All we have done is changed the input type to hidden, added the checked parameter and commented out the Remember Me phrase using vBulletins own comment system.

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024