The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Correct OpenSearch description
Hi,
I'm trying to create an OpenSearch description XML document for a vBulletin forum and could need some help. So far my document looks like this: Code:
<?xml version="1.0" encoding="UTF-8" ?> <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> <ShortName>My Forum</ShortName> <Description>Durchsucht alle Inhalte meines Forums</Description> <Url xmlns:parameters="http://a9.com/-/spec/opensearch/extensions/parameters/1.0/" type="text/html" template="http://myurl/vbulletin/search.php?do=process" parameters:method="POST" parameters:enctype="application/x-www-form-urlencoded"> <parameters:Parameter name="do" value="process"/> <parameters:Parameter name="query" value="{searchTerms}"/> </Url> </OpenSearchDescription> So is there anybody who already has done this and can help me on fixing the OpenSearch description? Regards TiKu |
#2
|
|||
|
|||
Looking at this mod: https://vborg.vbsupport.ru/showthread.php?t=119144 I found that using this for the Url tag works:
Code:
<Url type="text/html" method="post" template="http://myurl/vbulletin/search.php?do=process"> <Param name="query" value="{searchTerms}"/> <Param name="quicksearch" value="1"/> </Url> Just out of curiosity I played around a little trying to figure out what exactly was the problem with what you had, but I couldn't (I realized after a while that I had forgotten that vbulletin caches searches, so that's probably why I couldn't figure it out). |
#3
|
||||
|
||||
Thank you. It's even easier. I thought I would need POST because of the cashing, but the default GET works as well:
Code:
<Url type="text/html" template="http://myurl/vbulletin/search.php?do=process&quicksearch=1&query={searchTerms}" /> Regards TiKu |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|