News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Firefox Search Plugin for here!

Started by Trekkie101, February 15, 2005, 01:24:01 PM

Previous topic - Next topic

Trekkie101

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:






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!


Oldiesmann

Michael Eshom
Christian Metal Fans

Owdy

Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Trekkie101

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.

Pause

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)...
"You and me, inside that box, now." - The Doctor

Bite Fusion
Fusion Web Network
VG Fusion
Wrestling Fusion + Wrestling Fusion Forums

Jerry

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>


- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

"If all you look for is the negative in things, you will never see the positive."

Trekkie101

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.  :)

Owdy

Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Midgard


Trekkie101

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.

Oldiesmann

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.
Michael Eshom
Christian Metal Fans

Pause

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...
"You and me, inside that box, now." - The Doctor

Bite Fusion
Fusion Web Network
VG Fusion
Wrestling Fusion + Wrestling Fusion Forums

Trekkie101

Host seems to be having some trouble right now. Ill post it on a backup host soon!

Trekkie101


Oldiesmann

Michael Eshom
Christian Metal Fans

Trekkie101

#15
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.

David

This space for rent.

Trekkie101

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.

ArkServer

is it possible to make if work for my site? b/c its pretty neat  :D

Trekkie101

Yeah open the .src file, change the URL, done :)

Advertisement: