MyBB Community Forums

Full Version: Move the login button?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
hey, i want to move the login button on my forum to a different place on the layout, when signed in it needs to say log out. How would i do this?

Thanks.
Forum URL?
It's currently on localhost until i get it finished.
Login button is available in header_welcomeblock_guests template. Remove it there and place where you want to show (within) this template.
So how exactly would i move the login button to this top bar

[Image: 9DId]
post here your header_welcomeblock_guests code
<script type="text/javascript">
<!--
	lang.username = "{$lang->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>
<span style="float: right;">{$lang->welcome_current_time}</span>
		<span id="quick_login">{$lang->welcome_guest} (<a href="{$mybb->settings['bburl']}/member.php?action=login" onclick="MyBB.quickLogin(); return false;">{$lang->welcome_login}</a> &mdash; <a href="{$mybb->settings['bburl']}/member.php?action=register">{$lang->welcome_register}</a>)</span>
add this to ur header
<a href="{$mybb->settings['bburl']}/member.php?action=login"> login</a>
(2011-11-30, 03:49 PM)mohdows Wrote: [ -> ]add this to ur header
<a href="{$mybb->settings['bburl']}/member.php?action=login"> login</a>

But when they are logged in will this still say log in?
No, because he told you to add it to your guests welcome block Smile
Pages: 1 2