News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

How to use Google search instead of smf search

Started by Utech22, February 20, 2010, 01:03:57 PM

Previous topic - Next topic

allemand1


Aportadordelmix



Mick.

For 1.1.x users, ill write something tonight ;)

Aportadordelmix


Kill Em All

Quote from: ABM on June 04, 2010, 06:28:51 PM
I do not understand
It means, there is no way yet, he is writing up the code to do it now though... so you are going have to be patience.


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

Mick.


Aportadordelmix


opheliagrimm

Guys,

Is there anyway to make this work without adsense?

That is, just have a google search box that  replaces the SMF search but does not tie into an adsense account and still shows results using the results.php file?

I applied for the Google Adsense account but it has been about 5 days and no response.

Is there a modification of your code that references the URL "www.yoursite.com" instead of an adsense account?

I already have a google search on the site but it shows the results on an external page and not inline with the forum. It also doesn't replace the default SMF search box.

Appreciate any help

RawDepth

#29
I added this code to my site manually. I run version 2.0 RC3 with the default theme.

It seems to be working. It displays results inside my site from the results.php page like I wanted.

Problem...
I have my custom search account set to search within my site and not the web. Now it only displays results if the actual search word appears on my index page, no results from deeper pages. If the search word or phrase does not appear on my index page, then no results are shown.

The site is already heavily indexed at Google.

Here is the site address. http://www.home-recording-studio-forum.com

amko_sa

#30
One question, how to make that I choose google search or smf search in to same SMF search window? Best example is search on this SMF forum.

DanteOz

does dis method apply to rc4? cos i want it on my forum

Illori

DanteOz please open a separate topic for your issue, this topic is marked solved and will be ignored by support staff.

DanteOz


Mick.


DanteOz


Niell

#36
Bluedevil Hello, this tutorial works for SMF version 2.0 Final?

Translated by Google

Mick.

Quote from: Niell on June 29, 2011, 01:51:42 PM
Bluedevil Hello, this tutorial works for SMF version 2.0 Final?

Translated by Google
Yes.

donjazzy

Quote from: bluedevil on February 20, 2010, 07:42:47 PM
The code for the index.template.php may look slightly different than mine.   I removed the push button since i didnt want it.
Please how can I remove the push button for mine, I don't need it. Thanks

Mick.

Remove this bit in the code google provided you:

    <input type="submit" name="sa" value="Search" />

Advertisement: