Alteran Ancient
Sun 24th Dec '06, 9:03am
How to make your forum searchable through the IE7/Firefox 2 Searchbar
Create a new file, and name it something like 'ieff_search.xml' It is recommended to place this in your forum root directory.
Insert this code, remembering to change the values to correspond to your website:
<?xml version="1.0"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>Your website</ShortName>
<Description>Website Description</Description>
<Image height="16" width="16" type="image/x-icon">http://www.yoursite.com/favicon.ico</Image>
<Url type="text/html" method="get" template="http://www.yoursite.com/search.php?do=process&query={searchTerms}" />
</OpenSearchDescription>
Note that the name and the description cannot contaim any exotic or special characters!(@!!$%^&!)
Next Step
Go to your forum Admin CP, and open up your 'headinclude' template, and add this string to the bottom of the template, remembering to edit the URL:
<link rel="search" type="application/opensearchdescription+xml" href="http://www.yoursite.com/forum_url/ieff_search.xml" title="Your Website Name" />
That should be everything done!
http://www.alteranlabs.co.uk/files/IE7Searchadd.JPG
If you want to use your search in Internet Explorer 7, then navigate to your forum, and the selection arrow next to the search icon should be hi-lighted orange. You can add a search provide there.
http://www.alteranlabs.co.uk/files/FF2SearchAdd.JPG
If you want to do so in Firefox 2, then your search icon should glow once you navigate to the forum. You may add your search there. Note: due to a bug in FF2, your selected icon (fav.ico) might not show up. There is currently no way known to rectify this problem.
If you have the CAPTCHA enabled for guest searches, then your members who do not check 'Remember Me' upon logging in might be interrupted with a CAPTCHA confirmation when they wish to search.
Create a new file, and name it something like 'ieff_search.xml' It is recommended to place this in your forum root directory.
Insert this code, remembering to change the values to correspond to your website:
<?xml version="1.0"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>Your website</ShortName>
<Description>Website Description</Description>
<Image height="16" width="16" type="image/x-icon">http://www.yoursite.com/favicon.ico</Image>
<Url type="text/html" method="get" template="http://www.yoursite.com/search.php?do=process&query={searchTerms}" />
</OpenSearchDescription>
Note that the name and the description cannot contaim any exotic or special characters!(@!!$%^&!)
Next Step
Go to your forum Admin CP, and open up your 'headinclude' template, and add this string to the bottom of the template, remembering to edit the URL:
<link rel="search" type="application/opensearchdescription+xml" href="http://www.yoursite.com/forum_url/ieff_search.xml" title="Your Website Name" />
That should be everything done!
http://www.alteranlabs.co.uk/files/IE7Searchadd.JPG
If you want to use your search in Internet Explorer 7, then navigate to your forum, and the selection arrow next to the search icon should be hi-lighted orange. You can add a search provide there.
http://www.alteranlabs.co.uk/files/FF2SearchAdd.JPG
If you want to do so in Firefox 2, then your search icon should glow once you navigate to the forum. You may add your search there. Note: due to a bug in FF2, your selected icon (fav.ico) might not show up. There is currently no way known to rectify this problem.
If you have the CAPTCHA enabled for guest searches, then your members who do not check 'Remember Me' upon logging in might be interrupted with a CAPTCHA confirmation when they wish to search.