Simple Machines Community Forum

General Community => Site Comments, Issues and Concerns => Topic started by: Trekkie101 on February 15, 2005, 01:24:01 PM

Title: Firefox Search Plugin for here!
Post by: Trekkie101 on February 15, 2005, 01:24:01 PM
Like the Google Plugin?

Love searching things from any site and very fast and want to do the same for SMF, well now you can. Introducing the SMF Firefox Search Bar Plugin!

Screenshots:
(http://img155.exs.cx/img155/9548/smfscreen13se.png)


(http://img155.exs.cx/img155/202/smfscreen29gb.png)


This will only work here although you could quite easily make your own. Ill share my code if anyone interested.

To get it just goto http://smf.oldiesmann.us/smf.htm and there should be a link to add it.


So What does it do?
Gives a simple search bar in Firefox with an SMF logo and lets you search these forums

What doesn't it give?
Access to the latest beta!

Anyway enjoy!

Title: Re: Firefox Search Plugin for here!
Post by: Oldiesmann on February 15, 2005, 01:26:00 PM
Sweet! :D
Title: Re: Firefox Search Plugin for here!
Post by: Owdy on February 15, 2005, 01:30:53 PM
Nice! Thanks :D
Title: Re: Firefox Search Plugin for here!
Post by: Trekkie101 on February 15, 2005, 05:10:56 PM
Quote from: Oldiesmann on February 15, 2005, 01:26:00 PM
Sweet! :D
hehe

Quote from: Owdy on February 15, 2005, 01:30:53 PM
Nice! Thanks :D
No probs

Took a while, becuase of the 3 ways I tried to get the search string, one gave ahuge list of characters, the other wouldnt accept action and finnally I just based it on how the box at the top works, the community thing so its working now anyway.
Title: Re: Firefox Search Plugin for here!
Post by: Pause on February 15, 2005, 09:59:12 PM
Nice one - any chance of looking at the code plz? I know I'm not a coder or anything, but I'm hoping that it wouldn't be too hard (plus I'm trying to learn various coding when I can)...
Title: Re: Firefox Search Plugin for here!
Post by: Jerry on February 15, 2005, 11:27:05 PM
looks like it's just javascript matt ;)
<script type="text/javascript">
<!--
function errorMsg()
{
  alert("Netscape 6 or Mozilla is needed to install a sherlock plugin");
}
function addEngine(name,ext,cat)
{
  if ((typeof window.sidebar == "object") && (typeof
  window.sidebar.addSearchEngine == "function"))
  {
    //cat="Web";
    //cat=prompt('In what category should this engine be installed?','Web')
    window.sidebar.addSearchEngine(
      "http://www.t101.uni.cc/plugins/"+name+".src",
      "http://www.t101.uni.cc/plugins/"+name+"."+ext,
      name,
      cat );
  }
  else
  {
    errorMsg();
  }
}
//-->

</script>

<a href="javascript:addEngine('smf','PNG','General')">Simple Machines Search Plugin</a>
Title: Re: Firefox Search Plugin for here!
Post by: Trekkie101 on February 16, 2005, 02:51:39 AM
For the code for the search thing just open smf.src in notepad or similar and the code is sittiing in there. :) Just plainly, if you look long enough you may notice how easy it actually is.  :)
Title: Re: Firefox Search Plugin for here!
Post by: Owdy on February 16, 2005, 03:12:23 AM
We should host this script in here :)
Title: Re: Firefox Search Plugin for here!
Post by: Midgard on February 16, 2005, 03:14:39 AM
Very nice! Thank you Trekkie :)
Title: Re: Firefox Search Plugin for here!
Post by: Trekkie101 on February 16, 2005, 05:49:27 AM
Quote from: Owdy on February 16, 2005, 03:12:23 AM
We should host this script in here :)

hehe

Also SMF Team it would be great if you hosted the plugin here instead, but ive hosted it because of the Javascript installer thing

Quote

Yeah it would be a bit better.
Title: Re: Firefox Search Plugin for here!
Post by: Oldiesmann on February 16, 2005, 09:40:25 AM
I can't get to this (at least not from school)... Firefox sits there trying to load that page for about 30 seconds or so before telling me "The document contains no data"... Might be due to the firewall they've got on the network here.
Title: Re: Firefox Search Plugin for here!
Post by: Pause on February 16, 2005, 09:59:36 AM
Quote from: Oldiesmann on February 16, 2005, 09:40:25 AM
I can't get to this (at least not from school)... Firefox sits there trying to load that page for about 30 seconds or so before telling me "The document contains no data"... Might be due to the firewall they've got on the network here.
No, I'm getting the same here - although I got it earlier, the page seem to want to load now...
Title: Re: Firefox Search Plugin for here!
Post by: Trekkie101 on February 16, 2005, 10:51:36 AM
Host seems to be having some trouble right now. Ill post it on a backup host soon!
Title: Re: Firefox Search Plugin for here!
Post by: Trekkie101 on February 16, 2005, 11:17:49 AM
New link on top post sorry guys.
Title: Re: Firefox Search Plugin for here!
Post by: Oldiesmann on February 16, 2005, 11:30:02 AM
Sweet. That one worked! Thanks :D
Title: Re: Firefox Search Plugin for here!
Post by: Trekkie101 on February 16, 2005, 12:01:14 PM
Hosts server needed restarted. Something to do with a conflict with the kernel or something  :-\

