PDA

View Full Version : vBulletin 4 Request - Replace default Search Box


jrw422dx
05-20-2016, 10:30 PM
Would there be anyway to replace the default search box with a Google search? I have one in a sidebar block with this code in it.

<form method="get" action="http://www.google.com/search"> <div style="border:0px solid black;padding:4px;width:15em;"> <table border="0" cellpadding="0"> <tr><td> <input type="text" name="q" size="30" maxlength="200" value="" /> <input type="submit" value="Search Now" /></td></tr> <tr><td align="center" style="font-size:75%"> <input type="checkbox" name="sitesearch" value="mysite.org" checked /> Only search My Site<br /> </td></tr></table> </div> </form>

The default stinks and would like to have the google one in its place as it works much better for the results. Only thing is it opens up in google's search page. Running 4.2.3

If it can be done please provide detailed instructions.

Jon

ArcadeSyndicate
05-21-2016, 06:57 PM
something like this?

https://vborg.vbsupport.ru/showthread.php?t=263440&highlight=google

or

https://vborg.vbsupport.ru/showthread.php?t=229247&highlight=google

or

https://vborg.vbsupport.ru/showthread.php?t=266520&highlight=google

or

https://vborg.vbsupport.ru/showthread.php?t=297548&highlight=google

jrw422dx
05-21-2016, 08:08 PM
Thanks ArcadeSyndicate,

I don't know why those did not show up in a search I did.

Yes that is what I am looking for with one exception. All of them would require signing up for ad sense and ads I may not agree with or want could be displayed. I do not want that at all.

Is there a simple way to use that code or another that would just do a simple search result like that code would produce?

--------------- Added 1463870008 at 1463870008 ---------------

As I was looking through some posts I found a link to a thread that had the mods without using Ad Sense. Thanks a bunch for the lead ArcadeSyndicate!

Jon