Announcement

Collapse
No announcement yet.

Google Site Search

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Google Site Search

    It would be a nice mod to replace the vbulletin site search with Google site search.

    #2
    Google Site Search is on the way out by end of 2017 and will be completely shut down in April 1, 2018

    Buy me a coffeePayPal QR Code
    My Amazon Affiliate Link
    Fast vBulletin VPS Host:
    This site is hosted by IONOS

    Comment


    • William
      commented
      Editing a comment
      Nevermind, but thanks Glenn.

    #3
    Originally posted by glennrocksvb View Post
    Google Site Search is on the way out by end of 2017 and will be completely shut down in April 1, 2018

    https://searchengineland.com/google-...way-now-271366
    I found Google custom search which still shows working. It gave me this code which I believe I could use as an html module. However, I was looking to actually replace the default site search input field with a google site search:

    Code:
    <script>
      (function() {
        var cx = '014308482320369397236:bejnrgtqet8';
        var gcse = document.createElement('script');
        gcse.type = 'text/javascript';
        gcse.async = true;
        gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
        var s = document.getElementsByTagName('script')[0];
        s.parentNode.insertBefore(gcse, s);
      })();
    </script>
    <gcse:searchresults-only></gcse:searchresults-only>

    Comment

    Latest Posts

    Collapse

    Working...
    X
    Searching...Please wait.
    An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

    Please push the back button and reload the previous window.'
    An unexpected error was returned: 'Your submission could not be processed because the token has expired.

    Please push the back button and reload the previous window.'
    An internal error has occurred and the module cannot be displayed.
    There are no results that meet this criteria.
    Search Result for "|||"