MyBB Community Forums

Full Version: Better Login or Welcome Block?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So I was trying to do a little research on better welcome blocks. To tell you one thing, I cannot.

I am trying to make it so that it only shows the login text box's. Here is what i got:

[Image: 7d0c92da67cf5fbd89ecf69bd88c13de.png]

I want to make it so it is only the login for user and pass and then the button.


Here is what i have in my templates:

<script type="text/javascript">
<!--
	lang.username = "{$login_username}";
	lang.password = "{$lang->login_password}";
	lang.login = "{$lang->login}";
	lang.lost_password = " &mdash; <a href=\"{$mybb->settings['bburl']}/member.php?action=lostpw\">{$lang->lost_password}<\/a>";
	lang.register_url = " &mdash; <a href=\"{$mybb->settings['bburl']}/member.php?action=register\">{$lang->welcome_register}<\/a>";
	lang.remember_me = "{$lang->remember_me}";
// -->
</script>

<div class="user_login"><span id="quick_login"><b><a href="{$mybb->settings['bburl']}/member.php?action=login" onclick="MyBB.quickLogin(); return false;">{$lang->welcome_login}</a> | <a href="{$mybb->settings['bburl']}/member.php?action=register">{$lang->welcome_register}</a></b></span></div>

Css:


.user_login{
   margin-right: 40px;
}



Try downloading a theme that has the functionality you are looking for. Here is an example. http://mods.mybb.com/view/minimal
(2014-04-19, 05:22 AM)Leefish Wrote: [ -> ]Try downloading a theme that has the functionality you are looking for. Here is an example. http://mods.mybb.com/view/minimal


Thanks! I'll take a look at the templates to see what i need! Thanks for the help once again! Smile