The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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"> 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> --------------- 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? |
#2
|
|||
|
|||
has anyone figured this out?
|
#3
|
|||
|
|||
This seems to work.
In header template find: Code:
<div> <input type="text" class="textbox<vb:if condition="!$username"> default-value</vb:if>" 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> <input type="text" class="textbox<vb:if condition="!$username"> default-value</vb:if>" 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> 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}; } 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}; } |
#4
|
|||
|
|||
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> |
Благодарность от: | ||
inigo |
#5
|
|||
|
|||
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.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|