EDIT: Scored out new link, first ones working again but there incase needed.
Title: Re: Firefox Search Plugin for here!
Post by: David on February 21, 2005, 07:34:17 PM
Can it be uploaded here? https://addons.update.mozilla.org/
Title: Re: Firefox Search Plugin for here!
Post by: Trekkie101 on February 22, 2005, 11:12:49 AM
Well I suppose it could but it wouldnt be universal, it would still only work here. Maybe the mycroft site would be better for it. http://mycroft.mozdev.com/

Thats the plugin search bar site.

What do you all think?

Although it takes 3 weeks to appear.
Title: Re: Firefox Search Plugin for here!
Post by: ArkServer on August 03, 2005, 06:16:51 PM
is it possible to make if work for my site? b/c its pretty neat  :D
Title: Re: Firefox Search Plugin for here!
Post by: Trekkie101 on August 03, 2005, 06:44:39 PM
Yeah open the .src file, change the URL, done :)
Title: Re: Firefox Search Plugin for here!
Post by: Zenigata on August 05, 2005, 08:36:55 AM
Quote from: Trekkie101 on August 03, 2005, 06:44:39 PM
Yeah open the .src file, change the URL, done :)

Where can i find the .src file?

Thanks
Title: Re: Firefox Search Plugin for here!
Post by: Trekkie101 on August 05, 2005, 08:41:45 AM
C:/Program Files/Mozilla Firefox/searchplugins/smf.src

:)
Title: Re: Firefox Search Plugin for here!
Post by: Alexandre P. on August 06, 2005, 07:04:58 PM
Works great !  If you see no problem (I guess no, seeing the answer you gave to ArkServer ;)), I'll adapt it for my site.  This is really helpful !
Title: Re: Firefox Search Plugin for here!
Post by: Trekkie101 on August 06, 2005, 07:32:58 PM
Quote from: Alexandre P. on August 06, 2005, 07:04:58 PM
Works great !  If you see no problem (I guess no, seeing the answer you gave to ArkServer ;)), I'll adapt it for my site.  This is really helpful !

Theres not a problem what so ever. I didnt really think anyone would find it that useful.
Although ill identify a problem youll maybe have, make sure to update the second location for your specific version, or in 30 days it'll call my site for its anual update, and then your members will get my code which searches here instead of your site.
Title: Re: Firefox Search Plugin for here!
Post by: Alexandre P. on August 06, 2005, 08:23:03 PM
Thanks for the info ;)
Title: Re: Firefox Search Plugin for here!
Post by: Trekkie101 on August 06, 2005, 08:24:38 PM
Quote from: Alexandre P. on August 06, 2005, 08:23:03 PM
Thanks for the info ;)
Never thought about it myself, until the smf.src file started being hit the other day, then I realised why.
Title: Re: Firefox Search Plugin for here!
Post by: shirishag75 on September 08, 2005, 03:43:10 AM
Hi trekkie,
              thanx first of all for the plugin. Would also do the same for a site where I'm a member the only thing is the *.png icon which in u'r case goes to the same site from where we downloaded this one. Possible to package it with the plug-in or something like this. Let me say I'm not a programmer just a user but of-late do some little tweaking around.
Title: Re: Firefox Search Plugin for here!
Post by: choco on October 08, 2005, 12:11:56 PM
Does any one have a another link for this
Title: Re: Firefox Search Plugin for here!
Post by: Gargoyle on October 08, 2005, 12:25:00 PM
I would love to use this but I cannot download it ? Can you e-mail it to me trekkie ??
Title: Re: Firefox Search Plugin for here!
Post by: ExistenZ on October 08, 2005, 12:35:53 PM
the download link thingy doesn't work...but i cannot wait to add it to firefox.
Title: Re: Firefox Search Plugin for here!
Post by: Anakin_holland on October 08, 2005, 12:42:38 PM
Just noticed this thread... Would be great to add this to my firefox! :P And even better to add this to my website! 8)

Pretty Please!?
Title: Re: Firefox Search Plugin for here!
Post by: Trekkie101 on October 08, 2005, 01:05:58 PM
Sorry, really sorry guys!

http://www.ihsezine.com/trekkie/smf.htm - that should be it now

Sorry again!

But its fixed :)

~Trekkie
Title: Re: Firefox Search Plugin for here!
Post by: Gargoyle on October 08, 2005, 01:13:30 PM
Vey cool thanks much!
Title: Re: Firefox Search Plugin for here!
Post by: ExistenZ on October 08, 2005, 01:16:04 PM
thanks.
Title: Re: Firefox Search Plugin for here!
Post by: Anakin_holland on October 08, 2005, 01:24:07 PM
Thank you! Just tested it, but (and maybe I overlooked something obvious?) this might only work in Windows...?

