Replace phpBB3 search feature by a Google one

Looking for a MOD? Have a MOD request? Post here for help. (Note: This forum is community supported; phpBB does not have official MOD authors)
Ideas Centre
Locked
Bielle64000
Registered User
Posts: 19
Joined: Fri Jun 27, 2008 2:19 pm

Replace phpBB3 search feature by a Google one

Post by Bielle64000 »

I would like to replace phpBB3 search feature (in Prosilver style) by a Google search feature since all my pages are well indexed by Google.
Can you help me to find the code to integrate it well.

I tried by myself to put this code in the overall header:

Code: Select all

<!-- SiteSearch Google -->
              <FORM action=http://www.google.com/custom method=get 
              target=google_window></TBODY></TABLE>
            <TABLE bgColor=#ffffff border=0>
              <TBODY>
              <TR>
                <TD vAlign=top noWrap align=left height=32><A 
                  href="http://www.google.com/"><IMG alt=Google 
                  src="http://www.google.com/logos/Logo_25wht.gif" border=0></IMG></A> </TD>
                <TD noWrap><INPUT type=hidden value=Ossau.net 
                  name=domains></INPUT> <INPUT maxLength=255 size=31 
                  name=q></INPUT> 
                  <INPUT type=submit value=Rechercher name=sa></INPUT>
                    <br>
                    <TABLE>
                      <TBODY>
                        <TR> 
                          <TD><INPUT type=radio value="" name=sitesearch> <FONT color=#000000 size=-1>Web</FONT> 
                          </TD>
                          <TD><INPUT type=radio CHECKED value=Ossau.net 
                        name=sitesearch> <FONT color=#000000 
                        size=-1>Ossau.net</FONT> </TD>
                        </TR>
                      </TBODY>
                    </TABLE> </TD>
                </TR>
              <TR>
                <TD>&nbsp;</TD>
                  <TD noWrap> 
                    <INPUT 
                  type=hidden value=pub-1727566909551058 name=client></INPUT> 
                  <INPUT type=hidden value=1 name=forid></INPUT> <INPUT 
                  type=hidden value=ISO-8859-1 name=ie></INPUT> <INPUT 
                  type=hidden value=ISO-8859-1 name=oe></INPUT> <INPUT 
                  type=hidden 
                  value=GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1; 
                  name=cof></INPUT> <INPUT type=hidden value=fr name=hl></INPUT> 
                </TD></TR></TBODY></TABLE></FORM><!-- SiteSearch Google -->
But it looks ugly :(

Please help !
User avatar
Damien Boyle
Registered User
Posts: 70
Joined: Wed Feb 20, 2008 8:34 pm
Contact:

Re: Replace phpBB3 search feature by a Google one

Post by Damien Boyle »

Anyone know how to do this i wouldnt mind it myself :D
Locked

Return to “[3.0.x] MOD Requests”