Log in

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


iamnofear
01-08-2006, 10:00 PM
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
01-08-2006, 10:44 PM
Nice, well done.

XtremeOffroad
01-08-2006, 11:23 PM
Worked great, thanks for sharing.

Clicks Install

peterska2
01-08-2006, 11:34 PM
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
01-09-2006, 01:02 AM
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
01-09-2006, 02:25 AM
LOL! That screenshot is my forums! Thanks for the help and the hack!

* clicks install *

NineToez
09-15-2006, 06:49 AM
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
12-29-2006, 06:22 PM
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.