The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
Hello again.
What seems to work is the following: in the 'search_forums' template, almost at the bottom, is the code for 'Save Search Preferences'. Locate this area and add the <input.../> code. The comment lines are optional. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ </select> <!-- begin revision --> <input type="hidden" name="searchtype" value="0" /> <!-- end revision --> <input type="submit" class="button" name="doprefs" value="$vbphrase[go]" /> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ETC............. What this does, in essence, is REDEFINES (or in this case, RESETS) the value of the 'searchtype' parameter on-the-fly while on its way to be passed to the search.php script. This tells search.php what YOU want this value to be set to. This revision is for those admins who don't want Boolean used for EVERY search whether needed or not, unnecessarily raising system resources. If someone needs Boolean for a once-in-a-while search, let them explicitly select it on a case-by-case basis. This may be a desired feature for relatively-busy forums, I would think. (ref this thread from vbulletin.com regarding the background for this revision: http://www.vbulletin.com/forum/showthread.php?t=159204) ENJOY! :squareeyed: EDIT: To reduce the number of E-mails from members asking why 'Search Type' is not saved during 'Save Search Preferences', you may consider adding the following message or some version thereof (especially, <br /> & <font...>...</font>), so it shows up just below the dropdown box: ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ETC... <!-- begin revision --> <br /> <font size="-2">NOTE: 'Search Type' is not saved.</font> <!-- end revision --> </p></if> </form> ETC... ~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|