Quote:
Originally Posted by MarcoH64
This the standard vB code for the quick search:
HTML Code:
<form action="search.php" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="showposts" value="0" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="text" class="bginput" name="query" size="20" /> $gobutton<br />
</form>
Just change it with the added forumid.
PS In your example you seem to be missing the 'do', also don't use full url's, better relative file ie "forum/search.php........"
|
Ok thanx
here is what I have put :
Code:
<form action="forum/search.php?forumid=29" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="showposts" value="0" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="text" class="bginput" name="query" size="20" /> $gobutton<br />
</form>
I have also tried by putting:
Code:
<form action="forum/search.php?include=29" method="post">...
it works but it searches the whole forum and not only the forum with ID=29 :disappointed: