MyBB Community Forums

Full Version: Emerald 1.6 Theme WelcomeBlock issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm having a small and minor issue with clicking the buttons in the welcome block on the Emerald 1.6 theme for MyBB.
These are the buttons I'm talking about:

[Image: 3a71ac1ee80f96fe6b4875271b0c4517.png]

The issue is, you have to click on the TEXT part of the button. You can't just click anywhere on the button because it doesn't work. I want to make it where you can click anywhere on the button and it will function. I've tried searching for hours and can't find a resolution myself.

Any help would be greatly appreciated, thanks.
Can you paste your header_welcomeblock_member templates here?
(2018-05-18, 04:32 AM)Rashan Wrote: [ -> ]Can you paste your header_welcomeblock_member templates here?

For sure!

Emerald Theme:
<script>
 var connected = 1;
</script>
{$admincplink}{$modcplink}

Default Theme:
<!-- Continuation of div(class="upper") as opened in the header template -->
	<span class="welcome">{$lang->welcome_back} <a href="{$mybb->settings['bburl']}/member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}" class="logout">{$lang->welcome_logout}</a></span>
	</div>
</div>
<div class="lower">
	<div class="wrapper">
		<ul class="menu panel_links">
			{$usercplink}
			{$modcplink}
			{$admincplink}
		</ul>
		<ul class="menu user_links">
			<li><a href="javascript:void(0)" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/misc.php?action=buddypopup&modal=1', null, true); return false;">{$lang->welcome_open_buddy_list}</a></li>
			{$searchlink}
			{$pmslink}
		</ul>
	</div>
	<br class="clear" />
</div>

Also my apologies if I don't reply fast. It's 12:39 AM here and I may fall asleep soon. But I'll try to reply as fast as I can.