Move login from bottom to top

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Scam Warning
Locked
delux247
Registered User
Posts: 25
Joined: Tue Aug 05, 2008 8:44 pm

Move login from bottom to top

Post by delux247 » Wed Aug 06, 2008 9:00 pm

Hello all, I am using subsilver and I would like to know how I can move the login from the bottom to the top of the page. I have searched this and could only find information on how to do it for prosilver. Thanks for the help.

User avatar
Thatbitextra
Former Team Member
Posts: 7604
Joined: Mon Mar 21, 2005 5:04 am
Location: A place where something is or could be located; a site.
Contact:

Re: Move login from bottom to top

Post by Thatbitextra » Wed Aug 06, 2008 9:14 pm

In index_body.html, move this higher up:

Code: Select all

<!-- IF not S_USER_LOGGED_IN -->
	<br clear="all" />

	<form method="post" action="{S_LOGIN_ACTION}">
	
	<table class="tablebg" width="100%" cellspacing="1">
	<tr>
		<td class="cat"><h4><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></h4></td>
	</tr>
	<tr>
		<td class="row1" align="center"><span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" name="username" size="10" />&nbsp; <span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" name="password" size="10" />&nbsp; <!-- IF S_AUTOLOGIN_ENABLED --> <span class="gensmall">{L_LOG_ME_IN}</span> <input type="checkbox" class="radio" name="autologin" /><!-- ENDIF -->&nbsp; <input type="submit" class="btnmain" name="login" value="{L_LOGIN}" /></td>
	</tr>
	</table>
	{S_FORM_TOKEN}
	</form>
<!-- ENDIF -->
Styles KB
My MODs: Choose Who to Accept PMs From (Prevents unwanted PMs!) | Warn of Old Topic Before Posting Reply
Style: subBlack (Now updated to phpBB 2.0.22 and 5 new color schemes!)

User avatar
ChaosBurnt
Registered User
Posts: 194
Joined: Fri May 25, 2007 12:33 pm
Location: London, UK

Re: Move login from bottom to top

Post by ChaosBurnt » Wed Aug 06, 2008 9:16 pm

Open index_body.html

Find and move:

Code: Select all

<!-- IF not S_USER_LOGGED_IN -->
	<br clear="all" />

	<form method="post" action="{S_LOGIN_ACTION}">
	
	<table class="tablebg" width="100%" cellspacing="1">
	<tr>
		<td class="cat"><h4><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></h4></td>
	</tr>
	<tr>
		<td class="row1" align="center"><span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" name="username" size="10" />&nbsp; <span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" name="password" size="10" />&nbsp; <!-- IF S_AUTOLOGIN_ENABLED --> <span class="gensmall">{L_LOG_ME_IN}</span> <input type="checkbox" class="radio" name="autologin" /><!-- ENDIF -->&nbsp; <input type="submit" class="btnmain" name="login" value="{L_LOGIN}" /></td>
	</tr>
	</table>
	{S_FORM_TOKEN}
	</form>
<!-- ENDIF -->

to above this:

Code: Select all

<!-- INCLUDE forumlist_body.html -->
For everyone's information, the templates I provided are back under the copyright property of the original designer, EidolonHades.

delux247
Registered User
Posts: 25
Joined: Tue Aug 05, 2008 8:44 pm

Re: Move login from bottom to top

Post by delux247 » Thu Aug 07, 2008 6:39 pm

Great! It worked :D Now the next question is how can I get the text smaller?

User avatar
Raimon
Former Team Member
Posts: 12088
Joined: Tue May 30, 2006 5:31 pm
Location: Netherlands
Name: Raimon Meuldijk
Contact:

Re: Move login from bottom to top

Post by Raimon » Thu Aug 07, 2008 6:59 pm

Which text do you mean ?
Need phpBB installation, extenstions, Styles or integrate phpBB with you website?
Contact me for fair prices and good service!

Locked

Return to “[3.0.x] Styles Support & Discussion”

Who is online

Users browsing this forum: No registered users and 8 guests