(2013-08-14, 12:53 PM).m. Wrote: can you post the code from header_welcomeblock_member template (active theme)
yeah sure here it is m8
<script type="text/javascript"><!--
var d = new Date();
var n = d.getHours();
if (n < 4)
{
document.write("<b>Welcome! </b>");
}
else if (n < 10)
{
document.write("<b>Welcome! </b>");
}
else if (n < 16)
{
document.write("<b>Welcome! </b>");
}
else if (n < 20)
{
document.write("<b>Welcome! </b>");
}
else
{
document.write("<b>Welcome! </b>");
}
//-->
</script>
<a href="{$mybb->settings['bburl']}/usercp.php" id="usr_menu"><strong>{$mybb->user['username']}</a>|<a href="{$mybb->settings['bburl']}/search.php?action=getnew">{$lang->welcome_newposts}</a> | <a href="{$mybb->settings['bburl']}/search.php?action=getdaily">{$lang->welcome_todaysposts}</a>
<div id="usr_menu_popup" class="popup_menu" style="display: none;">
<div class="popup_item_container"><a href="{$mybb->settings['bburl']}/usercp.php" class="popup_item">{$lang->welcome_usercp}<myalerts_headericon>{$modcplink}{$admincplink}</a></div>
<div class="popup_item_container"><a href="{$mybb->settings['bburl']}/private.php" class="popup_item">Private Messages</a></div>
<div class="popup_item_container"><a href="{$mybb->settings['bburl']}/member.php?action=profile&uid={$mybb->user['uid']}" class="popup_item">Your Profile</a></div>
<div class="popup_item_container"><a href="search.php?action=finduserthreads&uid={$mybb->user['uid']}" class="popup_item">Your Threads</a></div>
<div class="popup_item_container"><a href="#" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/misc.php?action=buddypopup', 'buddyList', 350, 350);" class="popup_item">{$lang->welcome_open_buddy_list}</a></div>
<div class="popup_item_container"><a href="search.php?action=finduser&uid={$mybb->user['uid']}" class="popup_item">Your Posts</a></div>
<div class="popup_item_container"><a href="{$mybb->settings['bburl']}/member.php?action=logout&logoutkey={$mybb->user['logoutkey']}" class="popup_item">{$lang->welcome_logout}</a></div>
</div>
<script type="text/javascript">
// <!--
if(use_xmlhttprequest == "1")
{
new PopupMenu("usr_menu");
}
// -->
</script>
<span style="float: right;">{$lang->welcome_current_time}</span>
<br />
<span class="links">[/php]