Announcement

Collapse
No announcement yet.

Blog menu on navbar

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • napy8gen
    replied
    It is not shown up because this is a custom navbar put inside the header.
    All pop up will shown no problem except you must add manually your blog link.

    $template_hook[navbar_buttons_left]
    <td class="nav"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
    <td class="nav" ><a id="vbbloglinks" href="blog.php$session[sessionurl_q]">$vbphrase[blogs]</a><script type="text/javascript">vbmenu_register("vbbloglinks");</script></td>
    add the following red code.

    Leave a comment:


  • mkernel
    replied
    It doesn't appear that you have any of the popup code in that template.

    I didn't look really close, but it doesn't appear that you call to an outside file for this code. Code from the template navbar is what's missing - and this is, more or less, the code that I think is missing:

    Code:
    <if condition="$show['popups']">
    <!-- NAVBAR POPUP MENUS -->
    
        <if condition="$show['communitylink']">
        <!-- community link menu -->
        <div class="vbmenu_popup" id="community_menu" style="display:none;margin-top:-360px" align="$stylevar[left]">
            <table cellpadding="4" cellspacing="1" border="0">
            <tr><td class="thead">$vbphrase[community_links]</td></tr>
            $template_hook[navbar_community_menu_start]
            <if condition="$show['quick_links_groups']">
                        <tr><td class="vbmenu_option"><a href="group.php$session[sessionurl_q]">$vbphrase[social_groups]</a></td></tr>
            </if>
            <if condition="$show['quick_links_albums']">
                        <tr><td class="vbmenu_option"><a href="album.php$session[sessionurl_q]">$vbphrase[pictures_and_albums]</a></td></tr>
            </if>
            <if condition="$bbuserinfo['userid']">
                <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=buddylist"><if condition="$show['friends_and_contacts']">$vbphrase[contacts_and_friends]<else />$vbphrase[contacts]</if></a></td></tr>
            </if>
            <if condition="$show['memberslist']">
                <tr><td class="vbmenu_option"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td></tr>
            </if>
            $template_hook[navbar_community_menu_end]
            </table>
        </div>
        <!-- / community link menu -->
        </if>
        
    
        
        <if condition="$show['member']">
        <!-- user cp tools menu -->
        <div class="vbmenu_popup" id="usercptools_menu" style="display:none;margin-top:-360px" align="$stylevar[left]">
            <table cellpadding="4" cellspacing="1" border="0">
    
            <tr><td class="thead">$vbphrase[quick_links]</td></tr>
            <if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>
            <tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
            <tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_contacts]</a></td></tr>
            $template_hook[navbar_quick_links_menu_pos1]
            $template_hook[navbar_quick_links_menu_pos2]
    
            <tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
            <if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
            <!--<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>-->
            <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_your_details]</a></td></tr>
            <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
            $template_hook[navbar_quick_links_menu_pos3]
    
            <tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
            <if condition="$show['pmmainlink']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>
            <tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">$vbphrase[subscribed_threads]</a></td></tr>
            <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[your_profile]</a></td></tr>
            <if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
            $template_hook[navbar_quick_links_menu_pos4]
    
            </table>
        </div>
        <!-- / user cp tools menu -->
    
        </if>
    <!-- / NAVBAR POPUP MENUS -->
    
    <!-- PAGENAV POPUP -->
        <div class="vbmenu_popup" id="pagenav_menu" style="display:none">
            <table cellpadding="4" cellspacing="1" border="0">
            <tr>
                <td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
            </tr>
            <tr>
                <td class="vbmenu_option" title="nohilite">
                <form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
                    <input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
                    <input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
                </form>
                </td>
            </tr>
            </table>
        </div>
    <!-- / PAGENAV POPUP -->
    </if>
    Bear in mind that that's code from my site, where I had to adjust the margins on the popups quite a bit to get them to open where they should - if you copy and paste you may get popups in weird places.

    Leave a comment:


  • GregS
    started a topic Blog menu on navbar

    Blog menu on navbar

    I've installed my blog and all has gone well except that the blog menu drop down that is supposed to be next to "FAQ" doesn't show.

    This is my header code;

    <!-- vB Skin Zone - Seasons 3.7.0 - 1.0.0 -->
    <!-- logo -->
    <a name="top"></a>
    <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
    <tr>

    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td><a href="/discussion/index.php"><img border="0" src="http://www.maximum-jackson.com/discussion/styles/seasons/banner/blueo2.jpg" alt="" /></a></td>
    <td width="100%" style="background: url(http://www.maximum-jackson.com/discu...ner/middle.jpg) repeat-x;"></td>
    <td><a href="http://www.maximum-jackson.com/discussion/forumdisplay.php?f=40"> <img border="0" src="http://www.maximum-jackson.com/discussion/styles/seasons/banner/blueo22_2.jpg" alt=""></a></td>
    </tr>
    </table>
    </tr>
    <!-!>
    <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
    <tr>
    <td align="$stylevar[left]" width="80%">&nbsp;</td>
    <td align="$stylevar[right]" id="header_right_cell" valign="bottom">
    <if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
    <br />
    <!-- nav buttons bar -->
    <div class="nav_container">
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
    <tr align="center">
    <td class="nav_left" width="10px"></td>
    <!-- portal link (seasons)-->
    <!-- forum link (seasons)-->
    <if condition="$show['member']">
    <td class="nav"><a href="$vboptions[bburl]/usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
    </if>
    <if condition="$show['registerbutton']">
    <td class="nav"><a href="$vboptions[bburl]/register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
    </if>
    <!-- projects link (seasons)-->
    <!-- blog link (seasons)-->
    $template_hook[navbar_buttons_left]
    <td class="nav"><a href="$vboptions[bburl]/faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
    <if condition="$show['communitylink'] AND $show['popups']">
    <td class="nav"><a id="community" href="$show[nojs_link]#community" rel="nofollow" accesskey="6">$vbphrase[community]</a> <script type="text/javascript"> vbmenu_register("community"); </script></td>
    <else />
    <if condition="$vboptions['enablememberlist']">
    <td class="nav"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
    </if>
    <if condition="$show['quick_links_groups']">
    <td class="nav"><a href="group.php?$session[sessionurl]">$vbphrase[social_groups]</a></td>
    </if>
    </if>
    <td class="nav"><a href="$vboptions[bburl]/arcade.php?$session[sessionurl_q]">Arcade</a></td>
    <td class="nav"><a href="$vboptions[bburl]/rules.php$session[sessionurl_q]">Rules and Guidelines</a></td>
    <td class="nav"><a href="$vboptions[bburl]/calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
    <if condition="$show['popups']">
    <if condition="$show['searchbuttons']">
    <if condition="$show['member']">
    <td class="nav"><a href="$vboptions[bburl]/search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
    <else />
    <td class="nav"><a href="$vboptions[bburl]/search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
    </if>
    <td id="navbar_search" class="nav"><a href="$vboptions[bburl]/search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
    </if>
    <if condition="$show['member']">
    <td id="usercptools" class="nav"><a href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
    </if>
    <else />
    <if condition="$show['searchbuttons']">
    <td class="nav"><a href="$vboptions[bburl]/search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
    <if condition="$show['member']">
    <td class="nav"><a href="$vboptions[bburl]/search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
    <else />
    <td class="nav"><a href="$vboptions[bburl]/search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
    </if>
    </if>
    <td class="nav"><a href="$vboptions[bburl]/forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
    <if condition="$show['member']">
    <td class="nav"><a href="#" onclick="window.open('$vboptions[bburl]/misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,r esizable=yes,width=250,height=300'); return false;">$vbphrase[open_contacts]</a></td>
    </if>
    </if>
    $template_hook[navbar_buttons_right]
    <if condition="$show['member']">
    <td class="nav"><a href="$vboptions[bburl]/login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
    </if>
    <td class="nav_right" width="10px"></td>
    </tr>
    </table>
    </div>
    <!-- / nav buttons bar -->
    </td>
    </tr>
    </table>
    <!-- /logo -->

    <!-- content table -->
    $spacer_open
    <div class="pb_lside"><div class="pb_rside">
    <img src="$stylevar[imgdir_misc]/crn_tl.gif" width="18" height="81" alt="" style="float:left;" />
    <img src="$stylevar[imgdir_misc]/crn_tr.gif" width="18" height="81" alt="" style="float:right;" />
    <div class="forum_container">
    $_phpinclude_output

    $ad_location[ad_header_end]
    Can anyone see any problems as to why my blog menu doesn't show? Thank you!
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X