The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Getting a search field on a non-vb page.
I tried this one: https://vborg.vbsupport.ru/showthrea...128#post221128
and it didn't work. I also want it so that I can block/add certain forums to be searched. Could somebody help me with this please. Thanks! |
#2
|
||||
|
||||
View the source of the main search page, and basically remove elements you don't want, and be sure to point the forum to the right location of search.php if you put the non-vB page outside of the vB directory. The following code works for me for a general search (ie, all forums):
Code:
<form action="http://www.yourdomain.com/forum/search.php" method="post"> <input type="hidden" name="s" value=""> <input type="text" class="bginput" name="query" size="20"> <input type="hidden" name="forumchoice" value="-1"> <input type="hidden" name="titleonly" value=""> <input type="hidden" name="action" value="simplesearch"> <input type="submit" class="bginput" name="Submit" value="Perform Search" accesskey="s"> <input type="hidden" value="" name="showposts"> <input type="hidden" name="searchdate" value="-1"> </form> |
#3
|
||||
|
||||
Can anyone help please?
I just put this on the main page but i also have the Quick PM hack installed and I think they're clashing. Also what does the accesskey="s" do? thanx |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|