vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v3.0 Support > Troubleshooting & Problems

Reply
 
Thread Tools Display Modes
  #1  
Old 01-06-2008, 10:00 AM
FreDy FreDy is offline
Junior Member
 
Join Date: May 2004
Posts: 12
Default navbar ok, but problems with search submenu

Hello,

I've upgraded to vBadvanced CMPS 3.0 and all works fine except the sub-menus that appears in homepage when you click in "Search" or "Quick Links" that submenu doesn't appear... all others links in navbar are OK, but these menus doesn't appear...

When I go into forum pages these menus work fine, so it may be any problem with vBadvanced installation or upgrade

Can anybody help me?

Thanks in advance
Reply With Quote
  #2  
Old 01-06-2008, 10:09 AM
ttnb ttnb is offline
Senior Member
 
Join Date: Sep 2004
Posts: 451
Default Re: navbar ok, but problems with search submenu

I think you have double navbar or some java that conflicts with the search and quicklink.
Reply With Quote
  #3  
Old 01-06-2008, 10:53 AM
FreDy FreDy is offline
Junior Member
 
Join Date: May 2004
Posts: 12
Default Re: navbar ok, but problems with search submenu

A have a double navbar, but before update all works fine, and in the forum's pages all works fine...
Reply With Quote
  #4  
Old 01-06-2008, 10:54 AM
FreDy FreDy is offline
Junior Member
 
Join Date: May 2004
Posts: 12
Default Re: navbar ok, but problems with search submenu

You can test the problem in

http://www.ojodigital.com

If you go to http://www.ojodigital.com/foro works fine

PD. You must be registered to test the problem
Reply With Quote
  #5  
Old 01-07-2008, 11:43 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: navbar ok, but problems with search submenu

Do you have a test account I could login with so I can see the menus?
Reply With Quote
  #6  
Old 01-12-2008, 03:32 PM
FreDy FreDy is offline
Junior Member
 
Join Date: May 2004
Posts: 12
Default Re: navbar ok, but problems with search submenu

Sorry... I haven't been at home past week, the test acount:

Username: test
Password: 1234

Thanks in advance
Reply With Quote
  #7  
Old 01-13-2008, 10:43 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: navbar ok, but problems with search submenu

From what I can tell, it looks like you've moved the links that are typically in the 'navbar' template to the 'header' template, but not the code for the menus. Since you have the navbar disabled on the CMPS, that code is never called. If you edit your navbar template and move the code for those menus to the header template, that should take care of the issue.
Reply With Quote
  #8  
Old 01-13-2008, 11:37 AM
FreDy FreDy is offline
Junior Member
 
Join Date: May 2004
Posts: 12
Default Re: navbar ok, but problems with search submenu

I'll try to correct it... thanks
Reply With Quote
  #9  
Old 01-16-2008, 05:34 AM
sfnet sfnet is offline
Senior Member
 
Join Date: Jan 2008
Posts: 156
Default Re: navbar ok, but problems with search submenu

I am having the same problem. I moved everything from the navbar template between the "nav buttons bar" comments to the header template. Now my Search and Quick Links no longer work.

Here is what is in my nav buttons bar code in the template:

PHP Code:
<!-- nav buttons bar -->
<
table cellpadding="$stylevar[cellpadding]cellspacing="0" width="1050px" align="center" style="border-bottom:4px solid #000000;">
<
tr align="center">
    <if 
condition="$show['member']">
        <
td  class="vbmenu_control2"></td>
    </if>
    <if 
condition="$show['registerbutton']">
        <
td class="vbmenu_control2"><a href="$vboptions[bburl]/register.php$session[sessionurl_q]rel="nofollow">$vbphrase[register]</a></td>
    </if>
    
$template_hook[navbar_buttons_left]
        <
td class="vbmenu_control2"></td>
    <
td class="vbmenu_control2"></td>
    <if 
condition="$show['popups']">        
        <if 
condition="$show['searchbuttons']">
            <if 
condition="$show['member']">
            <
td class="vbmenu_control2"><a href="$vboptions[bburl]/search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
            <else />
            <
td class="vbmenu_control2"><a href="$vboptions[bburl]/search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
            </if>
            <
td id="navbar_search" class="vbmenu_control2"><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="vbmenu_control2"><a href="$vboptions[bburl]/$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="vbmenu_control2"><a href="$vboptions[bburl]/search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
            <if condition="$show['member']">
            <td class="vbmenu_control2"><a href="$vboptions[bburl]/search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
            <else />
            <td class="vbmenu_control2"><a href="$vboptions[bburl]/search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
            </if>
        </if>
        <td class="vbmenu_control2"><a href="$vboptions[bburl]/forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
        <if condition="$show['member']">            
            <td class="vbmenu_control2"><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,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>            
        </if>            
    </if>
    $template_hook[navbar_buttons_right]
    
