Hidden "Remember Me" and submit as ticked box.
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> 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> 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. |