vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   Search For Members In Navbar Dropdown (https://vborg.vbsupport.ru/showthread.php?t=90187)

sabret00the 12-15-2004 10:00 PM

Search For Members In Navbar Dropdown
 
throw your board into debug mode and then change the phrase
Code:

search_members
so it belongs to the GLOBAL GROUP (if you can't be arsed to do that, just replace the phrase in the template with the "Search Members")

now in your navbar template find
HTML Code:

        <!-- 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" method="post">
                          <input type="hidden" name="do" value="process" />
                          <input type="hidden" name="showposts" value="0" />
                          <input type="text" class="bginput" name="query" size="20" />$gobutton<br />
                          </form>
                          </td>
                  </tr>
                  <tr>
                        <td class="vbmenu_option"><a href="search.php?$session[sessionurl]">$vbphrase[advanced_search]</a></td>
                  </tr>
                  </table>
          </div>
          <!-- / header quick search form -->

and replace with
HTML Code:

          <!-- 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="$vboptions[bburl]/search.php" method="post">
                          <input type="hidden" name="do" value="process" />
                          <input type="hidden" name="showposts" value="0" />
                          <input type="text" class="bginput" name="query" size="20" />$gobutton<br />
                          </form>
                          </td>
                  </tr>
                  <tr>
                        <td class="vbmenu_option"><a href="$vboptions[bburl]/search.php?$session[sessionurl]">$vbphrase[advanced_search]</a></td>
                  </tr>
                  <tr>
                        <td class="thead">$vbphrase[search_members]</td>
                  </tr>
                  <tr>
                          <td class="vbmenu_option" title="nohilite">
                        <form action="$vboptions[bburl]/memberlist.php" method="post">
                          <input type="hidden" name="s" value="$session[sessionhash]" />
                          <input type="hidden" name="do" value="getall" />
                          <input type="text" class="bginput" name="ausername" size="20" value="$ltr" title="$vbphrase[username]" />$gobutton
                          </form>
                          </td>
                  </tr>
                  <tr>
                        <td class="vbmenu_option"><a href="$vboptions[bburl]/memberlist.php?$session[sessionurl]do=search">$vbphrase[advanced_search]</a></td>
                  </tr>
                  </table>
          </div>
          <!-- / header quick search form -->


Aeon'sDestiny 06-10-2005 06:14 PM

Well, I just did this without seeing your previous mod completely by chance while toying around with my vB board today. It's a great idea, I just hate the fact that I didn't come up with it sooner.

calorie 06-11-2005 09:56 AM

LOL, me too. See attached...

Borgs8472 07-04-2005 07:45 PM

Installed calorie's version...


All times are GMT. The time now is 09:02 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.00992 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete