vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Forum Home Enhancements - UKBL ~ Quality Drop Down Menu System (https://vborg.vbsupport.ru/showthread.php?t=203521)

ArnyVee 04-04-2009 11:33 PM

How do I get my vBadvanced working with the same menu? I'm sure it's easy, but just haven't found where to edit. ;)

t.uzuner 04-05-2009 08:22 PM

good job but very adulterated. i want this modification to xml

ArnyVee 04-09-2009 12:53 AM

Anyone know where to adjust the 'padding' between the links on the main menu portion? They are a little too spread out so it breaks on smaller resolutions. :(

Any ideas?

theparentpack 04-09-2009 03:08 AM

I have this installed and have removed the vB navbar completely. Now when I have any notifications other than private messages I cannot click on the Your Notifications link. Also, I cannot do a search when in the Member List. When I try to click on either one it does nothing at all. Any way to correct this issue?

ArnyVee 04-09-2009 09:32 PM

Quote:

Originally Posted by theparentpack (Post 1787060)
I have this installed and have removed the vB navbar completely. Now when I have any notifications other than private messages I cannot click on the Your Notifications link. Also, I cannot do a search when in the Member List. When I try to click on either one it does nothing at all. Any way to correct this issue?

Same issue here :(

But, if I find the answer I'll share it here. So, please let me know if you find the answer as well.

I have a feeling it has to do with something that is coded into the navigation bar that the dropdown information is listed into. I haven't had a chance to look at it, but if you find out, please share! :D

Theater 04-09-2009 10:11 PM

The navbar template contains more than just the navigational links. If you wipe it completely out you're also removing the Notice condition and more; like the Ad Location call for the ad_navbar_below template for example.

You'll need to use some basic coding search skills to see where what you want to remove begins and where it ends. For example if you just want to take off the bar below the breadcrumb navigation and login/member box, you would look at the template code and find:

Code:

<!-- nav buttons bar -->
then search down and find:

Code:

<!-- / nav buttons bar -->
..and snip out everything between.

I would recommend reverting your navbar template back to default. Copy the code to Notepad so you can have a better view of the whole template, snip out carefully what you don't want, and paste in what's left into the template in the AdminCP page and Save.

[high]* Theater takes the twitchy bunny and flees...[/high]

ArnyVee 04-10-2009 01:01 AM

Thanks Theater. We had the answer about removing the navbar (correctly) using this thread's info....

https://vborg.vbsupport.ru/showthread.php?t=179238&

....but, we are now looking to reclaim the "lost" function of the link working on the private messages within the login box. Any idea as to how we can get that back and working?

Theater 04-10-2009 02:20 AM

By chance do you have this line:

Code:

<if condition="$show['popups']">
..right before this here still?

Code:

<!-- PAGENAV POPUP -->

PM me your navbar template and I'll have a look if you want.

ArnyVee 04-10-2009 02:46 AM

Quote:

Originally Posted by Theater (Post 1787878)
By chance do you have this line:

Code:

<if condition="$show['popups']">
..right before this here still?

Code:

<!-- PAGENAV POPUP -->

PM me your navbar template and I'll have a look if you want.

Yes, those show up in the navbar template.

PM sent with template. Thanks for your help! :D

Theater 04-10-2009 03:07 AM

I narrowed it down to this code you're missing:

Code:

<if condition="$show['member'] AND    $notifications_total">
<!-- notifications menu -->
<div class="vbmenu_popup" id="notifications_menu" style="display:none">
    <table cellpadding="4" cellspacing="1" border="0">
    <tr><td class="thead" colspan="2">$vbphrase[your_notifications]</td></tr>
    $notifications_menubits
    </table>
</div>
<!-- / notifications menu -->
</if>

Entire template with it:

Code:

<br />

<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
    <td class="altbg" width="100%">
        &nbsp;
    </td>
<!--<UKBL Iframe Ticker Start>----------------------------------------------------------------------->

<td class="altbgcolor">
<div align="right">
<!--For full source code and more DHTML scripts, visit http://www.dynamicdrive.com-->
<!--This credit MUST stay intact for use-->
<iframe id="tickermain" src="http://waltdisneyboards.com/exfile.htm" width=200 height=90 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no></iframe>
</DIV>
</td>
<!--<UKBL Iframe Ticker End>----------------------------------------------------------------------->
<td class="altbgcolor">
<a href="http://www.waltdisneyboards.com/external.php?type=rss2"><img src="http://www.waltdisneyboards.com/images/misc/feed-icon.gif" border="0" alt="WDB News Feed" />
<if condition="$show['member']">
    <td class="altbgcolor" nowrap="nowrap">
    <div class="smallfont">
        <strong><phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong><br />
        <phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>

        <if condition="$show['notifications'] AND $show['popups']">
            <div><span id="notifications"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a> <strong>$notifications_total</strong></span></div>
            <script type="text/javascript"> vBmenu.register("notifications"); </script>
        <else /><if condition="$show['pmstats']">
            <div><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></div>
        </if></if>

        <if condition="$show['pmwarning']"><div><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></div></if>
<if condition="$show['navbar_credits']">
            <div>$vbphrase[credits]</a>: <strong><span id="navbar_credits">$GLOBALS[navbar_credits]</span></strong> [<a href="credits.php?$session[sessionurl]do=banking">$vbphrase[check]</a>]<if condition="$show['credits_purchase']"> [<a href="credits.php?$session[sessionurl]do=manage#purchase">$vbphrase[purchase]</a>]</if></div>
        </if>
    </div>
    </td>
<else />
    <td class="altbgcolor" nowrap="nowrap" style="padding:0px">
        <!-- login form -->
        <form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
        <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
        <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
        <tr>
            <td class="smallfont" style="white-space: nowrap;"><label for="navbar_username">$vbphrase[username]</label></td>
            <td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
            <td class="smallfont" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" checked="checked" />$vbphrase[remember_me]</label></td>
        </tr>
        <tr>
            <td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td>
            <td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
            <td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
        </tr>
        </table>
        <input type="hidden" name="s" value="$session[sessionhash]" />
        <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
        <input type="hidden" name="do" value="login" />
        <input type="hidden" name="vb_login_md5password" />
        <input type="hidden" name="vb_login_md5password_utf" />
        </form>
        <!-- / login form -->
</if>
</tr>
</table>
<!-- / breadcrumb, login, pm info -->

<br />
$vbnews_ticker
<br />
<if condition="$show['notices']">
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
        <td class="thead">$vbphrase[notices]</td>
    </tr>
    <tr>
        <td class="alt1">$notices</td>
    </tr>
    </table>
    <br />
</if>

<if condition="$show['forumdesc']">
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
        <td class="alt1" width="100%"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td>
    </tr>
    </table>
    <br />
</if>

<if condition="$show['popups']">

<!-- 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>

<if condition="$show['member'] AND    $notifications_total">
<!-- notifications menu -->
<div class="vbmenu_popup" id="notifications_menu" style="display:none">
    <table cellpadding="4" cellspacing="1" border="0">
    <tr><td class="thead" colspan="2">$vbphrase[your_notifications]</td></tr>
    $notifications_menubits
    </table>
</div>
<!-- / notifications menu -->
</if>

$ad_location[ad_navbar_below]
$welcomeheaders

Try that out on your board. :)


All times are GMT. The time now is 09:35 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02153 seconds
  • Memory Usage 1,800KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete