No announcement yet.

How to make your forum searchable through the IE7/Firefox 2 Searchbar

  • Filter
  • Time
  • Show
Clear All
new posts

  • How to make your forum searchable through the IE7/Firefox 2 Searchbar

    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:
    [noparse]<?xml version="1.0"?>
    <OpenSearchDescription xmlns="">
    <ShortName>[/noparse][I][COLOR=red]Your website[/COLOR][/I][noparse]</ShortName>
    <Description>[/noparse][I][COLOR=red]Website Description[/COLOR][/I][noparse]</Description>
    <Image height="16" width="16" type="image/x-icon">[/noparse][I]http://[COLOR=red][/COLOR][/I]/favicon.ico[noparse]</Image>
    <Url type="text/html" method="get" template="[/noparse]http://[I][COLOR=red][/COLOR]/[/I]search.php?do=process&amp;query={searchTerms}[noparse]" />
    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:

    [noparse]<link rel="search" type="application/opensearchdescription+xml" href="[/noparse]http://[I][COLOR=red][/COLOR][/I]/ieff_search.xml[noparse]" title="[/noparse][I][COLOR=red]Your Website Name[/COLOR][/I][noparse]" />[/noparse]
    That should be everything done!
    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.

    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.
    -- David.

    If I spend much more time browsing these forums, I could be subjected to: 1. Burnt retinas, 2. Angry customers, 3. Lack of moderation, 4. Arguments.
    This used to be a nice place; what the hell's gone wrong?
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.