OK, you could create plugin using hook search_complete and this code:
PHP Code:
if (get_class($this) == 'vb_Search_Resultsview')
{
$this->template->register('keywords', $criteria->get_keywords());
}
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>
Then when I search for test OR moderators (for example), I get this output:
Code:
Keyword: test
Keyword: OR moderators
Anyway, I hope that helps.