The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Search your forum Firefox 2/IE7 Details »» | |||||||||||||||||||||||||
PART 1:
Create a file and name it ff_search.xml. Insert this code in to it: Code:
<?xml version="1.0"?> <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> <ShortName>devpals.com</ShortName> <Description>devpals, ask a question</Description> <Image height="16" width="16" type="image/x-icon">http://www.devpals.com/favicon.ico</Image> <Url type="text/html" method="get" template="http://www.devpals.com/search.php?do=process&query={searchTerms}" /> </OpenSearchDescription> Code:
<ShortName>[your board name]</ShortName> Code:
<Image height="16" width="16" type="image/x-icon">http://[your forum url]/favicon.ico</Image> Code:
<Url type="text/html" method="get" template="http://[your forum url]/search.php?do=process&query={searchTerms}"/> Any "special" characters that are in your forum name or description are going to have to be replaced. Upload the file to your forum root. PART 2: Open up your headinclude and paste this in the last line (placing your URL where appropriate) Code:
<link rel="search" type="application/opensearchdescription+xml" href="http://[your forum url]/ff_search.xml" title="[your forum title]" /> That's it. Now when you go to your forum with Firefox 2 (and I hear it works on IE7, though I haven't downloaded that yet) the little Google "G" in the search box should be glowing. If you click the down-arrow, there will be a new section that says "Add 'your forum'". Select it and now you can search your forums directly from that box. This assumes you have no guest/captcha restrictions on searching. If not, it's only going to work for members. You can see an example at http://www.devpals.com if you have Firefox 2 installed. Show Your Support
|
Comments |
#12
|
||||
|
||||
similar thing here - i edited using editplus and get a similar error
|
#13
|
||||
|
||||
Same here, get the error file not found.
|
#14
|
|||
|
|||
Same problem here - everything looks as if it is working apart from in FF I get a can't download the .xml file and in IE 7 a can't get information error.
|
#15
|
||||
|
||||
have to say sack ie7
its bollox |
#16
|
|||
|
|||
Everything LOOKS right in the one that you PM'd to me.
Try changing the second line to: <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> (with no dash at the beginning there) Also, in the description, you're going to have to get rid of the "&" character. |
#17
|
||||
|
||||
Quote:
[high]* soulface clicked Install![/high] |
#18
|
|||
|
|||
Hello,
I've got an issue getting this to work. Everything works except: In the url for the search engine in the xml file the & causes errors. If I change it to a semi-colon or some other character, it works fine except that the query string is then malformed for the search and nothing happens. Here is my xml file contents: PHP Code:
Any thoughts? Thanks! |
#19
|
|||
|
|||
Yes.
I should have copied and pasted from my file directly instead of trying to do it from FF or IE. Code:
<?xml version="1.0"?> <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> <ShortName>devpals.com</ShortName> <Description>devpals, ask a question</Description> <Image height="16" width="16" type="image/x-icon">http://www.devpals.com/favicon.ico</Image> <Url type="text/html" method="get" template="http://www.devpals.com/search.php?do=process&query={searchTerms}" /> </OpenSearchDescription> |
#20
|
|||
|
|||
Finally got it to work! And yes it does work with IE 7... But when I click on "Mark as Installed" it does nothing..
|
#21
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|