Travel the dunes with the LEGO� Star Wars™ Ultimate Collector Series Sancrawler™

FBTB - From Bricks To Bothans

Follow us: RSS
News? Questions? Comments? Email!

New Search

We are always interested in improving our community. Got an idea? Let us hear it!

New Search

Postby onions » Wed Jun 17, 2009 3:36 pm

i've implemented google search for the forums to offload hits to the database:

search.php

coincidentally, site search is handled by google as well.

good idea? bad idea?

unfortunately, searching a user's post history is still hitting our database. I may change that to a google search instead or remove it entirely.

any feedback is welcome.
onions
Founder
Founder
 
Posts: 73
Joined: Thu Dec 18, 2008 1:45 pm

Re: New Search

Postby Joedward » Wed Jun 17, 2009 4:12 pm

Is there anyway to make the search results looks nicer?

The google set up with FBTB colour scheme seems kinda.... off.
~Ed
(that's Mr. Ed to you)

(T!!!!!!!T=:|[\########################################
Joedward
 
Posts: 437
Joined: Tue Feb 10, 2009 6:30 am

Re: New Search

Postby onions » Wed Jun 17, 2009 4:44 pm

unfortunately the google styling options are extremely limited. I can't change font, font size, spacing, or anything else. the only thing i have control over is the color palette.
onions
Founder
Founder
 
Posts: 73
Joined: Thu Dec 18, 2008 1:45 pm

Re: New Search

Postby theJudeAbides » Thu Aug 06, 2009 4:01 pm

Ace,

I'm not sure if this is the "old search" or the new one, but I find that the search bar above the topic list (next to "New Topic") doesn't really work the way I'd like it to. For example, if I'm in the MOC Showcase forum and want to find all UCS or [SW] posts and type "UCS" or "[SW]", I get the following message:
The following words in your search query were ignored because they are too common words: sw.
You must specify at least one word to search for. Each word must consist of at least 3 characters and must not contain more than 14 characters excluding wildcards.

I guess my question is, why can't I search on common tags used in topic posts? Wasn't that kind of the whole point of enforcing a tagging system to begin with? These lead to my next question: Would it be possible to make a search that searches topic Names and not the actual text of the topic? The problem with the current system is that, say I want to find an old MOC of the Imperial Shuttle, and do a search on "shuttle," the search results will return every post from every topic with the word shuttle. A more appropriate search, IMO, would only return one result per thread, with the option of only searching the topic titles. I'd imagine your SQL string (assuming you're using MySQL) would look something like:
Code: Select all
SELECT * FROM Topic WHERE title LIKE "%searchstring%" ORDER BY Startdate

You could then use PHP to read the results line by line and create links to each topic.

Anyways, that's just my 2 cents.
Image
The beauty of a LEGO MOC is not the elements that go into it, but the way those elements are put together.
theJudeAbides
 
Posts: 236
Joined: Tue Feb 10, 2009 7:00 am
Location: Minnesota, USA


Return to Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest