MyBB Community Forums

Full Version: Bug with quick login
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,
I just upgraded to the latest MyBB version. All thinks are working but i got a small problem.
So, quick's login 'Login' doesn't appear as a url.
It's clickable but my cursor's style is not style="cursor: pointer;" as supposed to be, like this [Image: CX7GV.gif].
It is style="cursor: text;" like this [Image: zXLx5.gif].
What I mean, check here:
[Image: KIe81.jpg]
Can you please post your website's URL?
http://community.mybb.com/thread-116161.html
I currently do not have an active site. I'll need to fix this and then find a host.Smile
OK, so could you please post all code of "header_welcomeblock_guest" template?
Here it is:
<script type="text/javascript">
<!--
	lang.username = "{$lang->login_username}";
	lang.password = "{$lang->login_password}";
	lang.login = "{$lang->login}";
	lang.lost_password = " <br /> &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="tborder" style="padding:0px; border-top-width:0px">
<ul id="menu_wrap" class="White">
<li class="button"><a href="{$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_help}</a></li>
<li class="button"><a href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_memberlist}</a></li>
<li class="button"><a href="{$mybb->settings['bburl']}/calendar.php">{$lang->toplinks_calendar}</a></li>
<li class="button"><a href="{$mybb->settings['bburl']}/search.php?action=getnew">{$lang->welcome_newposts}</a></li>
<li class="button"><a href="{$mybb->settings['bburl']}/search.php">{$lang->toplinks_search}</a></li>
<li class="button">
<a href="{$mybb->settings['bburl']}/search.php?action=getdaily">{$lang->welcome_todaysposts}</a></li>
</ul>
</div>

<table  border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>

<td class="trow2" width="50%"></td>
<td class="trow1" width="50%">
<center>
		<span id="quick_login">{$lang->welcome_guest}
<br />
(<a(<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></center>
</td>
</tr>
</tbody>
</table>
In the above code find;
(<a(<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></center>
and Change it into;
(<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></center>
Wow thanks, I didn't even notice this, after updating.
Thank you!
Solved.