Google Adsense Search
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support
Re: Google Adsense Search
Thanks guys. I understand that it will search a domain, but I'm looking for a way to give people the option to only search the blog, only search the forum, or both. I hope you understand where I'm coming from.
Re: Google Adsense Search
I've followed the steps in the first post and the Google search box definitely replaces the standard search, but for some strange reason it doesn't work correctly.
If I type in a search term and hit Enter the google search doesn't appear, but the page reloads with a new Google search box from which I can then search.
Any advice is appreciated.
Paul
P.S. As I am testing this thing, the domain which Google is searching, as set up in Google adsense, isn't the domain which the forum is installed on. I presume this isn't part of the problem.
If I type in a search term and hit Enter the google search doesn't appear, but the page reloads with a new Google search box from which I can then search.
Any advice is appreciated.
Paul
P.S. As I am testing this thing, the domain which Google is searching, as set up in Google adsense, isn't the domain which the forum is installed on. I presume this isn't part of the problem.
Last edited by paulxiii on 19 Jun 2010, 13:17, edited 2 times in total.
Re: Google Adsense Search
that is the problem, you must use the correct code for the exact site you will be using it in, at least i think so, i had that same problem a while back when i was testing this on my localhost!
Re: Google Adsense Search
Thanks for your reply. The funny thing is I've just changed the "Look and feel" option in Google cse to Iframe and it's suddenly working perfectly.
Interesting.
Paul
Interesting.
Paul
Re: Google Adsense Search
The Google search is working perfectly. Thanks very much for Stoker's Mod. I decided to use it in addition to the forum search instead of replacing it. I decided to position it in the navigation bar. Later I will turn off the search option for guests, but I've left it enabled for this screen shot.
http://www.phpbb.com/ it is short and elegant. Any idea what steps need to be taken to get it like the http://www.phpbb.com/ implementation? Or is that more a question for their forums?
Paul
A question: The url of the adsense search is VERY long, but on Paul
Re: Google Adsense Search
I guess that could make the difference.Stoker » 20 Jun 2010, 08:37 wrote:phpbb.com is using a paid solution.
Thank you.
Paul
Re: Google Adsense Search
it says add your code of adsense
plz help me ?
plz help me ?
Code: Select all
<form action="http://localhost/googlesearch.php" id="cse-search-box">
<fieldset>
<input type="hidden" name="cx" value="partner-pub-0887266645916706:5f8lmp-uywf" />
<input type="hidden" name="ie" value="ISO-8859-1" />
<input type="hidden" name="ie" value="UTF-8" />
<input type="text" class="inputbox search" name="q" maxlength="128" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" />
</fieldset>
</form>
Re: Google Adsense Search
all this stuff has already been asked before billoo, please check the rest of the posts in this topic specially the first post!