vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   How to move the "remember me?" checkbox position (https://vborg.vbsupport.ru/showthread.php?t=243465)

InfoAddict 05-28-2010 11:46 AM

How to move the "remember me?" checkbox position
 
I found the answer once in the past, but for the life of me can't re-find it.

I'd like the move that "remember me?" area to the left of the login area, rather than below it.

Can anyone spare the code?

--------------- Added [DATE]1275061949[/DATE] at [TIME]1275061949[/TIME] ---------------

Managed to work it out myself. It's now on the far right of the very top bar.

Find:
Code:

<ul class="nouser">
Directly under it, dump:
Code:

<li><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></li>
Remove the other reference to the remember me checkbox by searching for "remember" and deleting it outright.

--------------- Added [DATE]1275062532[/DATE] at [TIME]1275062532[/TIME] ---------------

Actually, that doesn't seem to work. "Remember me" doesn't remember me anymore. :/

Anyone have the answer?

--------------- Added [DATE]1275094880[/DATE] at [TIME]1275094880[/TIME] ---------------

Still no luck here. Any suggestions?

tonmo 01-16-2011 03:54 PM

has anyone figured this out?

Infopro 04-19-2011 03:47 PM

This seems to work.

In header template find:

Code:

<div>
<input type="text" class="textbox<vb:if condition="!$username"> default-value</vb:if>"

Change it to:

Code:

<div id="remember" class="remember">
                                        <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> &nbsp;
<input type="text" class="textbox<vb:if condition="!$username"> default-value</vb:if>"

Down below that find:

Code:

<div id="remember" class="remember">
                                        <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>
                                </div>

Change it to:

Code:

<!-- <div id="remember" class="remember">
                                        <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>
                                </div> -->


In vbulletin-chrome.css find:

Code:

.toplinks .remember {
        margin: -{vb:math {vb:stylevar padding}/3} 0 0 {vb:math {vb:stylevar padding}*2}; 
        font-size: {vb:math {vb:stylevar font.fontSize}-3}px;
        color: {vb:stylevar toplinks_text};
}

Change to:

Code:

.toplinks .remember {
        margin: -{vb:math {vb:stylevar navbar_padding}/3} 0 0 {vb:math {vb:stylevar navbar_padding}*2}; 
        font-size: {vb:math {vb:stylevar font.fontSize}-3}px;
        color: {vb:stylevar toplinks_text};
}

Works fine so far.

SkyStryder 05-18-2011 07:07 PM

There should be a selection in AdminCp to turn this whole
remember thing on and off. We have a multi server site
so we always need cookies. I had to modify the templates
to set the cookie but turn off the display.

This is an example that removes the display and sets the cookie:
Code:

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


tonmo 08-02-2011 12:59 AM

1 Attachment(s)
I can't figure out why my "save" button is so off. Any ideas on how to get it back in line? I reviewed versions of the "header" template and can't see any difference.


All times are GMT. The time now is 01:13 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.01047 seconds
  • Memory Usage 1,726KB
  • 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
  • (9)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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