The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

How can I replace the search fuction on my page to my own adsense search box?

View previous topic View next topic Go down

How can I replace the search fuction on my page to my own adsense search box?

Post by uafgrad on May 4th 2011, 6:19 am

I would like to replace the search box that came standard on my Phbb3 website to a google adsense search box. How do I do that?



uafgrad
Forumember

Posts : 88
Reputation : 0
Language : English

Back to top Go down

Re: How can I replace the search fuction on my page to my own adsense search box?

Post by kirk on May 4th 2011, 8:02 am

I dont think you can?

Whats a google adsense search,, you mean the standard Google search box?


Not sure have you tried asking goggle if they provide a coding or scripts to have this on free forum/web host?

kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Re: How can I replace the search fuction on my page to my own adsense search box?

Post by uafgrad on May 4th 2011, 8:08 am

Yes, there is a script. I am just not sure how to remove the search box that is already there and then how to replace it with the google one.

uafgrad
Forumember

Posts : 88
Reputation : 0
Language : English

Back to top Go down

Re: How can I replace the search fuction on my page to my own adsense search box?

Post by Nera. on May 4th 2011, 8:15 am

It should be this one for google.
Code:
<form method="get" action="http://www.google.com/custom">
 <table bgcolor="#FFFFFF" cellspacing="0" cellpadding="0" border="0">
 <tr>
 <td><a href="http://www.google.com/custom/"><img  src="http://www.google.com/logos/Logo_40wht.gif" border="0" alt="Google"  align="absmiddle"></a></td>
 <td>
 <input type="text" name="q" size="25" maxlength="255" value="">
 <input type="submit" name="btnG" value="Google Search">
 <input type="hidden" name="cof" value="GL:0;">
 </td>
 </tr>
 </table>
</form>
Did you put that one or it was already on the lay? Can I see a link of your forum.

Nera.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Re: How can I replace the search fuction on my page to my own adsense search box?

Post by uafgrad on May 4th 2011, 3:02 pm

The one on my site was already on there. I just need to know how to remove that one, and then how to replace it with the google one.

uafgrad
Forumember

Posts : 88
Reputation : 0
Language : English

Back to top Go down

Re: How can I replace the search fuction on my page to my own adsense search box?

Post by Sanket on May 8th 2011, 12:02 pm

Code:
.navbar #search-box {
display : none;
}
Add this to your css.

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum