Direct searches in Google and youtube!

Support for PhpBB3.
Post here to get help with any phpBB3 related issue
Forum rules
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe your problem and what happened when the problem occured
3. Tell us what version of phpBB3 you are currently using.
If not your topic may be ignored or locked!

Direct searches in Google and youtube!

Post by Oliver »

there is a direct google and youtube search engines. Themselves in a new window will open, etc. Really convenient.

How do I change the code so that I can youtube search box next to google?

[hsimg]http://img100.imageshack.us/img100/8114/kysymys.jpg[/hsimg]

Thanks. ;)

Code: Select all

<!-- Search Google -->
<FORM method=GET action="http://www.google.com/search"target="_blank">
<TABLE bgcolor="#eff3f6"><tr><td>
<A HREF="http://www.google.com/"target="_blank">
<IMG SRC="http://www.kuvat.fi" border="0" ALT="Google" align="absmiddle"></A>
<INPUT TYPE=text name=q size=51 maxlength=255 value="">
<INPUT TYPE=hidden name=hl value="en">
<INPUT type=submit name=btnG VALUE="Hae">
</td></tr></TABLE>
</FORM><!-- Search Google --><!-- Search Youtube -->
<FORM method=GET action="http://www.youtube.com/results" method="get" target="_blank">
<TABLE bgcolor="#eff3f6"><tr><td>
<A HREF="http://www.image.com/">
<IMG SRC="http://www.image.com/" border="0" ALT="youtube" align="absmiddle"></A>
<INPUT TYPE=text name=q size=31 maxlength=255 value="">
<INPUT TYPE=hidden name=hl value="en">
<INPUT type=submit name=btnG VALUE="Hae">
</td></tr></TABLE>
</FORM>
<!-- Search Youtube --></div></div></div><br>

Re: Direct searches in Google and youtube!

Post by DannyG »

what file does it go in?

Re: Direct searches in Google and youtube!

Post by Oliver »

Oveall_header.html.

Find

Code: Select all

<span class="corners-bottom"><span></span></span> 
After add...

Re: Direct searches in Google and youtube!

Post by cisco007 »

try this, i tried to get it validated also!
next time try no to use any capital letters in your html!

Code: Select all

<table bgcolor="#EFF3F6">
<tr>
<td><!-- Search Google -->
<form method="get" action="http://www.google.com/search" target="_blank"><a href="http://www.google.com/" target="_blank"><img src="http://www.kuvat.fi" border="0" alt="Google" align="left" /></a> <input type="text" name="q" size="51" maxlength="255" value="" /><input type="hidden" name="hl" value="en" /><input type="submit" name="btnG" value="Hae" /></form>
<!-- Search Google --></td>
<td><!-- Search Youtube -->
<form action="http://www.youtube.com/results" method="get" target="_blank"><a href="http://www.image.com/"><img src="http://www.image.com/" border="0" alt="youtube" align="left" /></a> <input type="text" name="q" size="31" maxlength="255" value="" /><input type="hidden" name="hl" value="en" /><input type="submit" name="btnG" value="Hae" /></form>
<!-- Search Youtube --></td>
</tr>
</table>

Re: Direct searches in Google and youtube!

Post by Oliver »

Lots of thanks, its work.

Re: Direct searches in Google and youtube!

Post by eng-joker »

Thanks man