Previous Thread
Next Thread
Print Thread
Hop To
How insert the code for google site search? #236293 04/19/2010 11:20 PM
Joined: Oct 2006
Posts: 49
Wayne Willson Offline OP
journeyman
OP Offline
journeyman
Joined: Oct 2006
Posts: 49
I would like to insert the google site search in the place of the ubbthreads "Search". How would I go about removing the ubbthreads "Search" and inserting the google site search code?

Thanks,

Wayne

Re: How insert the code for google site search? [Re: Wayne Willson] #236329 04/21/2010 12:51 PM
Joined: Sep 2009
Posts: 95
CampingPA Offline
journeyman
Offline
journeyman
Joined: Sep 2009
Posts: 95
Good question... Was looking to do the same thing, -IF- it will search the entire website and not just the forums...

I want the Google Search to search the content on the main web pages and the forums as well... Is this doable?


Log in to our virtual campfire: www.CampingPA.com
Come On Over, We'll keep the fire burning for ya!

ALSO visit our newest forums - www.ATVingpA.com/forums
Re: How insert the code for google site search? [Re: CampingPA] #236331 04/21/2010 2:03 PM
Joined: Jan 2005
Posts: 186
Chosen Offline
member
Offline
member
Joined: Jan 2005
Posts: 186
Setting up a google search is really easy. And it will search your entire site, or any other sites that you want it to.

To start with go to google's custom search page http://www.google.com/cse/

Then just set up how you want the search to work. Some of the options include loading the results in a new page, or using ajax to update the current page. Figuring out what settings you prefer will be the most time consuming thing about this.

Then whenever you are done just create an island and copy the supplied code into it. Then add the island to your portal layout. You can then turn off the forum search if you want.

Re: How insert the code for google site search? [Re: Chosen] #236355 04/22/2010 7:26 AM
Joined: Jun 2006
Posts: 15,852
Gizmo Online Tapedshut
UBB.threads Developer
Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 15,852
I have a mod over at UBBDev for using the Google Adsense search in-line here

i would advise against replacing the ubb's search though, you will be neutering your searches as it'll only show what Google has crawled, so content of say "the last year" will be filtered...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Forum Search
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Mobile app?
by Baldeagle - 12/06/2019 9:32 PM
How do you change Text Line spacing?
by jorb - 11/23/2019 12:14 AM
What happened to FAQ or Forum Help
by Ruben - 11/20/2019 11:58 AM
Search feature encountering an Error message
by jorb - 11/20/2019 12:06 AM
Followed List v7.7.2 Question
by Ruben - 11/12/2019 12:22 PM
Who's Online Now
1 registered members (Gizmo), 62 guests, and 418 spiders.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Snapshot build 20191023)