Ranger Archive

Thread: Hey Firefox Users: Ranger Forum Search Plugin.

WildBil2Me
Thu Jul 28, 2005 8:08 pm
#1

Well, this week I learned how to write searchplugins for Firefox.


The Lithium search is obviously a bit wacky, but I've figured out a way to search the forums directly via my own Firefox plugin. This plugin will only search the Ranger forum right now, but I'm working on confirming it for other forums as well as the whole galaxies forum site. **You'll need one plugin for each forum you want to search plus one for the entire forum itself so it's basically a pick and choose sort of thing**


Here's what you do:



  1. Open up your favorite Text Editor (I recommend the Open Source Notepad++)

  2. Save the blank file as rangerforum.src in the Firefox searchplugins directory (default= /program files/mozilla firefox/searchplugins/)

  3. Enter the following text and then resave it.


*snip*

Once that's done you can close firefox and reopen it. There will be a blank icon next to the words RangerForums. Click it and type in your search query...


All matching results from the Ranger forum will turn up in the resulting window!!


Like I said, Lithium searches can be wonky so I'm working on a plugin that was featured on AOTS a few weeks that will make google search sites as well. Basically... it would be the google search results window but with crawled results from the SWGForums. I'm testing it to see if I can get it to run through the lithium forums ... that should be done by tomorrow I think. Basically just a case of me gettin to it.


I hope you enjoy. This post has been archived at SWGRanger.com.

P.S. you can get a nifty icon to replace that blank space by reading the article at SWGRanger.com

Message Edited by WildBil2Me on 07-28-2005 11:17 PM



Col. Wyndinn Maer
Antarian Rangers: Wanderhome
SWGRanger.com
WildBil2Me
Thu Jul 28, 2005 8:18 pm
#2

I had to remove the code due to issues with lithium displaying it in a post. The code is available at SWGRanger.com though.



Col. Wyndinn Maer
Antarian Rangers: Wanderhome
SWGRanger.com
LastEE
Thu Jul 28, 2005 8:19 pm
#3

NICE! But when clicking on the link for the additional icon

The page you tried to access does not exist on this server. This page may not exist due to the following reasons:

1. You are the owner of this web site and you have not uploaded (or incorrectly uploaded) your web site. For information on uploading your web site using FTP client software or web design software, click here for FTP Upload Information.

2. The URL that you have entered in your browser is incorrect. Please re-enter the URL and try again.

3. The Link that you clicked on incorrectly points to this page. Please contact the owner of this web site to inform them of this situation.



Pida, Master Ranger, Master Creature Handler
Kobak, Master Commando, Master BH
Muddy Master DE, Master WS
Katrina' Master Doc, Master ID, Musician

Bye
WildBil2Me
Thu Jul 28, 2005 8:28 pm
#4


forgot to upload it LOL... fixing that now.


Fixed: it's set so just download it to the right directory ... as described above lol.

Message Edited by WildBil2Me on 07-28-2005 11:30 PM



Col. Wyndinn Maer
Antarian Rangers: Wanderhome
SWGRanger.com
LastEE
Thu Jul 28, 2005 8:36 pm
#5

I had never even used that feature previously... I always go to google's main page anyway. I think I can type google.com as fast as I can click a button. There's something very non-distracting about the main google page so I had to do an areatrack to find where these other search features were hiding.

Very impressive versus trying to use lithium directly!



Pida, Master Ranger, Master Creature Handler
Kobak, Master Commando, Master BH
Muddy Master DE, Master WS
Katrina' Master Doc, Master ID, Musician

Bye
WildBil2Me
Thu Jul 28, 2005 8:44 pm
#6







LastEE wrote:
I had never even used that feature previously... I always go to google's main page anyway. I think I can type google.com as fast as I can click a button. There's something very non-distracting about the main google page so I had to do an areatrack to find where these other search features were hiding.

Very impressive versus trying to use lithium directly!




What's funny is that suddenly its not working for me. I'm checking the syntax again now to see if I can streamline it a bit.


It appears lithium search went down... hopefully its unrelated LOL

Message Edited by WildBil2Me on 07-28-2005 11:47 PM



Col. Wyndinn Maer
Antarian Rangers: Wanderhome
SWGRanger.com
BioEngine
Thu Jul 28, 2005 9:20 pm
#7

