PDA

View Full Version : Remember me box automatically ticked



admin
07-03-2010, 07:27 PM
Default Check 'Remember Me'

What does this do?

This small template modification will make the 'Remember Me' checkbox automatically checked.

Instructions:

Admin Control Panel -> Styles & Templates -> Style Manager -> The Style that you Use (mine is Default Style) -> << >> -> header

FIND:

<label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" /> {vb:rawphrase remember_me}</label>

REPLACE WITH:

<label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" checked=checked"/> {vb:rawphrase remember_me}</label>

ON vB 4.0.1:

FIND:

<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:

<label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" tabindex="103" checked=checked"/> {vb:rawphrase remember_me}</label>

SAVE

And - Job Done!

Please Click Install if you use this.

Only recommended for private Computers!

** Worth mentioning that if your members do use a public computer (a shared pc; such as in a Internet Cafe or Library etc). They should remember to untick the box; Manually, Also clear the cookies.

Use or Don't use - it's there for you to choose. http://www.vbulletin.org/forum/images/smilies/smile.gif

UPDATES:

** 18/01/2010 - Updated Code for vB 4.0.1 Version

Screen Shot:
http://img.photo.zing.vn/file_uploads/gallery/1024x768/2010/03/07/07/70941267964831.gifhttp://img.photo.zing.vn/file_uploads/gallery/1024x768/2010/03/07/07/92321267964853.gif