AndyB Google custom search

xF2 Add-on AndyB Google custom search 1.6

No permission to download
Compatible XF Versions
2.2
Description:

Replaces XenForo search with Google custom search.

(Example of Google custom search)
google-custom-search.jpg

(Example of Options page)

google-custom-search-1.jpg

Installation:
  1. Download Andy-GoogleCustomSearch-1.3.zip and unzip it.
  2. Copy the src/addons/Andy/GoogleCustomSearch directory to your server.
  3. From the Admin Control Panel Install the add-on.
Setup step 1:

Go to the Google custom search start page:

https://developers.google.com/custom-search/
  1. Click the GET STARTED link.
  2. Click the "create an instance of a Custom Search Engine" link.
  3. Click the Control Panel link.
  4. Get your Google custom search code which should look like this:
    custom-search.jpg
Setup step 2:

Create a file called gcs.php on your server in the /misc/ directory.

Copy the Google custom search code from step 1 into this new file and save it.

Setup step 3:
Go to your Admin control panel.

Edit the andy_googlecustomsearch template.

Edit line 2 to reflect your domain.
custom-search-1.jpg

Setup step 4:

Go to the Google custom search setup page:

https://cse.google.com/cse/all

Select Image search.
google-custom-search-2.jpg

Select Full width layout.
google-custom-search-3.jpg

Disable the Automatic thumbnails in search results option.
google-custom-search-4.jpg

Enable Results Browsing History and set Link Target to _self.
google-custom-search-5.jpg
Author
ENXF NET
Downloads
71
Views
1,122
Last update
Rating
5.00 star(s) 1 ratings

More resources from ENXF NET

Latest updates

  1. See description

    Google custom search v1.6 changes: Added 'Return to forums' link in results page.
  2. See description

    Google custom search v1.5 changes: Now compatible with XF 2.2.12.
  3. See description

    Google custom search v1.4 changes: Now compatible with XF 2.2 and newer.

Latest reviews

thanks
Top