Ranger nerd




You're going to feel out of your roleplaying place once Ranger goes to creature-only, tech boy






























btw, good job.



Account active 'till November 10th, contact me on forum name:
Stamina
Nemo0
Thu Jul 28, 2005 11:49 pm
#8

Cool tool.

Are you sure this doesn't violate any sort of forum policy? I don't know if it does but it might be worth sending a PM to one of the mods or TH/Tiggs to double check.



Lythender Nirou
Crazy Bothan


YT-2000
Fri Jul 29, 2005 4:42 am
#9

Hey, nice job

Also, I checked to see if it works when searching the whole site. I just deleted the line:

input name="board_id" value="ranger"

It's a nice change from "Sorry, the search service is currently unavailable. Please wait a few minutes and try again."



Hebi Aepam
Retired Hunter - Creature Expert
Once a Ranger, always a Ranger
Almagill
Fri Jul 29, 2005 5:12 am
#10

Nice one Bill (sites looking cool too now)

I'll use your plugin for my rangerly searches, cos it looks like a cool tool, though I have the googletoolbar plugin on FF already.



New HOWTO: Gather Milk, Fish, Mollusk, etc.
Remember Rangers. Broke camp and took the Long Walk 15/11/05
Keeping it Real, Ranger Style
Yivvits and MrBubble - THE podcast


\\\\\\MY OTHER SIG IS A BUMPER STICKER\\\\\\
WildBil2Me
Fri Jul 29, 2005 7:41 am
#11








YT-2000 wrote:
Hey, nice job

Also, I checked to see if it works when searching the whole site. I just deleted the line:

input name="board_id" value="ranger"


Yep that will execute the full search. I'm just not sure if its limited to 30days or not. There's a way to set it to search a larger time span which I'm going to confirm tonight.


You can also change the value="" part to, say, scout and it will search the scout boards instead. I haven't looked at how to get it working for professions or boards with multiple words in the title yet.



This is basically just an ... as I have 2 minutes project :-)



It's a nice change from "Sorry, the search service is currently unavailable. Please wait a few minutes and try again."


Unfortunately you will still get that message when lithium is busy, but the search bar will make finding that screen a bit easier. I've got a search setup that will use google to search the forums but the results are iffy. I'm trying to see where the shortcoming in the search parameters are so I can widen the possible results. Having NO idea what I'm doing its really just trial and error plus some careful attention to search strings. LOL.










Col. Wyndinn Maer
Antarian Rangers: Wanderhome
SWGRanger.com
Owen-Lars
Fri Jul 29, 2005 3:50 pm
#12

Nice work man. That stuff completely goes over my headbut its cool.



THORTAC BALCOR
The Lost Ranger
RANGER
Kaomond
Fri Jul 29, 2005 10:54 pm
#13








WildBil2Me wrote:








YT-2000 wrote:
Hey, nice job

Also, I checked to see if it works when searching the whole site. I just deleted the line:

input name="board_id" value="ranger"


Yep that will execute the full search. I'm just not sure if its limited to 30days or not. There's a way to set it to search a larger time span which I'm going to confirm tonight.


You can also change the value="" part to, say, scout and it will search the scout boards instead. I haven't looked at how to get it working for professions or boards with multiple words in the title yet.



This is basically just an ... as I have 2 minutes project :-)



It's a nice change from "Sorry, the search service is currently unavailable. Please wait a few minutes and try again."


Unfortunately you will still get that message when lithium is busy, but the search bar will make finding that screen a bit easier. I've got a search setup that will use google to search the forums but the results are iffy. I'm trying to see where the shortcoming in the search parameters are so I can widen the possible results. Having NO idea what I'm doing its really just trial and error plus some careful attention to search strings. LOL.












Use and underscore for the space, for example TKA boards would be teras_kasi_artist


Although you may have to go through each board and check it individually, some of them aren't named with spaces, for example bio engineers board id is bio-engineer and core systems id is csystems whereas force sensetive forums id is forcesensitive



Message Edited by Kaomond on 07-30-2005 06:57 AM




Kaomond Medi / Kaomir Medi / Belios Goveko / Kao' Medi

Chimaera / Bloodfin


Founding Member of BEta(BE Training Academy) the non-profit
'
BE for fun and research' organization



Page 1 of 1
Previous Next