The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Search box on search page
Request:
Show the user the search box, along with what he typed in, on the search results page. (This is trickier than it sounds!) |
#2
|
|||
|
|||
Are you talking about the advanced or the simple search?
|
#3
|
|||
|
|||
Simple search results - but the same would be useful for advanced search results
|
#4
|
||||
|
||||
Sort of like a search again?
|
#5
|
|||
|
|||
Yep
....... |
#6
|
|||
|
|||
Don't sound too much difficult to me, i think any real VBCoder should be able to do it.
|
#7
|
||||
|
||||
This one's cake. It's a template mod.
I have the search box in my navbar. I set the value of the textbox to Code:
$search[query] |
#8
|
||||
|
||||
Back with more detail. This is what I have in my navbar template. Try it in your search results template
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="text" class="bginput" name="query" size="31" value="$search[query]"/> <input type="submit" value="Search EA" /> </form><br><span align="right" class="smallfont"><a href="/forums/search.php?">Advanced Search</a> </span> |
#9
|
|||
|
|||
Quote:
|
#10
|
||||
|
||||
It's working fine for me as long as results are returned.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|