Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Search Title Only in search drop-down Details »»
Search Title Only in search drop-down
Version: 2.0, by Abe1 Abe1 is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.6.7 Rating:
Released: 08-05-2006 Last Update: 05-17-2007 Installs: 153
Template Edits
 
No support by the author.

Search Title only in search drop-down


This template change will make the search drop-down menu on your forum have a check box option to search just titles.

Installation:

Open template 'navbar'.

Search for:
HTML Code:
<form action="search.php?do=process" method="post">
Place after:
HTML Code:
<!-- Start Abe1 Search Title only in search drop-down -->
<div><input type="checkbox" name="titleonly" value="1" /> $vbphrase[search_titles_only]</div>
<!-- End Abe1 Search Title only in search drop-down -->


Open template 'FORUMDISPLAY'.

Search for THE FIRST:
HTML Code:
<form action="search.php?do=process" method="post">
Place after:
HTML Code:
<!-- Start Abe1 Search Title only in search drop-down -->
<div class="smallfont"><input type="checkbox" name="titleonly" value="1" /> $vbphrase[search_titles_only]</div>
<!-- End Abe1 Search Title only in search drop-down -->

Search for:
HTML Code:
<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" accesskey="s" tabindex="1004" /></div>
Place BEFORE:
HTML Code:
<!-- Start Abe1 Search Title only in search drop-down -->
<div class="smallfont"><input type="checkbox" name="titleonly" value="1" /> $vbphrase[search_titles_only]</div>
<!-- End Abe1 Search Title only in search drop-down -->
Please post your comments or suggestions for this hack. I read ALL posts.

MAKE SURE YOU CLICK INSTALL!
You will get an email when a new version is released.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 03-28-2007, 05:24 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Installed !

DM
Reply With Quote
  #33  
Old 04-27-2007, 02:52 PM
RedGTiVR6 RedGTiVR6 is offline
 
Join Date: Dec 2006
Location: Little Elm, TX
Posts: 817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod!

I have lost count of the number of times I wished this was an option in the drop down menu!

I also appreciate adding it to the forumdisplay search.

I just have one question in that regard tough.

I want the check box to show up below the search field.

I've figured out how to do it on the nav bar, but I can't (for whatever reason) figure out where to put it in the code to show up in the forumdisplay search.

Any insight would be appreciated!

Great template mod! One of my favorites.
Reply With Quote
  #34  
Old 05-18-2007, 04:00 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated for vb3.6.6/7. Also, I added template edit for forumdisplay.
Reply With Quote
  #35  
Old 05-18-2007, 08:57 PM
servan servan is offline
 
Join Date: May 2006
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod is very usefull for my users.

Thanks!!
Reply With Quote
  #36  
Old 05-22-2007, 04:22 PM
RedGTiVR6 RedGTiVR6 is offline
 
Join Date: Dec 2006
Location: Little Elm, TX
Posts: 817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The changes that you made, do they only work for 3.6.6 or will they work on 3.6.5 if I apply them before the update?
Reply With Quote
  #37  
Old 05-22-2007, 10:07 PM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RedGTiVR6 View Post
The changes that you made, do they only work for 3.6.6 or will they work on 3.6.5 if I apply them before the update?
I think it should work for it also.
Reply With Quote
  #38  
Old 05-24-2007, 05:27 PM
RedGTiVR6 RedGTiVR6 is offline
 
Join Date: Dec 2006
Location: Little Elm, TX
Posts: 817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Abe1 - would you mind describing exactly what changes you made?

The old mod works fine on our upgraded board.

I'm wondering what you changed and why...
Reply With Quote
  #39  
Old 05-24-2007, 09:38 PM
Ramsesx's Avatar
Ramsesx Ramsesx is offline
 
Join Date: Aug 2005
Location: Southern Germany
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm waiting so long to have this built in on vbulletin, thanks abe.
Reply With Quote
  #40  
Old 05-25-2007, 11:48 AM
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RedGTiVR6 View Post
Abe1 - would you mind describing exactly what changes you made?

The old mod works fine on our upgraded board.

I'm wondering what you changed and why...
It wont work on vb3.6.6>=

The moved the <form> location. This also adds it to the forum display page.
Reply With Quote
  #41  
Old 10-16-2007, 04:40 AM
Stefano Virgill's Avatar
Stefano Virgill Stefano Virgill is offline
 
Join Date: Apr 2007
Location: Singapore
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed.
Works great.

For those who has the statement appearing twice in forum display, just paste the code after the first, not the second.

Regards

Steve
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 11:15 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06192 seconds
  • Memory Usage 2,316KB
  • Queries Executed 26 (?)
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
  • (6)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete