MyBB Community Forums

Full Version: Quacktacular (Ajax) Login Broken
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I edited the header of my forum to make it more relevant, I changed it from the original code to:
<div class="upper_panel">
<span class="float_right"><a href="http://kashmirforums.co.cc"><img src="http://kashmirforums.co.cc/board/images/home.png"/> Home</a><a href="http://aalaw-kashmircalls.org"><img src="http://kashmirforums.co.cc/board/images/aalaw.png" alt="" title=""/> Aalaw</a><a href="http://frontlinekashmir.com"><img src="http://kashmirforums.co.cc/board/images/fk.png" alt="" title=""/> Frontline Kashmir</a></span>
	
<!--
	lang.username = "{$lang->login_username}";
	lang.password = "{$lang->login_password}";
	lang.login = "{$lang->login}";
	lang.lost_password = " <a href=\"{$mybb->settings['bburl']}/member.php?action=lostpw\" class=\"login\">{$lang->lost_password}<\/a>";
	lang.register_url = " <a href=\"{$mybb->settings['bburl']}/member.php?action=register\" class=\"register\">{$lang->welcome_register}<\/a>";
	lang.remember_me = "{$lang->remember_me}";
// -->
</script>
<div id="ql_condense"><span id="quick_login">{$lang->welcome_guest} <a href="{$mybb->settings['bburl']}/member.php?action=login" onclick="MyBB.quickLogin(); return false;" class="login">{$lang->welcome_login}</a><a href="{$mybb->settings['bburl']}/member.php?action=register" class="register">{$lang->welcome_register}</a></span></div>
</div>
<div class="middle_panel mp_round" onclick="location.href='{$mybb->settings['bburl']}';">
      <h1 class="ts_round"  id="thetitle"><a href="{$mybb->settings['bburl']}">{$mybb->settings['bbname']}</a></h1>
</div>

I only changed the first few lines and didn't touch the rest of it. Now, if I click the AJAX "Login" button, I get the following instead of "Login" and "Remember Me":

[Image: undef.png]

This is going to be a pain in the backside for newer users, and it makes the forum look bad. I want to release this forum to the public soon, and this makes the deadline seem even harder to reach.

I would really, really appreciate some help.
Go to: ACP > Templates > Your theme templates > Header Templates > header_welcomeblock_guests > and find;

lang.remember_me

it should be properly written like ;

	lang.remember_me = "{$lang->remember_me}";
It's already:

lang.remember_me = "{$lang->remember_me}";

The code I posted in the first post is of the changes I made to header_welcomeblock_guest

Can anybody help me out with this please?
Any help here?
Come on guys, I would really appreciate some help as a new-person to MyBB!