Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Firefox searchplugins - Create search for sevenforums.com

29 Oct 2011   #1

Windows 7 Ultimate 64bit
 
 
Firefox searchplugins - Create search for sevenforums.com

Hello 7,

I am attempting to create a selection in the Firefox search engines that works with sevenforums advanced search.

The screenshot below shows that I have successfully created the selection:

Name:  Capture.PNG
Views: 8
Size:  98.5 KB

I've created this by editing the criteria that was in the default bing-search.xml, then I saved the SevenForums-search.xml to the profile folder located at:

%AppData%Roaming\Mozilla\Firefox\Profiles\~~~~.~~~~\searchplugins\SevenForums-search.xml

But it doesn't work

It only leads me to the main SevenForums page. I believe this is due to the actual search-link that I need to use.

Does anyone know the correct data that needs to be in this .xml file for this to work?

Thanks!




My System SpecsSystem Spec
.

29 Oct 2011   #2

Windows 7 32 bit
 
 

This works on FireFox:
Firefox Search Plugins Generator

Not sure about getting to advanced search. You may have to fiddle with it a bit.

edit: I've used that generator but it's been over a year. So I forget the gory details.
My System SpecsSystem Spec
29 Oct 2011   #3

Windows 7 Ultimate 64bit
 
 

Thanks MilesAhead,

I have tried multiple formats and cannot seem to come up with the proper wording to get this to work... Thanks for the site link though, this will come in very handy for future projects
My System SpecsSystem Spec
.


29 Oct 2011   #4

Windows 7 32 bit
 
 

Try this one:

Semantic Void :: Mozilla Firefox Search Plugin Creator

I got this
Code:
<search
version='7.1'
name='Seven Forums'
description='Windows Seven Forums'
action='http://www.sevenforums.com/search.php'
searchForm='http://www.sevenforums.com/search.php'
method='GET'
>
<input name="searchid" user >
<input name="sourceid" value="Mozilla-search">
</search>
<browser
update="http://www.sevenforums.com"
updateCheckDays="http://www.sevenforums.com"
>
Not sure if I did it right.
My System SpecsSystem Spec
30 Oct 2011   #5

Windows 7 Ultimate 64bit
 
 

I found a solution, although it wasn't nearly as simple as I'd hoped it would be. I followed the information provided here. The information provided by PCWiz isn't correct in several places, but it guided my in the right direction.

The final result gave me a search bar plugin for a Google CSE (Custom Search Engine)
Firefox searchplugins - Create search for sevenforums.com-untitled.png

My final code is as follows:

Code:
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>SevenForums</ShortName>
<Description>Search SevenForums</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16" type="image/x-icon"></Image>
<Url type="text/html" method="get" template="http://www.sevenforums.com/gtsearch.php?">
<Param name="cx" value="partner-pub-7156303416008077%3Ahfslqp-2rmq"/>
<Param name="q" value="{searchTerms}"/>
<Param name="sa" value="Search"/>
<Param name="cof" value="FORID%3A9?"/>
</Url>
<SearchForm>http://www.sevenforums.com/gtsearch</SearchForm>
</SearchPlugin>
Anyone wishing to use this for their own personal search plugin needs to copy the code above into a text file and save it as "sevenforums.xml" Next, edit the code on line 7 to show your specific UserID. The text that needs to be edited for your UserID is highlighted in blue.

You can easily find this information by performing a search on sevenforums, then copy the needed data from the resulting url in the navigation toolbar.

If you have used the default installation settings with firefox, you can place the saved .xml file in either one or both of these directories:

To enable access to the search plugin for a specific user:
%AppData%\Roaming\Mozilla\Firefox\Profiles\~~~~.~~~~\searchplugins\sevenforums.xml

To enable access to the search plugin for all users:
%Program Files%\Mozilla Firefox\searchplugins\sevenforums.xml

I hope others find this useful I will try to tweak this over time to see if I can make it better.

Happy Travels,
Tim


My System SpecsSystem Spec
30 Oct 2011   #6

Windows 7 32 bit
 
 

Thanks for posting the solution. I added a few to the Firefox Plugin Dropdown awhile back. It's been so long I forgot how I did it though.

I switched to Chromium as my default browser 8 or 10 months ago. Instead of having to select from a drop down you do the searches out of the address bar. You can set a few letters as prefix to let it know which engine. For example I just added Windows Seven Forums advanced search in a few seconds.

Do the search. Then go into Settings, Manage Search Engines. Add a name. The letter prefix for the entry then paste in the search string from the result page and just change the search term to "%s" and it's done.

The main drawback is sometimes Chromium just keeps collecting them. I just cleaned out about 16 that accumulated. But the overall system is a lot simpler.

