Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Simplify Search Feature to be Forum Only Details »
Simplify Search Feature to be Forum Only
Mod Version: 1.00, by Dan Druff (Coder/Designer) Dan Druff is offline
Developer Last Online: May 2019 I like it Show Printable Version Email this Page

vB Version: 4.1.12 Rating: (0 vote - 0 average) Installs: 9
Released: 01 Aug 2012 Last Update: Never Downloads: 0
Supported Template Edits Re-usable Code Translations  

Many site owners (myself included) use vBulletin primarily for its forum. These sites tend to have the vast majority of their content in the forum, and relatively little elsewhere. This is especially true of smaller sites.

In such cases, the vBulletin Advanced Search feature is overly complicated, confusing, and user-unfriendly. I noticed this the first time I used vBulletin software many years ago, and the problem still persists to this day.

If you're like me, you simply want the Advanced Search feature to search forum threads/posts only, and you want the form to be as simple as possible for the user.

This modification does not add anything to vBulletin. Instead, it subtracts a lot of extraneous search choices, and makes it easier on users of sites where the forum is the main feature.

Note that this mod removes the ability to search anything but the forum, so don't install it if you want to keep the ability for users to search blogs, groups, etc.



In this mod, you will be editing three templates: navbar, search_common, search_common_select_type

In navbar search for:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Change that to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



In search_common search for:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Right ABOVE it, add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Then search for:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Right ABOVE it, add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Then search for:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Right ABOVE it, add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Right BELOW it, add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



In search_common_select_type, search for:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Right ABOVE it, add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Right BELOW it, add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Then search for:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Right ABOVE it, add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Right BELOW it, add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



OPTIONAL:
Finally, just for aesthetics, go into the Phrase Manager (in Admin Control Panel) and do Search in Phrases. Enter "search_single_type" in the Search For Text box, and click the radio button for Phrase Variable Name Only. Then click Find.

When you get the results (should be search_single_type), click Edit. In the text box, type "Search Forum", and then press Save.


That's it!

You will notice that most of this mod is simply commenting out features we don't need. I have found that many small sites will benefit from this mod.

See attachment for a screen shot of the Advanced Search feature on my forum, with this mod.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	search-vbulletin.png
Views:	489
Size:	34.1 KB
ID:	140237  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 01 Sep 2012, 18:33
MikeTrin MikeTrin is offline
 
Join Date: Jun 2006
Thanks for the post. I have been meaning to do this thanks for making it quick.
Reply With Quote
  #3  
Old 31 Jan 2013, 16:01
autoescala autoescala is offline
 
Join Date: Oct 2011
Thanks!
Reply With Quote
  #4  
Old 04 Feb 2013, 09:02
autoescala autoescala is offline
 
Join Date: Oct 2011
Thanks!! Works like a charm,

Some one know how to be able to have a search in the navbar like this site ? vbulletin.org ?
Reply With Quote
  #5  
Old 18 Feb 2013, 12:48
neya's Avatar
neya neya is offline
 
Join Date: Jan 2013
Tagged, will deff install this later when I have the time, and I have to agree, the search has always been a pain to me, especially having to wait 30 seconds when making mistakes.
Reply With Quote
  #6  
Old 20 Jun 2013, 16:27
adfields adfields is offline
 
Join Date: Jan 2008
Thanks for this mod! I've followed the instructions but our search screen is different from the screen shot - the Additional Options seem to be following the Multiple Content Search format rather than the Single Content.

Any ideas on how to fix this?
Attached Images
File Type: jpg Search.jpg (41.4 KB, 35 views)
Reply With Quote
  #7  
Old 11 Jul 2013, 19:32
sub_ubi sub_ubi is offline
 
Join Date: Dec 2004
Thank you very much.

For those of you who want to keep functionality but default to forum-only search, simply do the navbar change above and nothing else.
Reply With Quote
  #8  
Old 30 Aug 2013, 05:57
Dan Druff Dan Druff is offline
 
Join Date: Mar 2012
Originally Posted by adfields View Post
Thanks for this mod! I've followed the instructions but our search screen is different from the screen shot - the Additional Options seem to be following the Multiple Content Search format rather than the Single Content.

Any ideas on how to fix this?
Not sure why that is happening. The instructions here worked for several others.

Which vBulletin version are you using?
Reply With Quote
  #9  
Old 06 May 2018, 22:22
PetrK PetrK is offline
 
Join Date: Feb 2012
Thanks to this mode we have a clear search in our forum. Thank you very much.

I have one more question. Please, How do I delete a search box "Tag:"?

Thanks, Petr
Attached Images
File Type: jpg obrazek13.jpg (23.3 KB, 20 views)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 11:18.

Layout Options | Width: Wide Color: