News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

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

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

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

Zenigata

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

Trekkie101

C:/Program Files/Mozilla Firefox/searchplugins/smf.src

:)

Alexandre P.

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 !
Aucun support par M.P., courriel ou messagerie instantanée / No support by P.M., email or I.M.

Trekkie101

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.

Alexandre P.

Aucun support par M.P., courriel ou messagerie instantanée / No support by P.M., email or I.M.

Trekkie101

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.

shirishag75

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.
Shirish Agarwal
      Life is a dream Enjoy it!

choco

Does any one have a another link for this

Gargoyle

I would love to use this but I cannot download it ? Can you e-mail it to me trekkie ??

ExistenZ

the download link thingy doesn't work...but i cannot wait to add it to firefox.
Regards,
Andre

Anakin_holland

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!?

Trekkie101

Sorry, really sorry guys!

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

Sorry again!

But its fixed :)

~Trekkie

Gargoyle


ExistenZ

Regards,
Andre

Anakin_holland

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

Trekkie101

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.

Anakin_holland

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:

  • User Agent Switcher
  • Dictionary search
  • Auto copy
  • HTML Validator
I have the same version and extensions in Windows, and that does work. I will give it a try lateron, or maybe tomorrow!

Anakin

Trekkie101

#37
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

forsakenlad

Eren "forsakenlad" Yaşarkurt
SMF Friend & Former Team Member

anna.young

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
Toronto German Shepherd Dog Rescue

"Here's to the crazy ones, the misfits, the rebels, the troublemakers, the round pegs in the square holes... the ones who see things differently -- they're not fond of rules... You can quote them, disagree with them, glorify or vilify them, but the only thing you can't do is ignore them because they change things... they push the human race forward, and while some may see them as the crazy ones, we see genius, because the ones who are crazy enough to think that they can change the world, are the ones who do." (SJ)

Pause

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

Bite Fusion
Fusion Web Network
VG Fusion
Wrestling Fusion

Simplemachines Cowboy

My SMF forum: The Open Range

Wounded Knee


JayBachatero

I love this plugin.  Been using it since it was made.  Good job Trekkie.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

daragor

#44
please u can send me the smf.src file? this is hide in my pc. thanks and sorry x my english

a link?
Webscom: Wordpress + SMF
Software Libre, Noticias y Entretenimiento.-

Oldiesmann

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

Alan S

Works fine for me , Tried it out on FF 2.0.3 and its fine.
Quote from: Eliana Tamerin on August 23, 2008, 04:10:10 PM
SMF 7 is where it gets good. That has time travel. You can go back and post before the guy who flamed you. :P

SleePy

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).
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

Oldiesmann

We should still update it to use the OpenSearch format :)
Michael Eshom
Christian Metal Fans

SleePy

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.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

ivo2296

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!

Advertisement: