Not Solved help with template change
#1
Not Solved
hi ive installed my alerts on my forum and it works great but as im not using the default theme the alerts tab can only be seen if a user clicks on there username as the alerts tab is in the dropdown list (see pic) but how do i get it to show on the nav bar as it does on the default theme say next to the username

my theme
[Image: customshot_zps2d01045f.png]
default theme
[Image: standard_zpsf245d052.png]

i know i need to edit the header template but dont know what to edit
please someone release a script to downgrade from 1.8 to 1.6 
Reply
#2
Not Solved
can you post the code from header_welcomeblock_member template (active theme)
Reply
#3
Not Solved
(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&amp;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]
please someone release a script to downgrade from 1.8 to 1.6 
Reply
#4
Not Solved
you can move <myalerts_headericon> out of usr_menu_popup div element

that is , you can cut <myalerts_headericon> and paste it after below code
<a href="{$mybb->settings['bburl']}/usercp.php" id="usr_menu"><strong>{$mybb->user['username']}</a>
Reply
#5
Not Solved
(2013-08-14, 01:18 PM).m. Wrote: you can move <myalerts_headericon> out of usr_menu_popup div element

that is , you can cut <myalerts_headericon> and paste it after below code
<a href="{$mybb->settings['bburl']}/usercp.php" id="usr_menu"><strong>{$mybb->user['username']}</a>

thanks thats great

1 more thing how can i get it to say notifications instead of my alerts ?

sorted it now
please someone release a script to downgrade from 1.8 to 1.6 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)