![]() |
Hidden "Remember Me" and submit as ticked box.
1 Attachment(s)
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. |
Thanks for sharing. I know some people will enjoy this alteration. :)
|
This is a usefull mod. Thanks.
|
Great addition to the functionality range here at vB.org..
Installed and much appreciated..............:up: |
Thanks.. bro
|
Thank you ;)
|
Thanks for the mod. I have a custom style and had to make some changes. This code I put together worked best for my custom style.
Code:
<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> /> |
All times are GMT. The time now is 04:56 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|