vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Mini Mods - Remember me box automatically ticked vB 4.0.x INC vb 4.0 PL 1 (GOLD) (https://vborg.vbsupport.ru/showthread.php?t=231609)

Welshy2008 12-29-2009 10:00 PM

Remember me box automatically ticked vB 4.0.x INC vb 4.0 PL 1 (GOLD)
 
1 Attachment(s)
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:

Code:

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

Code:

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

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:

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" 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. :)


UPDATES:

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

Welshy2008 12-29-2009 10:50 PM

** Reserved **

Charlie98902 12-29-2009 11:08 PM

Installed :D

utahraves 12-30-2009 12:19 AM

I always recommend remember me for users that complain about being logged out after so many minutes while typing a thread... I even had the timeout set high but I've never had a problem when they tick the box... this should help them. :D

blake247 12-30-2009 03:55 AM

Installed.

Dr.osamA 12-30-2009 06:03 AM

Installed

thanxx man
________
Vl1500/t

Welshy2008 12-30-2009 10:12 AM

Quote:

Originally Posted by utahraves (Post 1942036)
I always recommend remember me for users that complain about being logged out after so many minutes while typing a thread... I even had the timeout set high but I've never had a problem when they tick the box... this should help them. :D


It certainly WILL. :D

voglermc 12-30-2009 04:36 PM

I used this and made the box hidden permanently

Welshy2008 12-30-2009 04:37 PM

Quote:

Originally Posted by voglermc (Post 1942662)
I used this and made the box hidden permanently


Interesting. :) Feel free to share how you did it - If you wish to. :D

voglermc 12-30-2009 04:46 PM

I added style="display:none;" and deleted the remember me code

Code:

<div id="remember" class="remember">
<label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" style="display:none;" value="1" tabindex="103" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" checked=checked"/></label>
</div>



All times are GMT. The time now is 11:00 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01290 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete