The Arcive of vBulletin Modifications Site. |
|
For "Save Search Preferences", store all attributes EXCEPT 'search type'. Details »»
|
|||||||||||||||||||||||||||
|
For "Save Search Preferences", store all attributes EXCEPT 'search type'.
Developer Last Online: Mar 2007
Hello.
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) ~~~~~~~~~~~~~~~~ In the 'search_forums' template, almost at the bottom, is the code for 'Save Search Preferences'. Locate this area. Then, add the code that's between the revision comment lines below JUST PRIOR TO the 'submit' code line. The <font..></font> tags contain a note to the user so they don't have to ask the admin why that parameter is not saving. The comment lines are optional. Add this code: Code:
<!-- begin revision --> <input type="hidden" name="searchtype" value="0" /> <br /> <font size="-2">NOTE: 'Search Type' is not saved.</font> <!-- end revision --> Code:
<input type="submit" class="button" name="doprefs" value="$vbphrase[go]" /> ENJOY! Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Thanks, all installed!
|
![]() |
|
|