MyBB Community Forums

Full Version: get quick login function?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How to get the quick login function in mybb? (a simple source code of it.) I want to add this quick login in every post.
Quick login on every post?? what does it mean?

When a guest (who is allowed to post in a forum) visits New reply pages, he will be able to login from there. Therefore I do not think its necessary to add quick login there.
actually, I want to put this, as guests are not allowed to post, and sometimes some one will not find the login or register button at the top of the form,
so far i found this code:
		<span id="quick_login"><a href="{$mybb->settings['bburl']}/member.php?action=login" onclick="MyBB.quickLogin(); return false;">Login </a> &mdash; <a href="{$mybb->settings['bburl']}/member.php?action=register">Register</a></span>


Is this code is okay?