![]() |
Search your forum Firefox 2/IE7
PART 1:
Create a file and name it ff_search.xml. Insert this code in to it: Code:
<?xml version="1.0"?> Code:
<ShortName>[your board name]</ShortName> 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. |
Got it to work... had to edit the xml properly
The code example you have is incorrect as well. It should look more like this: Quote:
Make sure if you edit this that you do so in wordpad and not notepad. Attached is devpal's xml file. Make sure to edit it as shown in the example. |
I don't know what I'm missing; every time I try; in FF or IE, it says cannot download http://mysite.com/ff_search.xml
any ideas? |
Quote:
Thanks. :) |
Quote:
|
Quote:
|
Quote:
|
Quote:
I PM'd you. |
Copy my xml attached file to your desktop, open it in wordpad, change the site to yours and save it (do not save as just save).
Make sure to add the second bit to styles and templates > Style Manager > Common templates > headinclude. Stick it at the very bottom. Make sure to change the info to your site's information. 1) do not edit in notepad 2) do not save as in wordpad 3) make sure to put the xml file to your site's root directory 4) make sure to change all the site information to your site |
Quote:
|
All times are GMT. The time now is 10:40 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|