2011-08-16, 02:13 AM
Hello... i have MyBB Forum (pramesti.com)
I Just change my header_welcomeblock_guest from :
<input type="hidden" name="action" value="do_login" />
to :
<input type="hidden" name="action" value="login" />
Because if i use do_login, when member login, it always back to index.php, why?
When i change the value to "login", when member login, they always login twice (also in member.php), why? But user back to page that they login from.
This is my full header_welcomeblock_guest :
Need support and suggestion, and thanks for help...
I Just change my header_welcomeblock_guest from :
<input type="hidden" name="action" value="do_login" />
to :
<input type="hidden" name="action" value="login" />
Because if i use do_login, when member login, it always back to index.php, why?
When i change the value to "login", when member login, they always login twice (also in member.php), why? But user back to page that they login from.
This is my full header_welcomeblock_guest :
<div class="pramestilogin">
<form action="member.php" method="post" class="form">
{$fbconnect}
<input type="text" class="InputLogin" name="username" size="25" maxlength="{$mybb->settings['maxnamelength']}" style="width: 100px;"
onblur="if(this.value=='')this.value=' USERNAME';" onfocus="if(this.value==' USERNAME')this.value='';" value=" USERNAME"/>
<input type="password" class="InputLogin" name="password" size="25" style="width: 100px;"
onblur="if(this.value=='')this.value=' PASSWORD';" onfocus="if(this.value==' PASSWORD')this.value='';" value=" PASSWORD"/>
<input type="submit" class="bluebutton" name="submit" value="{$lang->login}" />
<input type="hidden" name="action" value="login" />
<input type="hidden" name="url" value="{$url}" />
<a href="{$mybb->settings['bburl']}/member.php?action=register"><img src="img/tregister.png" alt="Register/Daftar/SignUp"></a>
<a href="{$mybb->settings['bburl']}/member.php?action=lostpw"><img src="img/tforget.png" alt="Forget/Lupa Password?"></a>
</form>
</div>
Need support and suggestion, and thanks for help...