View Single Post
  #1  
Old 11-16-2009, 04:31 PM
JoergZ JoergZ is offline
 
Join Date: Jun 2002
Location: Germany
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default second searchbox in navbar

S O L V E D


Hello together,

after some time absense from the vB-code (obviusly too long absense ) I am working now a little bit on the vB4.

What I want to do is to place a second search box in the navbar, to do direct from there membersearch. (See attached screenshot, that's how i want it).

I tried a little bit this and that, but nothing really works. Don't get me wrong, I don't ask for a complete coded solution, but maybe someone can "bring me on the way" and give me some hints. (The searchobx itself is working, but the position is not correct)

Thanks for your help.


Best regards

J?rg



Edit

I attached a second screenshot, where you can see, what my best result was. The problem is, I can't get the second searchbox left of the original search-box. Currently I add the code for "my" searchbox here:

Template "navbar"

above

Code:
<div id="globalsearch">

Edit 2

O.k., leave me alone with the problem and I will solve it

No, seriously, I nearly made it. After creating additionaly CSS-entries, it's working. The only thing is, that the position is now in a fixed distance to the last menu-button. I would like it more, to have it fixed with a special distance to the right searchbox. But that's a small detail without priority.

If someone is interested, I can post how to make the change.
Attached Images
File Type: jpg Searchbox.jpg (18.9 KB, 0 views)
File Type: jpg overlaying_searchbox.jpg (10.6 KB, 0 views)
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01222 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_code
  • (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