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
![]() 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 |
#172
|
||||
|
||||
![]()
Has anybody tried it in 4.0.6 thanks
|
#173
|
|||
|
|||
![]() Quote:
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> <style type="text/css"> .toplinks form img { position:relative; top: 4px; } </style> <img src="images/misc/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="images/misc/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;" /> <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" /> </label> <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" checked="checked" /> {vb:rawphrase remember_me}</label> </div> And you get that: ![]() Enjoy ![]() |
#174
|
|||
|
|||
![]()
i would also like to use this mod if i can have the remember me box checked by default and hidden so users dont have the choice to uncheck it
|
#175
|
||||
|
||||
![]()
This should remove the 'Remember Me' text, check the box as checked and also hide the checkbox. I haven't tried it, just altered the code to suit.
PHP Code:
|
#176
|
|||
|
|||
![]()
could you show me how to do it with the original vb code , without icons.
Quote:
|
#177
|
||||
|
||||
![]()
Sure, here you go...
PHP Code:
|
#178
|
|||
|
|||
![]()
this keeps the checkbox right next to the password feild, checked, and when u click the password feild to type in ur password it moves the check box right next to the username feild in between the two
Quote:
|
#179
|
||||
|
||||
![]()
Try this... I haven't got access at the moment to a vB4 installation, due to doing a large vB migration in progress, so I cannot check this works. The other code was wrong, I noticed I had defined the 'Remember Me' twice, with both having having different variable set.
PHP Code:
|
#180
|
|||
|
|||
![]()
that didnt work either, it just removed the register button, everything else stayed the same
|
#181
|
|||
|
|||
![]()
Thanks, but changing code as instructed, I get BOTH boxes now appearing, including the original one without the description?
![]() Se pic .. Regards, Badger |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|