• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Hidden "Remember Me" and submit as ticked box.

Admin

Well-Known Member
Staff member
Administrator
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.
 

Facebook Comments

New posts New threads New resources

Back
Top