Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Browser Search Plugin"

From Paragon Wiki Archive
Jump to: navigation, search
(External Links: removing dead link to Opsed, adding link to Opera help)
(Changed to support new Paragon Wiki search plugin code)
Line 7: Line 7:
 
== Installing in Firefox ==
 
== Installing in Firefox ==
  
Open up Notepad or your favorite text editor.  Wordpad isn't the best item for this operation, because it insists on adding a '''.txt''' extension, while we want a '''.src''' extension on this file.  Copy and paste one of the [[#The Plugins|plugins]] text into your editor.
+
Open up Notepad or your favorite text editor.  Wordpad isn't the best item for this operation, because it insists on adding a '''.txt''' extension, while we want a '''.src''' or '''.xml''' extension on this file, depending on the version of the plugin.  Copy and paste one of the [[#The Plugins|plugins]] text into your editor.
  
Save this file in your '''C:\Program Files\Mozilla Firefox\searchplugins''' with an appropriate name for the plugin, with a '''.src''' extension.  Here is a suggested list, though you can name it whatever is easy for you to remember.  It must end in '''.src''' though.
+
Save this file in your '''C:\Program Files\Mozilla Firefox\searchplugins''' folder using the corresponding name and extension from the list below:
  
* ParagonWiki.src
+
* paragon-wiki.com.xml
 
* Badge-Hunter.src
 
* Badge-Hunter.src
 
* CoHBoards.src
 
* CoHBoards.src

Revision as of 12:17, 19 July 2007

Overview

Here is a quick and dirty search plugin to add the ability to search the Paragon Wiki, Badge-Hunter.com the CoH Forums, Nofuture.org.uk or VidiotMaps.com to the search toolbar in Firefox and Opera.

Installing in Firefox

Open up Notepad or your favorite text editor. Wordpad isn't the best item for this operation, because it insists on adding a .txt extension, while we want a .src or .xml extension on this file, depending on the version of the plugin. Copy and paste one of the plugins text into your editor.

Save this file in your C:\Program Files\Mozilla Firefox\searchplugins folder using the corresponding name and extension from the list below:

  • paragon-wiki.com.xml
  • Badge-Hunter.src
  • CoHBoards.src
  • NoFuture.org.src
  • VidiotMaps.src

If Firefox is in a different directory, you'll have to change the filepath appropriately. Close down Firefox and restart. You'll now have a nice, new CoH related search in your search box.

Installing in Opera

Setting up a new search engine in Opera is easy. Go to the website you want to set up and find their search box. Right click (command-click for Mac) on the text entry box for the search and select "Create Search...".

Older versions of Opera may not support this method. Upgrading to a newer version of Opera is recommended. Past methods of managing search engines relied on the Opsed tool, which is now defunct.

The Plugins

Paragon Wiki plugin

For Firefox, right click on this image ParagonWiki.png, select Save Image As..., and save it in the SearchPlugins directory, with same name you gave the the search plugin, but with a .png extension (i.e. if you named the plugin ParagonWiki.src, then call the image ParagonWiki.png).

# Mozilla search plugin for Paragon Wiki PargonWiki.com
# by StarGeek
# This file is released into the public domain.
#
# Version: 0.9 (2006-03-03)
<SEARCH version="7.1"
        name="Paragon Wiki"
        description="Search on ParagonWiki.com"
        method="GET"
	action="http://paragonwiki.com/w/index.php"
	searchForm="http://paragonwiki.com/w/index.php"
        queryCharset="UTF-8"
>

<input name="search" user>
</search>

Badge-Hunter.com

The Badge-Hunter.com plugin searchs Badge-Hunter.com using Google. To use the alternate name (Badge-Whore.com), replace any occurance of Hunter in the plugin with Whore.

For Firefox, right click on this image VidiotMaps.png, and save it in the SearchPlugins directory, with same name you gave the the search plugin, but with a .png extension (i.e. if you named the plugin Badge-Whore.src, then call the image Badge-Whore.png).

# Mozilla search plugin for Badge-Hunter.com through Google
# by StarGeek
# This file is released into the public domain.
#
# Version: 0.9 (May 20, 2006)
<SEARCH version="7.1"
        name="Badge-Hunter.com"
        description="Search on Badge-Hunter.com"
        method="GET"
action="http://Google.com/search"
searchForm="http://Google.com"
        queryCharset="UTF-8"
>

<input name="q" user>
<input name="q" value="site:Badge-Hunter.com">
</search>

City of Heroes Forum Search plugin

Due to the recent forum upgrade, this plugin is currently non-functional. A fix will be coming soon.

This plugin will search all forums on the City of Heroes boards for the term entered. Unlike the search on the CoH boards, it doesn't default to only the previous week. If you prefer the City of Villains skin for the board, change the line action="http://boards.CityOfHeroes.com/dosearch.php" to action="http://boards.CityOfVillains.com/dosearch.php".

It is highly suggested that you prefix any search term you use with a plus sign +, due to the way the City of Heroes Forum search works.

For Firefox, right click on this image CoHBoards.png and save it in the SearchPlugins directory, with same name you gave the the search plugin, but with a .png extension (i.e. if you named the plugin CoHBoards.scr, then call the image CohBoards.png).

# Mozilla search plugin for the City of Heroes forums
# by StarGeek
# This file is released into the public domain.
#
# Version: 0.9 (June 29, 2006)
<SEARCH version="7.1"
        name="City of Heroes Forum"
        description="Search on the City of Heroes Forums"
        method="GET"
action="http://boards.CityOfHeroes.com/dosearch.php"
searchForm="http://boards.CityOfHeroes.com/search.php"
        queryCharset="UTF-8"
>

<input name="Words" user>
<input name="Forum%5B%5D" Value="All_Forums">
<input name="where" Value="bodysub">
<input name="Limit" Value="25">
</search>

Creating individual forum search

The above search will search the entire forums. If you wish to create a search that will search though one or more specific forums, you can remove the <input name="Forum%5B%5D" Value="All_Forums"> line and replace it with one or more of the bolded sections in the following list. For example, if you want to create a seach that only searches the 'Announcements' and 'The Training Room' sections of the board, you would add two lines, <input name="Forum%5B%5D" Value="f12"> and <input name="Forum%5B%5D" Value="f17">.

  • Development, <input name="Forum%5B%5D" Value="c1">
    • Developers Corner, <input name="Forum%5B%5D" Value="f43">
    • Announcements, <input name="Forum%5B%5D" Value="f12">
    • Technical Issues and Bugs, <input name="Forum%5B%5D" Value="f20">
    • The Training Room (Test Server), <input name="Forum%5B%5D" Value="f17">
  • Players Choice Awards 2006, <input name="Forum%5B%5D" Value="c2">
    • Players Choice Awards 2006, <input name="Forum%5B%5D" Value="f59">
  • Player Help and Ideas, <input name="Forum%5B%5D" Value="c3">
    • Suggestions and Ideas, <input name="Forum%5B%5D" Value="f41">
    • Player Questions, <input name="Forum%5B%5D" Value="f42">
    • Badges and Gladiators, <input name="Forum%5B%5D" Value="f45">
    • Player Events, <input name="Forum%5B%5D" Value="f58">
    • Player Guides, <input name="Forum%5B%5D" Value="f23">
  • *Archetypes And Powers, <input name="Forum%5B%5D" Value="c4">
    • Archetypes and Powers General Discussion, <input name="Forum%5B%5D" Value="f19">
    • Blaster, <input name="Forum%5B%5D" Value="f24">
    • Brutes, <input name="Forum%5B%5D" Value="f50">
    • Controller, <input name="Forum%5B%5D" Value="f25">
    • Corruptor, <input name="Forum%5B%5D" Value="f52">
    • Defender, <input name="Forum%5B%5D" Value="f26">
    • Dominator, <input name="Forum%5B%5D" Value="f54">
    • Kheldian, <input name="Forum%5B%5D" Value="f44">
    • Mastermind, <input name="Forum%5B%5D" Value="f53">
    • Scrapper, <input name="Forum%5B%5D" Value="f27">
    • Stalker, <input name="Forum%5B%5D" Value="f51">
    • Tanker, <input name="Forum%5B%5D" Value="f28">
  • Player vs. Player, <input name="Forum%5B%5D" Value="c5">
    • PvP Zones, <input name="Forum%5B%5D" Value="f49">
    • PvP General, <input name="Forum%5B%5D" Value="f55">
  • Bases, <input name="Forum%5B%5D" Value="c6">
    • Base Construction, <input name="Forum%5B%5D" Value="f47">
    • Base Raids, <input name="Forum%5B%5D" Value="f48">
  • For Fun!, <input name="Forum%5B%5D" Value="c7">
    • General Discussion - CoH, <input name="Forum%5B%5D" Value="f13">
    • General Discussion - CoV, <input name="Forum%5B%5D" Value="f40">
    • Supergroups, <input name="Forum%5B%5D" Value="f15">
    • Comic and Hero/Villain Culture, <input name="Forum%5B%5D" Value="f14">
    • >Roleplaying, <input name="Forum%5B%5D" Value="f16">
    • Screenshots and Fan Art, <input name="Forum%5B%5D" Value="f22">
    • Forum Games, <input name="Forum%5B%5D" Value="f57">
  • Servers, <input name="Forum%5B%5D" Value="c8">
    • Champion, <input name="Forum%5B%5D" Value="f29">
    • Freedom, <input name="Forum%5B%5D" Value="f30">
    • Guardian, <input name="Forum%5B%5D" Value="f31">
    • Infinity, <input name="Forum%5B%5D" Value="f32">
    • Justice, <input name="Forum%5B%5D" Value="f33">
    • Liberty, <input name="Forum%5B%5D" Value="f34">
    • Pinnacle, <input name="Forum%5B%5D" Value="f35">
    • Protector, <input name="Forum%5B%5D" Value="f36">
    • Triumph, <input name="Forum%5B%5D" Value="f37">
    • Victory, <input name="Forum%5B%5D" Value="f38">
    • Virtue, <input name="Forum%5B%5D" Value="f39">

Red Tomax's NoFuture.org.uk plugin

The NoFuture plugin searches NoFuture using Google. Some search terms will pull up non-CoH/V entries (for example, Blaster search pulls up some transformer entries), since Red's site has more than just CoH/V pages.

# Mozilla search plugin for Red Tomax's www.nofuture.org.uk through Google
# by StarGeek
# This file is released into the public domain.
#
# Version: 0.9 (May 20, 2006)
<SEARCH version="7.1"
        name="NoFuture.org.uk"
        description="Search on Red Tomax's NoFuture.org.uk"
        method="GET"
action="http://Google.com/search"
searchForm="http://Google.com"
        queryCharset="UTF-8"
>

<input name="q" user>
<input name="q" value="site:www.NoFuture.org.uk">
</search>

For a heroic- or villainous-specific search of NoFuture, just append /coh or /cov to the site:www.NoFuture.org.uk value respectively. This will eliminate any unrelated hits in the results.

Vidiot Maps

The VidiotMaps.com plugin search Vidiot Maps using Google.

For Firefox, right click on this image VidiotMaps.png, and save it in the SearchPlugins directory, with same name you gave the the search plugin, but with a .png extension (i.e. if you named the plugin VidiotMaps.scr, then call the image VidiotMaps.png).

# Mozilla search plugin for VidiotMaps.com through Google
# by StarGeek
# This file is released into the public domain.
#
# Version: 0.9 (May 20, 2006)
<SEARCH version="7.1"
        name="VidiotMaps.com"
        description="Search on VidiotMaps.com"
        method="GET"
action="http://Google.com/search"
searchForm="http://Google.com"
        queryCharset="UTF-8"
>

<input name="q" user>
<input name="q" value="site:VidiotMaps.com">
</search>

External Links