Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
CFM: Google AdSense for Search Integration Details »
CFM: Google AdSense for Search Integration
Mod Version: 1.0, by Throtex (Member) Throtex is offline
Developer Last Online: May 2011 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.1 Rating: (12 votes - 4.83 average) Installs: 144
Released: 03 Sep 2006 Last Update: 30 Sep 2006 Downloads: 766
Not Supported Uses Plugins Template Edits Additional Files  

Title: "CFM: Google Search Results"
-------------------------------------------------
Author: Sal Bezos ([email protected])
Date of Creation: September 3, 2006
Version: 1.0 (9/30/2006)
Home: http://www.carforummisfits.com/
-------------------------------------------------

Purpose:
--------
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). Please make sure that your search box code includes a <form> tag that states something along the lines of action="http://<yourhostname>/forums/cfmgoogle.php".


Tested:
-------
This product has been tested on a vBulletin 3.6.1 installation. There is no reason why it should not work in the same manner on any 3.6.x or 3.5.x installation, but it has not and will not be tested by the author.


Included Files:
---------------
- README.txt
- cfm-live-demo.png (screenshot)
- cfmgoogle.php
- product-cfm_google_search_results.xml


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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Find the following:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

10. Pull up a forum page and look under your search drop-down menu for the search box.

11. Enjoy!


FAQ:
----
Q. My search results window is too tall. What's wrong with it?
A. This appears to be a bug in the Google Search Results code. If my assumption is incorrect, please let me know.

Q. Why are the colors all wonky on my search results?
A. The colors of the search results are provided by the search box. Make sure the colors in the search box code are correct.

Q. The background color of the Google search box doesn't match my page -- what can I do about it?
A. If Google's TOS allows it, play around with the settings in the code you pasted in the "Your search box code" option.


Revisions:
----------
1.0 - 09/30/2006 - Adding instructions and support for the Google search box in the search drop-down menu
0.1 - 09/03/2006 - Initial release


Support:
--------
Any questions and problems should be reported to the modification's thread on http://www.vbulletin.org. No warranty, express or implied, is granted with this software. Use is at your own risk.


License:
--------
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	cfm-live-demo.png
Views:	5928
Size:	102.2 KB
ID:	53012  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Integration with vBulletin vB Google Adsense for Search plus Integration davidw vBulletin 3.7 Add-ons 267 08 Apr 2013 19:49
Add-On Releases Google/Adsense Site Search Navbar Integration davidw vBulletin 3.6 Template Modifications 85 06 Mar 2009 16:34
Add-On Releases vB Google Adsense for Search plus Integration davidw vBulletin 3.6 Add-ons 171 27 May 2008 11:53
Integration with vBulletin google adsense search automatic integration Delphiprogrammi vBulletin 3.6 Add-ons 28 08 May 2008 23:02

  #46  
Old 07 Sep 2006, 16:58
dilbert dilbert is offline
 
Join Date: Nov 2004
I thought I might put this as a stand alone search in the left column I have on my site. My fear is that users will use it exclusively. The problem with that is vB updates the search info immediately, I need to wait for Google to crawl the site.
Any thoughts?
Reply With Quote
  #47  
Old 07 Sep 2006, 20:33
MarkoXaser MarkoXaser is offline
 
Join Date: Dec 2005
Originally Posted by MarkoXaser
please help me again...

this is the code:
where i paste the code?


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

i don't uderstand where i paste the cose.....:surprised:
Reply With Quote
  #48  
Old 30 Sep 2006, 14:48
Throtex's Avatar
Throtex Throtex is offline
 
Join Date: Apr 2005
Real name: Sal
Originally Posted by MarkoXaser
i don't uderstand where i paste the cose.....:surprised:
Please check the new revision (1.0) for information. It should help you.
Reply With Quote
  #49  
Old 11 Oct 2006, 07:18
sandsand sandsand is offline
 
Join Date: Sep 2006
Works great in 3.6.2, thanks.
Reply With Quote
  #50  
Old 04 Dec 2006, 10:22
Milez Milez is offline
 
Join Date: Jan 2002
Installed. Does anyone have any idea why vBulletin adds all of the whitespace below the search results? I have noticed a similiar problem when adding things like youtube videos to threads etc.

Thanks!
Reply With Quote
  #51  
Old 04 Dec 2006, 17:29
bertwrld bertwrld is offline
 
Join Date: Nov 2006
Real name: Bert Cannavelli
I have installed this and works nicely, but the google search only shows in the drop down to registered members. Is there a way to make it for all registered and guests, or did i do something wrong?

Thanks
Reply With Quote
  #52  
Old 05 Jan 2007, 23:29
BigJimTheLug BigJimTheLug is offline
 
Join Date: Nov 2006
I installed this and lost functioning of my forum's "Go" button. How can I restore the functioning of the "Go" button?

Thanks.
Reply With Quote
  #53  
Old 09 Jan 2007, 19:47
t3nt3tion's Avatar
t3nt3tion t3nt3tion is offline
 
Join Date: Aug 2005
Real name: Adrian A.
Question

Nice hack.

Last edited by t3nt3tion; 09 Jan 2007 at 20:02.
Reply With Quote
  #54  
Old 29 Mar 2007, 04:30
pericolosogr pericolosogr is offline
 
Join Date: Mar 2007
Not Found
The requested document was not found on this server.

Web Server at xxxxxxxxxx.com

Any ideas??
`its not working and i did follow your guide step by step

i just hit search (web & website) and i get this message
Reply With Quote
  #55  
Old 30 Mar 2007, 09:53
pericolosogr pericolosogr is offline
 
Join Date: Mar 2007
nobody that can imagine why this message shows up and nothin works?
Reply With Quote
  #56  
Old 02 Apr 2007, 15:12
pericolosogr pericolosogr is offline
 
Join Date: Mar 2007
bump (nothin else i can do...sorry...)
Reply With Quote
  #57  
Old 18 Apr 2007, 20:16
dxguru dxguru is offline
 
Join Date: May 2005
Cool hack, like the results integration.

But ... the results page does not keep the user logged in. Has anybody else had this problem? (and better still, can tell me how to fix it)
Reply With Quote
  #58  
Old 13 May 2007, 08:26
3dsoft's Avatar
3dsoft 3dsoft is offline
 
Join Date: Nov 2002
The navbar code does not match in vbulletin 3.6.6
Does anybody know an updated version for the navbar?
Reply With Quote
  #59  
Old 16 May 2007, 22:29
clearchannel clearchannel is offline
 
Join Date: Nov 2001
Originally Posted by 3dsoft View Post
The navbar code does not match in vbulletin 3.6.6
Does anybody know an updated version for the navbar?
I fixed this in 3.67 by ignoring the first edit required in the navbar, it's already set correctly in 3.6.7 the second edit should be done as follows:
Find the following:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #60  
Old 10 Jun 2007, 08:32
VViper VViper is offline
 
Join Date: Dec 2002
Real name: CTC
Problem

Hi members, when i do the style mods, my page disappears and when i click on the search it opens up my whole page which i found quite amusing for a whole 2 mins.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Could a kind member please edit the above code so i can put it in the style and get this working. When i search for one of the strings i find it twice perhaps that is why i am having the problem.

Many kind thanks in advance.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 22:55.

Layout Options | Width: Wide Color: