alexander_extreme
New Member
This product for vBulletin creates a target page for providing Google Search Results within your vBulletin forums. The Google Search Results (AdSense for Search) will appear in a vBulletin page.
Unlike the previous revision of this product, you will now be able to enter code for a Google Search Box for placement in the Search drop-down menu (or anywhere else you would like to place it).
tested on 3.7.2 pl1
-------------------------------------------
Installation:
-------------
1. Upload the cfmgoogle.php file to your forum root, usually located at http://<yourhostname>/forums.
2. Register for a Google AdSense for Search account.
a. Register for a Google AdSense account if you don't have one.
b. Visit "http://www.google.com/adsense/".
c. Login with your e-mail and password.
d. Click on the "AdSense Setup" tab.
e. Select "AdSense for Search".
f. Configure your search box.
f1. Select either "Google WebSearch" or "Google WebSearch + SiteSearch" depending on whether you want users to be able to Google search your site or not. If you select "Google WebSearch + SiteSearch", enter the URL of sites you wish to be able to search.
f2. For Logo Type, I recomment selecting "Google Logo" and checking the "Logo above text box" option.
f3. For "Opening of search results page" select "Open results within my own site." Enter the URL of your cfmgoogle.php file (e.g. http://<yourhostname>/forums/cfmgoogle.php)
f4. Click "Continue >>".
g. Configure the appearance of the results page, then click "Continue >>"
h. You should now receive two sets of code from Google labeled "Your search box code" and "Your search results code".
3. In your forum's admin panel, go to Plugins & Products/Manage Products
4. Click on Add/Import Product
5. Click "Browse..." and select the "product-cfm_google_search_results.xml" product file. If this is your first installation of this product, select the "No" radio button in the "Allow Overwrite" option. If you are upgrading or reinstalling, select the "Yes" radio button. Click the "Import" button.
6. Go to vBulletin Options/vBulletin Options. Scroll through the list and select "CFM: Google Search Results".
7. In the "Google Search Box Code" option, paste the code provided by Google titled "Your search box code".
7. In the "Google Search Results Code" option, paste the code provided by Google titled "Your search results code".
8. In Styles & Templates/Style Manager go into Edit Templates for your style. Open the "Navigation / Breadcrumb Templates" template group and open the "navbar" template.
9. Find the following:
(only before 3.7)
10. Pull up a forum page and look under your search drop-down menu for the search box.
Unlike the previous revision of this product, you will now be able to enter code for a Google Search Box for placement in the Search drop-down menu (or anywhere else you would like to place it).
tested on 3.7.2 pl1
-------------------------------------------
Installation:
-------------
1. Upload the cfmgoogle.php file to your forum root, usually located at http://<yourhostname>/forums.
2. Register for a Google AdSense for Search account.
a. Register for a Google AdSense account if you don't have one.
b. Visit "http://www.google.com/adsense/".
c. Login with your e-mail and password.
d. Click on the "AdSense Setup" tab.
e. Select "AdSense for Search".
f. Configure your search box.
f1. Select either "Google WebSearch" or "Google WebSearch + SiteSearch" depending on whether you want users to be able to Google search your site or not. If you select "Google WebSearch + SiteSearch", enter the URL of sites you wish to be able to search.
f2. For Logo Type, I recomment selecting "Google Logo" and checking the "Logo above text box" option.
f3. For "Opening of search results page" select "Open results within my own site." Enter the URL of your cfmgoogle.php file (e.g. http://<yourhostname>/forums/cfmgoogle.php)
f4. Click "Continue >>".
g. Configure the appearance of the results page, then click "Continue >>"
h. You should now receive two sets of code from Google labeled "Your search box code" and "Your search results code".
3. In your forum's admin panel, go to Plugins & Products/Manage Products
4. Click on Add/Import Product
5. Click "Browse..." and select the "product-cfm_google_search_results.xml" product file. If this is your first installation of this product, select the "No" radio button in the "Allow Overwrite" option. If you are upgrading or reinstalling, select the "Yes" radio button. Click the "Import" button.
6. Go to vBulletin Options/vBulletin Options. Scroll through the list and select "CFM: Google Search Results".
7. In the "Google Search Box Code" option, paste the code provided by Google titled "Your search box code".
7. In the "Google Search Results Code" option, paste the code provided by Google titled "Your search results code".
8. In Styles & Templates/Style Manager go into Edit Templates for your style. Open the "Navigation / Breadcrumb Templates" template group and open the "navbar" template.
9. Find the following:
Code:
<form action="search.php?do=process" method="post">
<table cellpadding="4" cellspacing="1" border="0">
And replace with:
<table cellpadding="4" cellspacing="1" border="0">
<form action="search.php?do=process" method="post">
Find the following:
</table>
</form>
</div>
<!-- / header quick search form -->
And replace with:
</form>
<tr>
<td class="thead">Search Google</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">$vboptions[cfmgsr_googlesearch]</td>
</tr>
</table>
</div>
<!-- / header quick search form -->
(only before 3.7)
10. Pull up a forum page and look under your search drop-down menu for the search box.