Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-11-2007, 08:55 AM
cmb7684 cmb7684 is offline
 
Join Date: Aug 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Drop Downs not working.

I upgraded to VB 3.6.8 and Im running Vbadvanced CMPS v3.0 RC2.

I upgraded from 3.0.6 and I was running vbindex. I just upgraded today.

Here is the problem. MY buttons are working fine with the exception of when I go to a thread that is multi paged. If it has more than one page in the thread then the buttons at the top work but any drop downs such as thread tools or search in the buttons at the top quit dropping down and do not show up anywhere.

ANy suggestions?
Reply With Quote
  #2  
Old 09-11-2007, 11:57 AM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm guessing you have a modified style .. if so, you probably don't have the menu html code

check the html source and see that they are available
Reply With Quote
  #3  
Old 09-11-2007, 04:35 PM
cmb7684 cmb7684 is offline
 
Join Date: Aug 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where is the menu html code located andwhat does it look like? They were working fine before the upgrade. The only thing that I had custom was I added that was custom as it relates to drop downs was I added a link and new option in the quick links drop down a long time ago using 3.0.6. but it worked fine for all this time and I'm not even sure how to find that code anymore
Reply With Quote
  #4  
Old 09-13-2007, 12:06 AM
cmb7684 cmb7684 is offline
 
Join Date: Aug 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found the problem on this one....extremely weird ...In my style manager under Navigation/breadcrump templates under navbar is where I had modded the code to take away the register button as the members are already registered when they are at that point etc.

I saved my old code and I reset the html code to the default code and all is working great the drop downs in the multipage threads is ok.

The thing is it has been running VB 3.0.6 for about 2 years I guess without any problems. Something went stray in the upgrade. Anyone know how I can go back to the way it was when I modded it without screwing this up?
Reply With Quote
  #5  
Old 09-13-2007, 12:23 AM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As far as I was aware, the "Register" link in your navbar dissapears once someone is logged in by default...

Chris
Reply With Quote
  #6  
Old 09-13-2007, 02:09 AM
cmb7684 cmb7684 is offline
 
Join Date: Aug 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is under breadcrumps navbar

Ok here is part of the default code for 3.6.8 that I'm now doing a fresh mod on to reflect the register button deleted and a Home Page and Forum Button that will be a link to each respective page anywhere on the forum. If all goes as expected it should show up on not only the vbulletin pages but also the vbadvanced pages.


Here is the current problem I'm having. After deleting the code for the Register button and link from the top of the nav bar I C&P the code for the user cp button 2 times on top of where its currently located in the code making 3 total user cp buttons all working to the user cp page. I then renamed the buttons and renamed the .php files to their respective link or .php

The trouble I ran into is that the it worked find for the newly created forum button but the exact same process did not work for the home_page button. The button clearly isnt there onthe nav buttons at the top of the page. Now if i change the name of the button back to user cp and leave it linked to the forumpage that I have named vbindex.php the newly named user cp button will bring you to the home page, so it clearly is just an issue of getting the button to appear in the nav bar. Im just not sure as to why it will not show up. (All old vbindex files are deleted and the vbadvanced page or folder is renamed vbindex).


Here is the C&P of the section of the code Im working on


Code:
<!-- / breadcrumb, login, pm info -->
 
<!-- nav buttons bar -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
    <if condition="$show['member']">
 
<td class="vbmenu_control"><a href="vbindex.php$session[sessionurl_q]">$vbphrase[home_page]</a></td> <<<<<problem button
<td class="vbmenu_control"><a href="index.php$session[sessionurl_q]">$vbphrase[forum]</a></td>
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
    </if>
    $template_hook[navbar_buttons_left]
    <td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
    <td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
Well unless it shows up just for administrators I was logged in and it was still there. Nevertheless I deleted it and all is working good by simply removing it from the code.
Reply With Quote
  #7  
Old 09-13-2007, 02:29 AM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The reason it is not showing up on the nav bar is because there is no phrase home_page by default - You will need to add the Phrase or simply replace "$vbphrase[home_page]" with "Home Page" in text if you don't want to add a new phrase...

Chris
Reply With Quote
  #8  
Old 09-13-2007, 02:34 AM
cmb7684 cmb7684 is offline
 
Join Date: Aug 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is an update on this...If I click the user cp button the home page button shows up and works fine, it also shows up when I click the calnedar button and Im redirected to the calendar page and also on the member list page. the Home page button will not show up on the forum index page nor will it show up on the following pages: FAQ, new posts and not that its needed there but it will not show up on the vbadvanced home page on my forum either.

Thanks a million I knew it was something dumb that was catching me up.

here is what I changed it t and it worked like a champ.

Code:
<!-- / breadcrumb, login, pm info -->
 
<!-- nav buttons bar -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
<if condition="$show['member']">
 
<td class="vbmenu_control"><a href="vbindex.php$session[sessionurl_q]">Home Page</a></td>
<td class="vbmenu_control"><a href="index.php$session[sessionurl_q]">$vbphrase[forum]</a></td>
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
$template_hook[navbar_buttons_left]
<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
Reply With Quote
  #9  
Old 09-13-2007, 03:01 AM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problem

Chris
Reply With Quote
Reply


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


All times are GMT. The time now is 09:21 AM.


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.04040 seconds
  • Memory Usage 2,242KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete