2008-11-28, 10:44 PM
I am looking for help making a proper login field on my board 1.4.3
This is the login on the board when you first visit the index
This is what you get after clicking on the login link
What i would like is to get rid of that first part.
Just have the login field only when you view the index page to log in.. the second one.
I was looking at the index_loginform template
Is this where its done? Is so, can you tell me whats needed to do this?
Browsers seam to remember login info much better when having the login box only.
See here http://www.et-buzz.com/community/index.php
Thanks guys
I think i found whats needed on my friends 1.2 board.
He has a template called loginbox
This is what he has at the footer of his index
This is perfect, i just need to add that at the top of my board.
Will adding that loginbox template he has somewhere in my theme do it?
If so.. how?
Thanks
Is this a tough one? ..hehe
Still needing help from someone on this.
This is the login on the board when you first visit the index
This is what you get after clicking on the login link
What i would like is to get rid of that first part.
Just have the login field only when you view the index page to log in.. the second one.
I was looking at the index_loginform template
<br /><br />
<form action="member.php" method="post">
<input type="hidden" name="action" value="do_login" />
<span class="smalltext"><strong>{$lang->quick_login}</strong></span>
<input type="text" class="textbox" name="username" title="{$lang->login_username}" value="{$lang->login_username}" onfocus="if(this.value == '{$lang->login_username}') { this.value=''; }" onblur="if(this.value=='') { this.value='{$lang->login_username}'; }" />
<input type="password" class="textbox" name="password" title="{$lang->login_password}" value="{$lang->login_password}" onfocus="if(this.value == '{$lang->login_password}') { this.value=''; }" onblur="if(this.value=='') { this.value='{$lang->login_password}'; }" />
{$gobutton}
</form>
Is this where its done? Is so, can you tell me whats needed to do this?
Browsers seam to remember login info much better when having the login box only.
See here http://www.et-buzz.com/community/index.php
Thanks guys
I think i found whats needed on my friends 1.2 board.
He has a template called loginbox
<tr>
<td class="trow2"><strong>{$lang->username}</strong></td>
<td class="trow2"><input type="text" class="textbox" name="username" size="30" value="{$username}" /></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->password}</strong></td>
<td class="trow1"><input type="password" class="textbox" name="password" size="30" value="{$password}" /></td>
</tr>
This is what he has at the footer of his index
This is perfect, i just need to add that at the top of my board.
Will adding that loginbox template he has somewhere in my theme do it?
If so.. how?
Thanks
Is this a tough one? ..hehe
Still needing help from someone on this.