• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

TW7S - Change the look of the Login/Register in header

Admin

Well-Known Member
Staff member
Administrator
Before
tuoitrevnbiz11042013.png

After
tuoitrevnbiz11042013.png

Click Here for Live preview.

Installation:
  • Upload images
  • Perform template edits below

-----------------------------------------------------
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:
<input type="text" class="textbox default-value" 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>" onfocus="if (this.value == '<vb:if condition="$username">{vb:raw username}<vb:else />{vb:rawphrase username}</vb:if>'){this.value=''; this.style.color='black';}" onblur="if (this.value == '') {this.value='<vb:if condition="$username">{vb:raw username}<vb:else />{vb:rawphrase username}</vb:if>'; this.style.color='#828282';}"/>
					<input type="password" class="textbox default-value" name="vb_login_password" id="navbar_password" size="10" tabindex="102" onfocus="this.style.color='black';" />
					<input type="submit" class="loginbutton" value="{vb:rawphrase log_in}" tabindex="104" 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" tabindex="103" id="cb_cookieuser_navbar" class="cb_cookieuser_navbar" accesskey="c" /> {vb:rawphrase remember_me}</label>
				</div>
			
				<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
				<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
				<input type="hidden" name="do" value="login" />
				<input type="hidden" name="vb_login_md5password" />
				<input type="hidden" name="vb_login_md5password_utf" />
			</form>	
		</vb:if>
	</div>


Replace With:
PHP:
<style type="text/css">
.toplinks form img {
        position:relative;  
        top: 3px;        
} 
</style>

<img src="./images/icons/username.png" alt="Username" />

					

<input id="navbar_username" class="bginput" type="text" onblur="if (this.value == '') this.value = 'Username';" onfocus="if (this.value == 'Username') this.value = '';" value="Username" tabindex="101" accesskey="u" size="10" name="vb_login_username" style="font-size: 11px;"/>

<img src="./images/icons/password.png" alt="Password" />

					<input id="navbar_password" class="bginput" type="password" onblur="if (this.value == '') this.value = '';" onfocus="if (this.value == 'Password') this.value = '';" value="Password" tabindex="102" accesskey="u" size="10" name="vb_login_password" style="font-size: 11px;/>


					

<label for="cb_cookieuser_navbar">
<input id="cb_cookieuser_navbar" type="checkbox" accesskey="c" tabindex="103" value="1" name="cookieuser"/>
</label>
				

					<input type="submit" class="loginbutton" value="Login" tabindex="104" title="{vb:rawphrase enter_username_to_login_or_register}" accesskey="s" />
						</div>
					</div>
				</fieldset>


				
			
				<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />


				<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
				<input type="hidden" name="do" value="login" />
				<input type="hidden" name="vb_login_md5password" />
				<input type="hidden" name="vb_login_md5password_utf" />
			</form>	
		</vb:if>
	</div>

Save your changes

To have the "Remember Me" box always checked:

Find:
PHP:
<input id="cb_cookieuser_navbar" type="checkbox" accesskey="c" tabindex="103" value="1" name="cookieuser"/>


Replace With:
PHP:
<input id="cb_cookieuser_navbar" type="checkbox" accesskey="c" tabindex="103" value="1" name="cookieuser" checked="checked"/>
Download tuoitreit.vn_New-Login-Box.zip (3.8 kb)
 

Facebook Comments