</tr>
</table>
<!-- / nav buttons bar --> 
Reply With Quote
  #10  
Old 01-16-2008, 05:37 AM
sfnet sfnet is offline
Senior Member
 
Join Date: Jan 2008
Posts: 156
Default Re: navbar ok, but problems with search submenu

Scratch that.

For anyone else that experiences this problem, you need to also move this code into the header template or your equivalent between the "navbar popup menu" comments:

PHP Code:
<if condition="$show['popups']">
<!-- 
NAVBAR POPUP MENUS -->
    
    <if 
condition="$show['searchbuttons']">
    <!-- 
header quick search form -->
    <
div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
        <
table cellpadding="4" cellspacing="1" border="0">
        <
tr>
            <
td class="thead">$vbphrase[search_forums]</td>
        </
tr>
        <
tr>
            <
td class="vbmenu_option" title="nohilite">
                <
form action="search.php?do=process" method="post">
                    <
input type="hidden" name="do" value="process" />
                    <
input type="hidden" name="quicksearch" value="1" />
                    <
input type="hidden" name="childforums" value="1" />
                    <
input type="hidden" name="exactname" value="1" />
                    <
input type="hidden" name="s" value="$session[sessionhash]/>
                    <
div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]tabindex="1004" /></div>
                    <
div style="margin-top:$stylevar[cellpadding]px">
                        <
label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
                        &
nbsp;
                        <
label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
                    </
div>                    
                </
form>
            </
td>
        </
tr>
        <
tr>
            <
td class="vbmenu_option"><a href="search.php$session[sessionurl_q]accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
        </
tr>
        
$template_hook[navbar_search_menu]
        </
table>
    </
div>
    <!-- / 
header quick search form -->
    </if>

    <if 
condition="$show['member']">
    <!-- 
user cp tools menu -->
    <
div class="vbmenu_popup" id="usercptools_menu" style="display:none">
        <
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_buddy_list]</a></td></tr>
        
$template_hook[navbar_quick_links_menu_pos1]
                
        <
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_profile]</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_pos2]
        
        <
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[my_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_pos3]
        
        </
table>
    </
div>
    <!-- / 
user cp tools menu -->
    </if>
<!-- / 
NAVBAR POPUP MENUS -->
</if> 
Reply With Quote
  #11  
Old 03-09-2008, 11:57 AM
The_Rayman The_Rayman is offline
Member
 
Join Date: Jan 2006
Location: Holland
Posts: 30
Default Re: navbar ok, but problems with search submenu

Hey SFnet,

I have the same problem here, my header code looks the same like yours:

Code:
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td style="background: url(http://www.dutchracingleague.com/forum/styles/drl08/bg_left.gif) repeat-y top right;">
&nbsp;</td>
<td valign="top" width="95%">
<!-- logo -->
<a name="top"></a>
<div class="bn_tbg"><div class="bn_tl"><div class="bn_tr"></div></div></div>
<div class="bn_mbg"><div class="bn_ml"><div class="bn_mr"></div></div></div>
<div class="bn_btbg"><div class="bn_btl"><div class="bn_btr">
<!-- nav buttons bar -->
<div align="center" style="padding-left:98px;padding-right:98px;padding-top:5px;">
	<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border:0px">
	<tr align="center">
		<if condition="$show['member']">



<!-- start additional buttons -->
<td class="vbmenu2_control"><if condition="THIS_SCRIPT == 'adv_index'"><a href="$vboptions[bburl]/<if condition="$session[sessionurl]">?$session[sessionurl]</if>"> Forum<else /> <a href="$vboptions[homeurl]"> Home </a></if></td>


