The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#6
|
|||
|
|||
![]()
OK, you could create plugin using hook search_complete and this code:
PHP Code:
Then in the template, keywords is an array of arrays, like is described in this comment from the get_words function: Code:
* Return the parsed keywords to filter * * @return array. An array of array("word" => $word, "joiner" => $joiner) * where $word is the keyword and $joiner indicates how the word should be * joined to the query. $joiner should be one of "AND", "OR", or "NOT" * with the exception of the first item for which $joiner is NULL. * It is up to the search implementation to define exactly how to treat * the words specified. */ public function get_keywords() So for instance I could put this in the template: Code:
<vb:each from="keywords" value="keyword"> Keyword: {vb:raw keyword.joiner} {vb:raw keyword.word}<BR /> </vb:each> Code:
Keyword: test Keyword: OR moderators Anyway, I hope that helps. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|