Similar threads
Thread starter Title Forum Replies Date
Admin TW7S - Change the look of "Last Post" by Vbb tutorial 0
Admin TW7S - Remove Legend and Permissions Boxes from FORUMHOME FORUMDISPLAY and SHOWTHREAD Style vbb 0
Admin TW7S - Remove "Reply with Quote" and Multi-Quote from first post in thread Add-ons 0
Admin TW7S - Remove "Reply with Quote" and Multi-Quote from first post in thread Add-ons 2
Admin Change the height of the cke text editor vBulletin Vbulletin 0
Admin [JoyFreak] Change forum_list title and H1 only Xenforo 0
Admin [OzzModz]/[Kirby] Filtered User Change Log Xenforo 0
Admin [ITD] Change User Online Indicator Icon & Color Xenforo 0
Admin Hướng dẫn đổi tên ứng dụng android hiển thị trên màn hình xamarin forms - Change app name on main screen Android, iOS 0
N Auto Change IP Vip72 SQL injection 1
N Auto Change IP Vip72 SQL injection 0
T Git: Undo change in working directory and staging area Tin tức CNTT 0
Admin Hướng dẫn thay biểu tượng chuyên mục với ảnh xenforo 2.x - How to change Node Icons to Images xenforo 2.x Xenforo 0
Admin Hướng dẫn đổi màu thanh tiêu đề, thanh tác vụ, viền windows 10 - change color title bar, taskbar, border windo Sử dụng, chia sẻ, hỏi đáp 0
rockymen9999 [vn5socks.com] change to [www.vn5socks.net] Good socks1h50 PM Tut, tool, mmo 1
rockymen9999 [vn5socks.com] change to [www.vn5socks.net] Good socks 4h50 PM Tut, tool, mmo 0
rockymen9999 Share [vn5socks.com] change to [www.vn5socks.net] Good socks 1h45 PM Tut, tool, mmo 1
rockymen9999 Share [vn5socks.com] change to [www.vn5socks.net] Good socks 10h30 AM Tut, tool, mmo 0
rockymen9999 Share Vn5socks.com change to www.vn5socks.net ! Thank you 12h10 AM Tut, tool, mmo 0
Admin Change threadrow color on mouseover Vbb tutorial 0
Admin Prevent Email Address Change For Vbb Add-ons 0
Admin Change Cursor for your forum 4.x Vbb tutorial 0
Admin Change username 1.2.0 Xenforo 1
Admin [DBTech] Username Change v1 (vB4) Add-ons 0
Admin Change CODE and PHP tags design Add-ons 0
Admin Change quotation design Add-ons 0
Admin Hướng dẫn gửi mail change key domain tại melbourneit Hosting / Domain 4
Admin Forum Home Subscribe Image Change Add-ons 0
Admin Change Thread Title Color for Specific Forums on Homepage Add-ons 0
Admin Change Title of Podcast Add-ons 0
Admin Change Background Color for Specific Forums on Homepage Add-ons 0
Admin Brivium - Change Threads/Posts Owner 1.0.0 Xenforo 0
L Hướng dẫn Làm như thế nào change skin vbb? Vbulletin 1
M A Thang change dns giùm em Hosting & Domain Share 6
Admin Change Author And Creation Date Of Posts (Thay đổi tác giả và thời gian post bài) Add-ons 0
Admin How to change the (What's Going On?) box to100% in forumhome Add-ons 0
Admin Change link color only in post and/or cms articles Add-ons 0
Admin Change Threads/Posts Owner/Date for vB4 Add-ons 0
Admin Change Author And Creation Date Of Posts And Articles Add-ons 0
Admin Share video tut change pass 2 zing Hacking 0
A Code scam auto change pass Ý tưởng, góp ý, sáng kiến mới của thành viên 8
C Wp-login V0.1 Tut, tool, mmo 0
Admin [OzzModz] Login By Country Log Xenforo 0
Admin Yilmaz - Login or Sign Up Module VB5 Add-ons 0
Admin [OzzModz] Remove Register Button From Login Form Xenforo 0
H Share Chức năng Login with Facebook Ver 1 Wap builder, wapego, xtgem, wen.ru, wapka, wap4 0
T Hỏi Cách Tích Hợp Login FB Cho Site PHP 5
Admin Temporary Passwords by BOP5 (Allow admins to login as any user without user password) Add-ons 0
Admin Microsoft bổ sung hàm Facebook Login APIs cho các lập trình viên Windows 8 và Windows Phone 8 Tin tức CNTT 0
Admin [OzzModz] Log Failed Login Add-ons 0

Similar threads

New posts New threads New resources

Back
Top