AndyB - Google Custom Search - Xenforo 2

AndyB - Google Custom Search - Xenforo 2 1.6

AndyB Google Custom Search - Xenforo 2.webp


Description:
Replaces XenForo search with Google custom search.

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:
developers.google.com
  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.
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.

Setup step 4:
Go to the Google custom search setup page:
cse.google.com
Select Image search.
Select Full width layout.
Disable the Automatic thumbnails in search results option.
Enable Results Browsing History and set Link Target to _self.

AndyB Google Custom Search - Xenforo 2-1.webp
 

Attachments

Top