View Single Post
  #1  
Old 11-03-2007, 10:25 AM
Ezswo Ezswo is offline
 
Join Date: Oct 2007
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Search This Thread Dropdown - Twice

Hello all,

I'm working on a style for vBulletin that I used to have when I had a Integramod board, which is called BBLite.

I have edited the "showthread" template and made a toolbar with images at the top of this page where I relocated the threadtools (threadtools are originally in a dropdown-box in a toolbar right above the postbits). You can see in attachment 1 that the dropdownbox for the search-image is working fine.

Now, here's the problem: I copied the exact same code (which is the original code by the way) to the bottom of the page, where I have the same toolbar with images (you can see this in attachment 2). But, in this instance the dropdown box is NOT working?? (in this instance it reloads the page so that the non-pop-up content at the bottom of the page is shown...this is normally for non-pop-up browsers, or for browsers without Javascript enabled).

How can I get this second searchbox to work as the first, i.e. that it also shows the dropdown menu as in the first attachment?

My code in both instances is this:
Quote:
<if condition="$show['search']">
<td id="threadsearch" nowrap="nowrap">
<a href="$show[nojs_link]#goto_threadsearch"><img class="inlineimg" src="$stylevar[imgdir_misc]/ns_icon_search.gif" alt="$vbphrase[search_this_thread]" border="0" /></a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadsearch", 1); </script></if>
</td>
</if>
Thank you for your time,
Ezra
Attached Images
File Type: jpg top.jpg (45.9 KB, 0 views)
File Type: jpg bottom.jpg (25.0 KB, 0 views)
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02208 seconds
  • Memory Usage 1,785KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (2)postbit_attachment
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete