Simplify Search Feature to be Forum Only
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: Code:
<li><a href="search.php{vb:raw session.sessionurl_q}" accesskey="4">{vb:rawphrase advanced_search}</a></li> Code:
<li><a href="search.php?search_type=1{vb:raw session.sessionurl_q}" accesskey="4">{vb:rawphrase advanced_search}</a></li> In search_common search for: Code:
<h3 class="blocksubhead">{vb:rawphrase search_in}</h3> Code:
<!-- Then search for: Code:
<h3 class="blocksubhead">{vb:rawphrase search_for}</h3> Code:
//--> Then search for: Code:
<li class="selected"><a href="search.php{vb:raw session.sessionurl_q}">{vb:rawphrase search_multiple_types}</a></li> Code:
<!-- Code:
//--> In search_common_select_type, search for: Code:
<li><a href="search.php{vb:raw session.sessionurl_q}">{vb:rawphrase search_multiple_types}</a></li> Code:
<!-- Code:
//--> Then search for: Code:
{vb:raw input_search_types} Code:
<!-- 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 No files for download. Screenshots |