<!-- end additional buttons -->


			<td class="vbmenu2_control"><a href="$vboptions[bburl]/usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
		</if>
		<if condition="$show['registerbutton']">
			<td class="vbmenu2_control"><a href="$vboptions[bburl]/register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
		</if>
		<td class="vbmenu2_control"><a href="$vboptions[bburl]/faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
		<td class="vbmenu2_control"><a href="$vboptions[bburl]/memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
		<td class="vbmenu2_control"><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="vbmenu2_control"><a href="$vboptions[bburl]/search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
				<else />
				<td class="vbmenu2_control"><a href="$vboptions[bburl]/search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
				</if>
				<td id="navbar_search" class="vbmenu2_control"><a href="$vboptions[bburl]/search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
			</if>
			<if condition="$show['member']">
				<td id="usercptools" class="vbmenu2_control"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>		
			</if>
		<else />		
			<if condition="$show['searchbuttons']">
				<td class="vbmenu2_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
				<if condition="$show['member']">
				<td class="vbmenu2_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
				<else />
				<td class="vbmenu2_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
				</if>
			</if>
			<td class="vbmenu2_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
			<if condition="$show['member']">			
				<td class="vbmenu2_control"><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_buddy_list]</a></td>			
			</if>			
		</if>
		<if condition="$show['member']">
			<td class="vbmenu2_control"><a href="$vboptions[bburl]/login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td>
		</if>
	</tr>
	</table>
</div>
<!-- / nav buttons bar -->
</div></div></div>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output
Can you tell me what to adjust to het the search and quicklink popup to work again? They did work in vba2.21, but after the upgrade to 3.0 they do not...

Thanks in advance!

(as you see i've hard edited the code to display my image to the side of the page... dirty, but works )
Reply With Quote
  #12  
Old 03-10-2008, 03:57 PM
sfnet sfnet is offline
Senior Member
 
Join Date: Jan 2008
Posts: 156
Default Re: navbar ok, but problems with search submenu

Did you follow the last step?
Reply With Quote
  #13  
Old 03-11-2008, 08:40 AM
The_Rayman The_Rayman is offline
Member
 
Join Date: Jan 2006
Location: Holland
Posts: 30
Default Re: navbar ok, but problems with search submenu

Quote:
Originally Posted by sfnet View Post
Did you follow the last step?
To be honest... I don't know where to put it... the header template part is clear, but on which line...
Reply With Quote
  #14  
Old 03-11-2008, 11:28 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: navbar ok, but problems with search submenu

You just need to add that code on the last line of your header template.
Reply With Quote
  #15  
Old 03-14-2008, 10:54 AM
The_Rayman The_Rayman is offline
Member
 
Join Date: Jan 2006
Location: Holland
Posts: 30
Default Re: navbar ok, but problems with search submenu

Quote:
Originally Posted by Brian View Post
You just need to add that code on the last line of your header template.
Ok, will do, ad see what happens
Reply With Quote
  #16  
Old 03-14-2008, 10:56 AM
Crippler Crippler is offline
Junior Member
 
Join Date: Oct 2006
Posts: 7
Default Re: navbar ok, but problems with search submenu

I have the same issue. Although adding the Navbar popup code to my header did fix my Search popup it didn't work for the Quicklinks. Any ideas on that one?

Thanks.
Reply With Quote
  #17  
Old 03-15-2008, 11:21 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: navbar ok, but problems with search submenu

Sounds like you missed the code for the quick links menu when you moved the other menu to your header template.
Reply With Quote
  #18  
Old 03-20-2008, 01:38 PM
Crippler Crippler is offline
Junior Member
 
Join Date: Oct 2006
Posts: 7
Default Re: navbar ok, but problems with search submenu

Quote:
Originally Posted by Brian View Post
Sounds like you missed the code for the quick links menu when you moved the other menu to your header template.
The Quick Links menu works fine in the forums just not on the front page. So I copied the code previously mentioned to the header template. I'm confused as what I'm missing here.
Reply With Quote
  #19  
Old 03-21-2008, 09:51 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: navbar ok, but problems with search submenu

You need to also move this code from your navbar template to your header template.

PHP Code:
<!-- user cp tools menu -->

And 
everything between these two comment tags

<!-- /user cp tools menu --> 
Reply With Quote
  #20  
Old 03-21-2008, 12:16 PM
Crippler Crippler is offline
Junior Member
 
Join Date: Oct 2006
Posts: 7
Default Re: navbar ok, but problems with search submenu

I copied that code along with the code for the search. Still doesn't work though on the front page.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with links search for guests. neverstop Bugs From 2.0.1 2 10-03-2007 12:54 PM
Navbar search link fine... but pulldown links aren't... BUZZKILLER Troubleshooting & Problems 7 02-06-2006 04:49 PM
Qucik Links/Search problems poongamer Troubleshooting & Problems 2 12-16-2005 06:46 PM
Qucik Links/Search problems skullhunter Troubleshooting & Problems 2 12-16-2005 01:56 PM
Navbar quick search form Roms Modifications 0 10-15-2004 01:40 PM


All times are GMT -4. The time now is 12:10 PM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.