1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[Suggestion] Use Google Search to Search within a Thread

Discussion in 'Closed Suggestions' started by Digital Doctor, Jul 13, 2011.

  1. Digital Doctor

    Digital Doctor Well-Known Member

    Lots of people want searching within a thread.
    Many people have suggested they can't migrate to xenforo until search within a thread is available.

    Albeit not as elegant as a xenforo core solution ... I think it still can be helpful ...

    Idea: use google's site: searching but use the entire thread URL (not just xenforo.com).
    xenforo.search.within.a.thread.via.google.site.search.jpg

    This seems like it would be a very easy addon to make.

     
  2. Digital Doctor

    Digital Doctor Well-Known Member

    If Search within a thread is not destined for xF 1.1, would xF consider this as a temporary option ?
    It seems like it would be easy to implement.
     
  3. Digital Doctor

    Digital Doctor Well-Known Member

    I made a custom google search that searches just the xenporta thread.

    Code:
    <div id="cse" style="width: 100%;">Loading</div>
    <script src="http://www.google.com/jsapi" type="text/javascript"></script>
    <script type="text/javascript">
      google.load('search', '1', {language : 'en'});
      google.setOnLoadCallback(function() {
        var customSearchControl = new google.search.CustomSearchControl('011890629337310223035:haqxwbojv1i');
        customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
        customSearchControl.draw('cse');
      }, true);
    </script>
    <link rel="stylesheet" href="http://www.google.com/cse/style/look/default.css" type="text/css" />
          
     
  4. Digital Doctor

    Digital Doctor Well-Known Member

    These are 3 options for searching in xenforo.

    Option 2 and 3 don't need any major changes to the xenforo search area.

    3.options.for.google.searching.of.threads.jpg
     
    ShadyX likes this.
  5. Carlos

    Carlos Well-Known Member

    Or a drop down using icons, the magnifying glass would act as xenforo standard search which I want to keep.

    When you click on the magnifying glass icon - you have the choice of using the standard xenforo search engine, or google's. You already can do this with firefox, if you want to see what I mean.
     
  6. tengbungteng

    tengbungteng New Member

    [​IMG]

    Share me this code "Seach in google".
    Thanks
     

Share This Page