It just won't install when I use Linux? I Should mention however I can't take at a look at any page source whatsoever, so it might as well just be a cripple install on my end?

Greetz!

Anakin
Title: Re: Firefox Search Plugin for here!
Post by: Trekkie101 on October 08, 2005, 01:28:41 PM
Quote from: Anakin_holland on October 08, 2005, 01:24:07 PM
Thank you! Just tested it, but (and maybe I overlooked something obvious?) this might only work in Windows...?

It just won't install when I use Linux? I Should mention however I can't take at a look at any page source whatsoever, so it might as well just be a cripple install on my end?

Greetz!

Anakin

Should work cross platform, does for me. What version of Firefox are you using, and try a stock stable release from mozilla (1.0.7) and tell me if that doesnt work.
Title: Re: Firefox Search Plugin for here!
Post by: Anakin_holland on October 08, 2005, 01:39:20 PM
Quote from: Trekkie101 on October 08, 2005, 01:28:41 PM
Should work cross platform, does for me. What version of Firefox are you using, and try a stock stable release from mozilla (1.0.7) and tell me if that doesnt work.

Will try lateron. Have installed 1.0.6, updated to 1.0.7 with 4 extensions:

I have the same version and extensions in Windows, and that does work. I will give it a try lateron, or maybe tomorrow!

Anakin
Title: Re: Firefox Search Plugin for here!
Post by: Trekkie101 on October 08, 2005, 04:14:40 PM
Quick update,

To ensure future access to the plugin, oldiesmann is now very kindly hosting it.

http://smf.oldiesmann.us/smf.htm

So thats where it'll be in future :)

Edit - you spelled my name wrong :P
Title: Re: Firefox Search Plugin for here!
Post by: forsakenlad on October 08, 2005, 04:29:54 PM
Really useful, thanks Trekkie101 ;)
Title: Re: Firefox Search Plugin for here!
Post by: anna.young on October 10, 2005, 01:27:43 AM
Very neat, perfect shortcut, thank you.  Still, 'stress on the server' stops you in exactly the same way.

Somebody with the script to override this message could make a fortune...  ;) (jk)

Anna
Title: Re: Firefox Search Plugin for here!
Post by: Pause on October 10, 2005, 08:23:16 AM
Quote from: Trekkie101 on October 08, 2005, 04:14:40 PM
Quick update,

To ensure future access to the plugin, oldiesmann is now very kindly hosting it.

http://smf.oldiesmann.us/smf.htm

So thats where it'll be in future :)

Edit - you spelled my name wrong :P
If you like, I could also host a mirror? (I'm on a dedicated server run by a friend so it'd be no problem  ;D)
Title: Re: Firefox Search Plugin for here!
Post by: Simplemachines Cowboy on October 11, 2005, 12:56:37 PM
SWEET!
Thank you.
Title: Re: Firefox Search Plugin for here!
Post by: Wounded Knee on October 11, 2005, 05:06:32 PM
great!!

thank you.
Title: Re: Firefox Search Plugin for here!
Post by: JayBachatero on October 11, 2005, 05:16:08 PM
I love this plugin.  Been using it since it was made.  Good job Trekkie.
Title: Re: Firefox Search Plugin for here!
Post by: daragor on May 08, 2007, 01:16:47 PM
please u can send me the smf.src file? this is hide in my pc. thanks and sorry x my english

a link?
Title: Re: Firefox Search Plugin for here!
Post by: Oldiesmann on May 15, 2007, 10:24:11 AM
daragor - the old plugin with the ".src" file won't work with the latest version of Firefox. Firefox uses a different technology now. I'll have to check to see if we have a newer version of that plugin laying around, especially since IE7 uses the same technology for their search bar.
Title: Re: Firefox Search Plugin for here!
Post by: Alan S on May 15, 2007, 04:18:31 PM
Works fine for me , Tried it out on FF 2.0.3 and its fine.
Title: Re: Firefox Search Plugin for here!
Post by: SleePy on May 15, 2007, 05:11:05 PM
Oldiesmann,
It still functions.
But I do have the same thing working on my site for the Main site, Docs, Mods and Themes sites as well (and php site for my quick function lookups).
Title: Re: Firefox Search Plugin for here!
Post by: Oldiesmann on May 22, 2007, 06:53:15 PM
We should still update it to use the OpenSearch format :)
Title: Re: Firefox Search Plugin for here!
Post by: SleePy on May 22, 2007, 10:59:29 PM
Quote from: Oldiesmann on May 22, 2007, 06:53:15 PM
We should still update it to use the OpenSearch format :)

Feel free to pull the xml file from my site that does it if you wish, Oldiesmann.
Title: Re: Firefox Search Plugin for here!
Post by: ivo2296 on March 01, 2008, 07:52:30 PM
Hi,

nice trick but wonder.... is it possible to make few plugins for search in particular boards only, cause currently it searches in whole forum?

Thanks!