[How to: VB4] Change Default Advanced Search Tab
Many of my forum members are older folks (like me) and I like to make things as simple as possible for them. Currently, when you click Advanced Search, the default search tab is "Search Multiple Content Types." Since 99% of my members are only interested in searching "Posts", I wanted to make the "Search Single Content Type" the default tab so they don't get confused about which "content types" to select. If you want to change your default Advanced Search Tab to "Single Content Type", here is what you do:
1.) Make sure you are in debug mode so you can see the "MASTER Style" Template in admincp. To do this, edit your /includes/config.php file and change this: Code:
$config['Misc']['debug'] = false; Code:
$config['Misc']['debug'] = true; Then in the "navbar" template, under the Navigation / Breadcrumb Templates (in the MASTER Style): Find this code: PHP Code:
<ul class="navbar_advanced_search">
PHP Code:
<ul class="navbar_advanced_search">
IMPORTANT: If you are running VB 4.2.2 you will notice that the "?" is missing from here Code:
search.php?{vb:raw session.sessionurl_q} Code:
search.php{vb:raw session.sessionurl_q} Download No files for download. |
Similar Mods
Boolean Search as Default in Advanced Search Options | vBulletin 3.5 Template Modifications |