MyBB Community Forums

Full Version: Quick Login like VB
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi!!
How are you?
I have a question,
I am creating a login box like vBulletin instead of mybb.quicklogin.
but I have a problem, How can I send current url to mybb login system (member.php)??? I added that code to my <form>::
<input type="hidden" name="url" value="{$redirect_url}" />
but it doesn't work ...
Any body can help me??
Thanks ..
try to add the action bit also

<input type="submit" class="button" name="submit" value="{$lang->welcome_login}" /></span>
<input type="hidden" name="action" value="do_login" />


<input type="hidden" name="url" value="{$redirect_url}" />
What?
I added these recently, my problem is with
<input type="hidden" name="url" value="{$redirect_url}" /> 
You mean a button that automatically login the user when Pressed.?