The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
TW7S - Change the look of the Login/Register in header Details »» | |||||||||||||||||||||||||||||
TW7S - Change the look of the Login/Register in header
Developer Last Online: Apr 2015
Before
After Click Here for Live preview. Installation:
----------------------------------------------------- vB 4.0.1 Fix Those of you who performed this mod on 4.0.0 and have upgraded to 4.0.1, all you have to do is revert the header template and perform the edits again. For some reason when the templates were merged with the new code it messed up the links when logged in. ----------------------------------------------------- Open header template Find: PHP Code:
Replace With: PHP Code:
To have the "Remember Me" box always checked: Find: PHP Code:
Replace With: PHP Code:
Download Now
Show Your Support
|
Благодарность от: | ||
SaN-DeeP |
Comments |
#122
|
||||
|
||||
Here is all I did:
Find this: Code:
<div> <div> <input type="text" class="textbox" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="<vb:if condition="$username">{vb:raw username}<vb:else />{vb:rawphrase username}</vb:if>" /> <input type="text" class="textbox default-value" tabindex="102" name="vb_login_password_hint" id="navbar_password_hint" size="10" value="{vb:rawphrase password}" style="display:none;" /> <input type="password" class="textbox" tabindex="102" name="vb_login_password" id="navbar_password" size="10" /> <input type="submit" class="loginbutton" tabindex="104" value="{vb:rawphrase log_in}" title="{vb:rawphrase enter_username_to_login_or_register}" accesskey="s" /> </div> </div> </fieldset> <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> <div> <input type="text" class="textbox" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="<vb:if condition="$username">{vb:raw username}<vb:else />{vb:rawphrase username}</vb:if>" /> <input type="text" class="textbox default-value" tabindex="102" name="vb_login_password_hint" id="navbar_password_hint" size="10" value="{vb:rawphrase password}" style="display:none;" /> <input type="password" class="textbox" tabindex="102" name="vb_login_password" id="navbar_password" size="10" /> <input type="submit" class="loginbutton" tabindex="104" value="{vb:rawphrase log_in}" title="{vb:rawphrase enter_username_to_login_or_register}" accesskey="s" /> <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> </div> </fieldset> |
#123
|
|||
|
|||
I have made some minor changes to how this is done on my own site so it works nicely with vB403
Put this in the additional css template Code:
.toplinks form img { position:relative; top: 5px; } Code:
<fieldset id="logindetails" class="logindetails"> <div> <div> <input type="text" class="textbox" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="<vb:if condition="$username">{vb:raw username}<vb:else />{vb:rawphrase username}</vb:if>" /> <input type="text" class="textbox default-value" tabindex="102" name="vb_login_password_hint" id="navbar_password_hint" size="10" value="{vb:rawphrase password}" style="display:none;" /> <input type="password" class="textbox" tabindex="102" name="vb_login_password" id="navbar_password" size="10" /> <input type="submit" class="loginbutton" tabindex="104" value="{vb:rawphrase log_in}" title="{vb:rawphrase enter_username_to_login_or_register}" accesskey="s" /> </div> </div> </fieldset> <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:
<fieldset id="logindetails" class="logindetails"> <div> <div> <img src="{vb:stylevar imgdir_icons}/username.png" alt="Username" /> <input type="text" class="textbox" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="<vb:if condition="$username">{vb:raw username}<vb:else />{vb:rawphrase username}</vb:if>" /> <img src="{vb:stylevar imgdir_icons}/password.png" alt="Password" /> <input type="text" class="textbox default-value" tabindex="102" name="vb_login_password_hint" id="navbar_password_hint" size="10" value="{vb:rawphrase password}" style="display:none;" /> <input type="password" class="textbox" tabindex="102" name="vb_login_password" id="navbar_password" size="10" /> <input type="submit" class="loginbutton" tabindex="104" value="{vb:rawphrase log_in}" title="{vb:rawphrase enter_username_to_login_or_register}" accesskey="s" /> <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> </div> </fieldset> If you have trouble see the word login in some styles and would like a very quick fix for that then make this change: In the header replacement code FIND: Code:
<input type="submit" class="loginbutton" Code:
<input type="submit" class="loginbutton" style="color:#000000" |
#124
|
|||
|
|||
Wasn't there the code from TW7S new login too?
WOuld be nice if u cpuld share this too. |
#125
|
|||
|
|||
yeah this doesnt work with 4.0.3, or at least the instructions dont (the header code is different)
|
#126
|
|||
|
|||
AliceHoward: How could I get 'remember me' always checked in your above code?
|
#127
|
|||
|
|||
Can anyone tell me how to fix this?
|
#128
|
||||
|
||||
<a href="https://vborg.vbsupport.ru/showpost.php?p=2023624&postcount=122" target="_blank">https://vborg.vbsupport.ru/showp...&postcount=122</a> - this version works great.
|
#129
|
||||
|
||||
shitballs, this removed my banners somehow, even though the code is there still
EDIT: Just had to re-save the advertisement in the ad manager and it fixed it. |
#130
|
|||
|
|||
Quote:
How can i do that all as one "Line" and how to add "forgot Password"? |
#131
|
||||
|
||||
Not working for me Tried everything, version is 4.0.3 PL1
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|