Firefox searchplugins - Create search for sevenforums.com

Page 1 of 2 12 LastLast

  1. Posts : 60
    Windows 7 Ultimate 64bit
       #1

    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:

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

    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 Computer


  2. Posts : 5,092
    Windows 7 32 bit
       #2

    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 Computer


  3. Posts : 60
    Windows 7 Ultimate 64bit
    Thread Starter
       #3

    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 Computer


  4. Posts : 5,092
    Windows 7 32 bit
       #4

    Try this one:

    Semantic Void :: Mozilla Firefox Search Plugin Creator

    I got this
    Code:
    <search
    version='7.1'
    name='Win7Forums'
    description='Windows Seven Forums'
    action='https://www.sevenforums.com/search.php'
    searchForm='https://www.sevenforums.com/search.php'
    method='GET'
    >
    <input name="searchid" user >
    <input name="sourceid" value="Mozilla-search">
    </search>
    <browser
    update="https://www.sevenforums.com"
    updateCheckDays="https://www.sevenforums.com"
    >
    Not sure if I did it right.
      My Computer


  5. Posts : 60
    Windows 7 Ultimate 64bit
    Thread Starter
       #5

    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="https://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>https://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 Computer


  6. Posts : 5,092
    Windows 7 32 bit
       #6

    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 Computer


  7. Posts : 60
    Windows 7 Ultimate 64bit
    Thread Starter
       #7

    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
    Last edited by SmithUnwesson; 30 Oct 2011 at 06:37.
      My Computer


  8. Posts : 5,092
    Windows 7 32 bit
       #8

    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 Computer


  9. Posts : 195
    Windows 7
       #9

    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 Computer


  10. Posts : 60
    Windows 7 Ultimate 64bit
    Thread Starter
       #10

    @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 Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About 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 10:35.
Find Us