The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Search in current forum only
I have added search form in forumdisplay.php above the thread to search required threads. I am using this code, what to change this code because I want it to display search results only from current forum, not from all forum.
Code:
<form action="search.php?$session[sessionurl]do=get&forumid=$foruminfo[forumid]" method="get" name="vbform" id="searchform"> |
#2
|
|||
|
|||
Try changing the action to be do=process and include={vb:raw foruminfo.forumid}, like:
Code:
<form action="search.php?$session[sessionurl]do=process&include={vb:raw foruminfo.forumid}" method="get" name="vbform" id="searchform"> unless you are using vb3, then it would be $foruminfo[forumid] like you had it. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|