edit: here's a screen shot of the search settings page:

Firefox searchplugins - Create search for sevenforums.com-search.png


About the only thing it doesn't give you out of the address bar is multiple engine simultaneous search. But I have no need of it so I haven't really looked to see if there is an extension for it.


My System SpecsSystem Spec
30 Oct 2011   #7

Windows 7 Ultimate 64bit
 
 

Nice! I haven't used anything but Firefox for a couple years now. I've gotten so used to it that I don't want to learn something new all over again. I am getting really tired of the MASSIVE footprint that the newer versions have. I did try to switch over to Chrome at one point, but switched back as soon as I noticed the saved passwords are unencrypted. How unbelievable is that!? And their forum basically said "We know, but we aren't changing it." Craziness... I will stick with my Mozilla Apps for now

Tim
My System SpecsSystem Spec
30 Oct 2011   #8

Windows 7 32 bit
 
 

Everyone has their preference. There are things about chrome proper I don't like. I tried Iron. But that didn't work with all extensions, at least back when I tried it. Chromium is the open source root of Chrome. Most of the Chrome annoyances, like with the tracking, are eliminated.

What decided it for me was the sheer speed. I used to run Firefox portable out of a Ram Disk just because it took forever to load if the HD was busy. Chromium open to a blank page is lightning fast. No need for a Ram Disk. Once it's up then I click on Home Button to get Speed Dial. That way the Speed Dial doesn't slow the loading from disk.

There are a few FF AddOns I still wish I had on Chromium. Like SyncPlaces. But only a few.
My System SpecsSystem Spec
30 Oct 2011   #9

Windows 7
 
 

Smithunwesson - that is a nice tweak. I'm not switching from Firefox anytime soon - I have my userchrome tweaks just how I like! But I have been using "site:sevenforums.com [search terms]" in normal google search and I think I prefer the look and extra features you get with it (like being able to quickly choose time parameters).

So, I copied your icon image data and used it in a renamed google.xml file changing: <Param name="q" value="{searchTerms}"/> to this:
<Param name="q" value="site:sevenforums.com {searchTerms}"/>

Also changed the Shortname and the Description, of course.

And it worked!

1. Make a "7forums.xml" file in C:\Program Files\Mozilla Firefox\searchplugins

2. With this code:
Code:
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>7forums</ShortName>
<Description>Google 7forums</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16" type="image/x-icon"></Image>
<Url type="application/x-suggestions+json" method="GET" template="http://suggestqueries.google.com/complete/search?output=firefox&amp;client=firefox&amp;hl={moz:locale}&amp;q={searchTerms}"/>
<Url type="text/html" method="GET" template="http://www.google.com/search">
  <Param name="q" value="site:sevenforums.com {searchTerms}"/>
  <Param name="ie" value="utf-8"/>
  <Param name="oe" value="utf-8"/>
  <Param name="aq" value="t"/>
  <!-- Dynamic parameters -->
  <Param name="rls" value="{moz:distributionID}:{moz:locale}:{moz:official}"/>
  <MozParam name="client" condition="defaultEngine" trueValue="firefox-a" falseValue="firefox"/>
</Url>
<SearchForm>http://www.google.com/</SearchForm>
</SearchPlugin>
4. After saving it, go here:

%appdata%\Mozilla\Firefox\Profiles\xxxxxxxx.default

5. Delete "search.json".

6. Restart Firefox.

Jeez, that is a lot of code for a little icon!

P.S. credit coming to you in a minute! Cheers!
My System SpecsSystem Spec
30 Oct 2011   #10

Windows 7 Ultimate 64bit
 
 

@debugged
Thanks for the rep! Some coming your way as well I like the results with your xml version much better. I think I may try to tweak this a little more and see if I can come up with a Bing version too. Eventually I hope to make one that links directly into SevenForums with "advanced search" results listed.

@MilesAhead
I think I may try Chromium now that I know it is open source. I'd never looked at that one before. "Faster" is always an appealing term considering what I have to deal with using Firefox 7. I haven't read much about the changes to firefox recently, but the 'plugin-container.exe' is a major nuisance. Every time I browse a site that uses flash, it starts running in the background and eats up tons of memory... The little I have read about it proves that just about everyone using FF has the same complaint. Maybe its time to jump ship!
My System SpecsSystem Spec
Reply

 Firefox searchplugins - Create search for sevenforums.com




Thread Tools



Similar help and support threads for2: Firefox searchplugins - Create search for sevenforums.com
Thread Forum
Signature at SevenForums - Create with or without an Image Tutorials
Search Shortcut - Create Tutorials
Search SevenForums from IE SearchBar Chillout Room
SevenForums Search (404 Error) News

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 05:32 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33