![]() |
|
Mod Options |
![]() |
|||||||||||||||||||||||||||
CFM: Google AdSense for Search Integration
![]() Developer Last Online: May 2011 ![]() ![]() ![]() This modification is in the archives.
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:
And replace with:
Find the following:
And replace with:
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 Show Your Support
No members have liked this post.
|
![]() |
||||
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 |
#31
|
||||
|
||||
Originally Posted by Throtex
First thing I thought was - How did he find my site. Oh yeah. My sig. Did I put a link in there? I guess I did. Then I was like... wha...? Then I thought it was working when I installed. Now I'm sad.
Thank you very much for noticing!
__________________
No members have liked this post.
|
#32
|
||||
|
||||
OH. I get it. I thought that the form that opens up the vb search was the ajax box that comes out. Didn't really think about it much. LMAO
__________________
No members have liked this post.
|
#33
|
||||
|
||||
Is it possible to make a seperate search page and use the addon code there ?
Thanks. No members have liked this post.
|
#34
|
||||
|
||||
I didn't check your sig ... I just know these things! :ninja: j/k
Glad I could help! ![]() No members have liked this post.
|
#35
|
||||
|
||||
Originally Posted by SaN-DeeP
A separate page to put the search box in, or to put the results page in?
This is a separate page for the search results -- though if you don't want it integrated you can just follow Google's instructions. As for the search box ... you can put that anywhere you want! Best is to make a template and call it using misc.php if you want it on its own page. (i.e., this function: http://www.vbulletin.org/forum/showthread.php?t=124749 ) No members have liked this post.
Last edited by Throtex; 04 Sep 2006 at 22:30. |
#36
|
|||
|
|||
I will try this mod today. thanks
__________________
Check IP, Whois record, Page Rank, Backlinks & Bandwidth Speed No members have liked this post.
|
#37
|
||||
|
||||
Originally Posted by Throtex
thanks I was looking to add it on a seperate page
![]() No members have liked this post.
|
#38
|
||||
|
||||
Originally Posted by Throtex
Well actually now that I look at your demo, the real value is interating a the Google Search box into the VB Search dialog. The fact that the results come back inside of VB is just a nice touch!
![]() In fact this will help me design my new skin! I'll install when I move to 3.6 Thanks! Barry No members have liked this post.
|
#39
|
|||
|
|||
has anyone tried with 3.5 yet?
No members have liked this post.
|
#40
|
|||
|
|||
Originally Posted by Bulent Tekcan
hi, i'm an italian boy excuse me for the english.. i have the same problem.....what can i do now? No members have liked this post.
|
#41
|
||||
|
||||
Originally Posted by MarkoXaser
Did you try what it says in this thread?:
http://www.vbulletin.org/forum/showthread.php?p=1067954 Hope that helps! No members have liked this post.
|
#42
|
|||
|
|||
please write what can i do, i don't speak english very well..... :cross-eyed:
No members have liked this post.
|
#43
|
|||
|
|||
Make sure, that you do not paste the google code within an form!
In other words, post it after a </form> tag! Tobi No members have liked this post.
|
#44
|
||||
|
||||
Originally Posted by Cheertobi
please help me again... this is the code: where i paste the code?
No members have liked this post.
|
#45
|
|||
|
|||
Very nice, thank you.
Two questions. Is it possible to have the search terms highlighted? That is an important feature. Next, I updated my site by building it from new, and importing my 3.5 to my 3.6. Google has all of my links to the old link ID. How can I get this cleared out of Google? Wait? No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 23:11.