PDA

View Full Version : Adding Google AdSense for Search to search.php


iamnofear
08 Jan 2006, 23:03
Basically, I modding my own search.php file to add a category specifically for Google AdSense for Search when somebody goes to advanced search.

Ideally I'd like to add the category right above 'Search Forums' and just have Google's search box there all on its own.

I'm pretty sure that this is a simple mod and easy to hack

download : text file attachment
Demo : The image attachment
thanked to hoang0501
Have fun

PS: Don't forget to click install

Daniel
08 Jan 2006, 23:44
Nice, well done.

XtremeOffroad
09 Jan 2006, 00:23
Worked great, thanks for sharing.

Clicks Install

peterska2
09 Jan 2006, 00:34
Erm......... wouldn't this then be using your google adsense code on everyone elses site? I think so, and that's against the TOS.

Citizen
09 Jan 2006, 02:02
Erm......... wouldn't this then be using your google adsense code on everyone elses site? I think so, and that's against the TOS.
I think you're supposed to put in your own code while you're editing it :)

NineToez
09 Jan 2006, 03:25
LOL! That screenshot is my forums! Thanks for the help and the hack!

* clicks install *

NineToez
15 Sep 2006, 07:49
FYI, I just upgraded to 3.6.1 (yes, I realize that this was originally posted in 3.5.x) and this hack isn't working with the new upgrade.

BigJimTheLug
29 Dec 2006, 19:22
Is there a way to make all menus in the "advanced search page" to show appear by default collapsed, but to not collapse the Google Search?

If so, can someone enumerate? Thanks.