vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Search drop-down has "Search just titles" also. (https://vborg.vbsupport.ru/showthread.php?t=91914)

Abe1 07-09-2005 10:00 PM

Search drop-down has "Search just titles" also.
 
This template change will make the search drop-down menu on your forum have 2 boxes. One to search all posts (the current one), and one to search just thread titles.

Installation:

Open template 'navbar'.

Search for:
HTML Code:

<form action="search.php" method="post">
Place after:
HTML Code:

                                $vbphrase[post]:<br>
                                <input type="hidden" name="do" value="process" />
                                <input type="hidden" name="showposts" value="0" />
                                <input type="hidden" name="quicksearch" value="1" />
                                <input type="hidden" name="s" value="$session[sessionhash]" />
                                <input type="text" class="bginput" name="query" size="20" />$gobutton<br />
                        </form>
                        </td>
                </tr>
                <tr>
                        <td class="vbmenu_option" title="nohilite">
                        <form action="search.php" method="post">
                                $vbphrase[title]:<br>
                                <input type="hidden" name="titleonly" value="1" />

Dont forget to click install!

FleaBag 07-27-2005 11:13 PM

Sweet, am liking this a lot. Thanks for sharing.

Tony G 07-28-2005 04:03 AM

Nice mod.

Could you please attach it as a .txt file rather than posting the instructions in the thread? It makes it easier for members to refer to your template modification if they need to re-install it for any reason in the future. :) Thank you.

Abe1 07-28-2005 04:34 AM

Quote:

Originally Posted by Tony G
Nice mod.

Could you please attach it as a .txt file rather than posting the instructions in the thread? It makes it easier for members to refer to your template modification if they need to re-install it for any reason in the future. :) Thank you.

done

sketch42 07-28-2005 04:35 AM

can you add radio button to return threads or posts? :D

Abe1 07-28-2005 09:11 AM

Quote:

Originally Posted by sketch42
can you add radio button to return threads or posts? :D

Will try. (nice idea.)

FleaBag 07-28-2005 11:16 AM

Ya know I am really liking this. This should be stock in vB I reckon. I'm going to add a search box for my gallery, link directory e.t.c. underneath it too.

Tony G 07-28-2005 11:30 AM

Quote:

Originally Posted by Abe1
done

Usually involves removing the code from the actual post, but eh that's good enough. :)

Abe1 07-28-2005 11:53 AM

Quote:

Originally Posted by Tony G
Usually involves removing the code from the actual post, but eh that's good enough. :)

Give people a choice. If they want to download something or not.

Tony G 07-28-2005 12:02 PM

Yes, I understand that, I don't have any objections to it being in the post, just thinking out aloud. :)


All times are GMT. The time now is 01:13 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.01083 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete