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 - Hidden "Remember Me" and submit as ticked box. (https://vborg.vbsupport.ru/showthread.php?t=302934)

syrus.xl 10-02-2013 10:00 PM

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

tbworld 10-03-2013 09:54 PM

Thanks for sharing. I know some people will enjoy this alteration. :)

MoreLinux 10-05-2013 06:49 AM

This is a usefull mod. Thanks.

DemOnstar 10-05-2013 11:57 AM

Great addition to the functionality range here at vB.org..

Installed and much appreciated..............:up:

ellovo 10-07-2013 12:06 AM

Thanks.. bro

john7911 10-31-2013 02:56 PM

Thank you ;)

1320Nation 11-28-2013 08:36 AM

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 02:02 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
  • Page Generation 0.01151 seconds
  • Memory Usage 1,718KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete