vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   vBulletin 4 Request - Replace default Search Box (https://vborg.vbsupport.ru/showthread.php?t=322685)

jrw422dx 05-20-2016 10:30 PM

vBulletin 4 Request - Replace default Search Box
 
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/showthrea...ghlight=google

or

https://vborg.vbsupport.ru/showthrea...ghlight=google

or

https://vborg.vbsupport.ru/showthrea...ghlight=google

or

https://vborg.vbsupport.ru/showthrea...ghlight=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 [DATE]1463870008[/DATE] at [TIME]1463870008[/TIME] ---------------

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


All times are GMT. The time now is 12:22 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00953 seconds
  • Memory Usage 1,714KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete