Link to Mod (http://mods.simplemachines.org/index.php?mod=154)
My first lousy MOD :)
Many users like me think tht the SEARCH form on the top of the page is useless... honestly, how often do you make researches?
What does this MOD do? It removes (puts in comment) the SEARCH form and converts the SEARCH button in SEARCH+ button. That's all it does. But it's a bit more comfortable like this.
EDIT: I tested it only with 1.04, but I don't know if it works with other versions of SMF.
Theres an option in Admin > Edit Features and Options to disable simple search which should be the prefaired method of making the search button goto advanced.
Whoops!
So this MOD is purposeless, as I can see :D
Just chop out this bit of code
<form action="', $scripturl, '?action=search2" method="post" style="margin: 0; margin-top: 7px;">
<b>', $txt[182], ': </b><input type="text" name="search" value="" style="width: 190px;" />
<input type="submit" name="submit" value="', $txt[182], '" style="width: 8ex;" />
<a href="', $scripturl, '?action=search;advanced">', $txt['smf298'], '</a>
<input type="hidden" name="advanced" value="0" />';
// If we're on a certain board, limit it to this board ;).
if (!empty($context['current_board']))
echo '
<input type="hidden" name="brd[', $context['current_board'], ']" value="', $context['current_board'], '" />';
echo '
</form>
Job done :D I must admit, i never much cared for the form and it`s button.
I prefer making such kind of this reversible :p
I can understand totally. It needed to be done, i think the search form looked ugly.
Quote from: Ben_S on June 15, 2005, 03:35:15 PM
Theres an option in Admin > Edit Features and Options to disable simple search which should be the prefaired method of making the search button goto advanced.
MY board is freshly installed but this is not working, for me. Therefore this:
Quote from: SaniOKh on June 15, 2005, 04:37:32 PM
Whoops!
So this MOD is purposeless, as I can see :D
is not useless! I'll try it at 1.0.5.