Posts: 1622 Reputation: 50
36 / /
Joined: Jan 2006
RE: feature suggestion
quote:Originally posted by WDZ
quoteriginally posted by Chris UK
MyBB 1.2 has a similar feature (it shows in showthread.php, under the Quick Reply Box) maybe WDZ can have a look how it works.
Yeah, I know how that works. I'm just curious if someone came up with a more elegant solution, or any cool tricks I could steal. Less thinking required. (Smilie)
quote:Originally posted by Stigmata
ajax + mysql query that is used for the basicsearch.php?
and if you need help with the javascript then there are enough of us here to fight about how to do it
Posts: 7106 Reputation: 107
– / /
Joined: Mar 2002
RE: feature suggestion
quote:Originally posted by markee
The code in basicsearch.php is too basic. I don't think it would give good results, because it's not meant to work with "natural language" queries. It only works when you provide it with a series of specific search terms.
quote:and if you need help with the javascript then there are enough of us here to fight about how to do it
If I add the feature, I'll try to figure out the Javascript myself... maybe learn something new.
quote:Originally posted by kostkon
Post Re: new forum feature
It may feel strange to you, but as you can clearly see at the bottom of every page here, ubuntuforums uses the vBulletin forum system which is by no means open source and/or free, but actually a paid product. It is being made by Jelsoft Enterprises Limited, a UK company.
The best way to do it is with the FULLTEXT indexes, MyBB 1.0 RC4 has this functionality already built in. (similar threads)
The MySQL SOUNDEX function can also be used to establish "similar sounding" words if you don't want to do full text title matching/relevancy matching. Be warned this is much slower than the full text columns.
The vBulletin similar threads system works with their built in thread/post indexing system which is also used for searches. It works similar to the above full text capabilities.
Random: MyBB was actually the first forum software to ship with the "Similar Threads" functionality by default. It used to be enabled by default too, however due to MySQL compatibility problems with some servers, it is now disabled by default.
This post was edited on 07-20-2007 at 10:28 AM by surfichris.