Web Analytics Made Easy - StatCounter
Google custom search

xF2 Add-on Google custom search 1.4

No permission to download
Compatible XF Versions
  1. 2.0
  2. 2.1
  3. 2.2

Replaces XenForo search with Google custom search.

(Example of Google custom search)

(Example of Google custom search results)

How to use:

Click the Search tab in the navigation bar.

  1. Download Andy-GoogleCustomSearch-1.0.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.

Programmable Search Engine | Google Developers

Click the GET STARTED link.

Click the "create an instance of a Custom Search Engine" link.

Click the Control Panel link.

Get your Google custom search code which should look like this:

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.

First release
Last update
0.00 star(s) 0 ratings

More resources from Admin

Share this resource

Latest updates

  1. Google custom search v1.4 changes:

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

    Added andy_googlecustomsearch.less template.
  3. Google custom search v1.1 changes:

    Updated to work with XF 2.1.2 and newer.
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock