Version: 1.00, by (Guest)
Developer Last Online: Jan 1970
Category: Mini Mods -
Version: 3.7.0 RC 2
Rating:
Released: 04-05-2008
Last Update: Never
Installs: 32
Template Edits
Re-useable Code Translations
No support by the author.
This will put a google search box above your standard search forum. You will need to generate your sitesearch code using AdSense's tools. Once you have your code, do the following:
ACP-> Styles & Templates -> edit the search_forums template.
Find towards the top:
Code:
$header
$navbar
Add below:
Code:
<!-- Google Search -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">
Google Search
</td></tr>
<tr><td class="alt1" align="center">
GOOGLE SEARCH CODE GOES HERE
</td></tr>
</table>
<br />
<!-- /Google Search -->
Add your AdSense Search code as appropriate. The default AdSense setup only allows for black, white and grey backgrounds. To make it blend in with your site, edit the BGCOLOR attribute of the initial table call in Google's code. For example, I chose the black background:
Note that one of the more useful reasons for having this on your site is to be able to search for two-character strings. If you want to add a blurb about it, look for:
Code:
</table>
And add the following above it:
Code:
<tr><td class="alt1" align="center">
<span class="smallfont">
Google search is useful for finding terms that are three or less characters long. For example, to search for "9v", enter "9v" in the search pane, and select the 'www.sevenstring.org' button below it.</span></td></tr>
And replace my site's name and the search term with something more relevant to your site.
Note that one of the more useful reasons for having this on your site is to be able to search for two-character strings. If you want to add a blurb about it, look for:
Code:
</table>
And add the following above it:
Code:
<tr><td class="alt1" align="center">
<span class="smallfont">
Google search is useful for finding terms that are three or less characters long. For example, to search for "9v", enter "9v" in the search pane, and select the 'www.sevenstring.org' button below it.</span></td></tr>
And replace my site's name and the search term with something more relevant to your site.
Nice addition but u made a little mistake:
u have to search for this:
Code:
</input>
</td></tr></table>
and after add:
Code:
<tr><td class="alt1" align="center">
<span class="smallfont">
Google search is useful for finding terms that are three or less characters long. For example, to search for "9v", enter "9v" in the search pane, and select the 'www.crackmuzik-gfx-elite.de' button below it.</span></td></tr>
----------------------------------------------------------------------- Example here: http://crackmuzik-gfx-elite.de/search.php
-----------------------------------------------------------------------