Custom modification brought to you by Joe Velez (aka Princeton vbulletin.org Admin).
1.0.0 VERSION (download GTSEARCH.zip)
This is a "No Template Edits" modifications.
Show your support and click Mark As Installed and Nominate For MOTM.
For continued support and upgrades - support by donating via PayPal.
What is a Custom Search Engine?
A Custom Search Engine is a tailored search experience, built using Google's core search technology, that prioritizes or restricts search results based on websites and pages you specify. Your Custom Search Engine can be tailored to reflect your point of view or area of expertise. With a Custom Search Engine, you can:
Apply your website's look and feel to the search results page.
Provide search refinements within results pages to make it easier for searchers to find the information they're looking for.
Add sites to your search engine's index as you surf the web.
Invite friends and trusted users to co-edit and contribute to your search engine.
Make money from your Custom Search Engine by participating in Google's AdSense program.
Once you've defined your search engine index, Google will give you a simple piece of code for a search box to place on your site or blog. You'll then have the option to choose various customization options to make the look and feel and functionality of your search engine your own.
Frequently Asked Questions
Q) What exactly does this modification do? A) It integrates your CSE with your site - results are on your site not on a Google-hosted page.
Q) Can I run Adsense ads on the same page? A) No, it's Adsense Google's TOS. To earn money, you will need to associate your CSE with your Adsense account. You can do this by clicking the "Make Money" section of your custom search engine control panel.
Instructions
Upload gtsearch.php file to vbulletin root (same place where global.php file is located)
Simply add that line to your Search Box code before the javascript.
By the way FORID is the ad placement and 11 is top and bottom and 10 is top and right. I think 9 is top only but you'd have to test that.
I changed mine to FORID:10 and the ads are now Top and Right.
I'm not sure why some people need this and some people don't, but this worked. I found the answer in the Google CSE Forum buried deep in the older posts.
Simply add that line to your Search Box code before the javascript.
By the way FORID is the ad placement and 11 is top and bottom and 10 is top and right. I think 9 is top only but you'd have to test that.
I changed mine to FORID:10 and the ads are now Top and Right.
I'm not sure why some people need this and some people don't, but this worked. I found the answer in the Google CSE Forum buried deep in the older posts.
thanks, that worked for me =)
Quote:
Originally Posted by Custom Search Help Center
You can alter the ad position by using the controls in the code section of the control panel; or, you can edit the HTML search form directly. Change value="FORID:#" to FORID:9 for ads on the right, FORID:10 for ads on the top and right, or FORID:11 for ads on the top and bottom.
FYI Princeton, because the pics in your instructions here are hosted on YOUR site (which apparently needs a login), and not in the thread itself, it's popping up login requests when you load the page, as well as not displaying said pics (of course).
FYI Princeton, because the pics in your instructions here are hosted on YOUR site (which apparently needs a login), and not in the thread itself, it's popping up login requests when you load the page, as well as not displaying said pics (of course).