turbo2ltr wrote:I have to say the built in search kinda sucks in phpBB. Apparently "lease" is too common and can't be used as a search term. Sure searching for just "lease" is going to return too many hits, but if you can't even use it in conjunction with other words to narrow it down, it's useless.
It's not hard to add a google custom search box at the top that automatically searches just this site. (see top right of
http://www.cnczone.com/forums/index.php ) I bet it would be better than the built in search. And having it displayed prominently at the top of every page instead of a separate search page, might encourage people to use it more often.
The phpBB search functionality is almost completely useless, and this kind of search is precisely what Google custom search engines were created for. I created one at
http://mccurley.org/mynissanleaf/ and it took a grand total of two minutes by going to
http://google.com/cse/. You can simply paste this into the template for the page:
<div id="cse" style="width: 100%;">Loading</div>
<script src="
http://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">
google.load('search', '1', {language : 'en', style : google.loader.themes.GREENSKY});
google.setOnLoadCallback(function() {
var customSearchControl = new google.search.CustomSearchControl('009426920518858049978:g8x84g6aqiw');
customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
customSearchControl.draw('cse');
}, true);
</script>
<style type="text/css">
.gsc-control-cse {
font-family: Verdana, sans-serif;
border-color: #E1F3DA;
background-color: #E1F3DA;
}
input.gsc-input {
border-color: #94CC7A;
}
input.gsc-search-button {
border-color: #94CC7A;
background-color: #AADA92;
}
.gsc-tabHeader.gsc-tabhInactive {
border-color: #A9DA92;
background-color: #FFFFFF;
}
.gsc-tabHeader.gsc-tabhActive {
border-color: #A9DA92;
background-color: #A9DA92;
}
.gsc-tabsArea {
border-color: #A9DA92;
}
.gsc-webResult.gsc-result {
border-color: #A9DA92;
background-color: #FFFFFF;
}
.gsc-webResult.gsc-result:hover {
border-color: #A9DA92;
background-color: #FFFFFF;
}
.gs-webResult.gs-result a.gs-title:link,
.gs-webResult.gs-result a.gs-title:link b {
color: #0066CC;
}
.gs-webResult.gs-result a.gs-title:visited,
.gs-webResult.gs-result a.gs-title:visited b {
color: #0066CC;
}
.gs-webResult.gs-result a.gs-title:hover,
.gs-webResult.gs-result a.gs-title:hover b {
color: #0066CC;
}
.gs-webResult.gs-result a.gs-title:active,
.gs-webResult.gs-result a.gs-title:active b {
color: #0066CC;
}
.gsc-cursor-page {
color: #0066CC;
}
a.gsc-trailing-more-results:link {
color: #0066CC;
}
.gs-webResult.gs-result .gs-snippet {
color: #454545;
}
.gs-webResult.gs-result .gs-visibleUrl {
color: #815FA7;
}
.gs-webResult.gs-result .gs-visibleUrl-short {
color: #815FA7;
}
.gs-webResult.gs-result .gs-visibleUrl-short {
display: none;
}
.gs-webResult.gs-result .gs-visibleUrl-long {
display: block;
}
.gsc-cursor-box {
border-color: #A9DA92;
}
.gsc-results .gsc-cursor-page {
border-color: #A9DA92;
background-color: #FFFFFF;
}
.gsc-results .gsc-cursor-page.gsc-cursor-current-page {
border-color: #A9DA92;
background-color: #A9DA92;
}
.gs-promotion.gs-result {
border-color: #94CC7A;
background-color: #CBE8B4;
}
.gs-promotion.gs-result a.gs-title:link {
color: #0066CC;
}
.gs-promotion.gs-result a.gs-title:visited {
color: #0066CC;
}
.gs-promotion.gs-result a.gs-title:hover {
color: #0066CC;
}
.gs-promotion.gs-result a.gs-title:active {
color: #0066CC;
}
.gs-promotion.gs-result .gs-snippet {
color: #454545;
}
.gs-promotion.gs-result .gs-visibleUrl,
.gs-promotion.gs-result .gs-visibleUrl-short {
color: #815FA7;
}
</style>