Reckons Team Google Custom Search [Deleted]

I know this resource has been deleted and no longer supported, but it has been working really well until today. Something has changed on Googles end.

"Unauthorized access to internal API. Please refer to https://support.google.com/customsearch/answer/4542055 "

Anyone have any ideas what to do.

I ran into the same issue. I found disabling the add-on and following the directions in this tutorial worked great:

https://xfpoint.com/tutorials/google-custom-search/

scroll down to the section "Use XenForo Quick Search & Google Custom Search" if you want to use both Google and the xenforo site search.
 
Reckons Team Google Custom Search can be used, if you made these litle 3 changes:

1. In Xenforo ACP, open the Template: rtGCS_search_google_results
... and replace all in it with this code:

HTML:
    <li id="google_results">
        <script>
              (function() {
                var cx = 'XXX';
                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>
    </li>
2. Replace the XXX (line 4) with your Google Custom Search Engine ID, but leave the ' ' at there place at beginnig and at the end of the ID.


3. Now you go to: https://cse.google.com/cse/search and change under "Design" from "Overlay to "Results only":
1513797063267.webp


Thats all, and the Add-on works like bevor Dezember 2017.


Vor me, with a Xenforo 1.5.15 it works as just bevor - so enjoy to made it also working again. :)
 
Reckons Team Google Custom Search can be used, if you made these litle 3 changes:

1. In Xenforo ACP, open the Template: rtGCS_search_google_results
... and replace all in it with this code:

HTML:
    <li id="google_results">
        <script>
              (function() {
                var cx = 'XXX';
                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>
    </li>
2. Replace the XXX (line 4) with your Google Custom Search Engine ID, but leave the ' ' at there place at beginnig and at the end of the ID.


3. Now you go to: https://cse.google.com/cse/search and change under "Design" from "Overlay to "Results only":
View attachment 164727


Thats all, and the Add-on works like bevor Dezember 2017.


Vor me, with a Xenforo 1.5.15 it works as just bevor - so enjoy to made it also working again. :)
Thank you so much...
 
Hi, I am looking for an add-on similar to this one for XenForo 2.x that will support AdSense for Search (i.e. showing your own ads from Google in the search results). I tried Search Results with GSE 1.0.2, and it does not work the same way as this add-on did.
 
Top Bottom