MyBB Community Forums

Full Version: Focus Theme - Last Request - Changing "Quick Search" to "Google Search"
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys.
Im sorry again about this, but, this is my last request. My Forum is launching very very soon. I just need to create the sections and other minor stuff.

So, i have this code for header_quicksearch:

<div class="searchhere right">
 <td class="trow1" align="center">
<form method="post" action="{$mybb->settings['bburl']}/search.php">
<input type="hidden" name="action" value="do_search" />
<input type="hidden" name="postthread" value="1" />
<input type="hidden" name="forums" value="all" />
<input type="hidden" name="showresults" value="threads" />
<input type="text" value="Quick Search.." onblur="if(this.value==''){this.value='Quick Search..';}" onfocus="if(this.value=='Quick Search..'){this.value='';}" name="keywords" class="textbox">
</form></td></div>

I need to put this Google Code in exactly same spot, but, every time i try, the Google Search Box gets bellow all links in the header. Its gets very very very ugly if i accept this position.

The Google Search AdSense Box Code is:
<form action="http://www.google.com.br" id="cse-search-box" target="_blank">
  <div>
    <input type="hidden" name="cx" value="partner-pub-9659278434454733:7785531201" />
    <input type="hidden" name="ie" value="UTF-8" />
    <input type="text" name="q" size="55" />
    <input type="submit" name="sa" value="Search" />
  </div>
</form>

<script type="text/javascript" src="http://www.google.com.br/coop/cse/brand?form=cse-search-box&amp;lang=pt"></script>

Every time i tried to replace the original "header_quicksearch" i get the search box bellow my user links.

So... What i have to do?

And the first money i make with my Forum i will donate to MyBB and to Focus Theme autor. Its a promise Smile

Thanks guys.