Some templates in the Forum have the login area towards the bottom of the Forum's main page. This loggin Form won't work.
Well, I've fixed it (imagine that... 8O ). For Nuke6.0 running phpBBport 2.0.6
If you wish to fix your template, do the following.
open
modules/Forums/templates/YourTemplate/index_body.tpl
You should have some sort of code like this or similar.
Your main concern would be everything between the <form> tags.
|
Code:
|
<form method="post" action="{S_LOGIN_ACTION}">
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="28"><a name="login"></a><span class="cattitle">{L_LOGIN_LOGOUT}</span></td>
</tr>
<tr>
<td class="row1" align="center" valign="middle" height="28"><span class="gensmall">{L_USERNAME}:
<input class="post" type="text" name="username" size="10" />
{L_PASSWORD}:
<input class="post" type="password" name="password" size="10" />
{L_AUTO_LOGIN}
<input class="text" type="checkbox" name="autologin" />
<input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
</span> </td>
</tr>
</table>
</form> |
change it to this
|
Code:
|
<form method="post" action="modules.php?name=Your_Account">
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="28"><a name="login"></a><span class="cattitle">{L_LOGIN_LOGOUT}</span></td>
</tr>
<tr>
<td class="row1" align="center" valign="middle" height="28"><span class="gensmall">{L_USERNAME}:
<input class="post" type="text" name="uname" size="10" />
{L_PASSWORD}:
<input class="post" type="password" name="pass" size="10" />
<input type="hidden" name="op" value="login">
<input type="submit" class="mainoption" name="login" value="login" />
</span> </td>
</tr>
</table>
</form> |
Now when you try to loggin from the Login option in your Forums Loggin Form, you'll see the correct results...
mikem