Version 2 of my basicsearch script is ready for some testing. Have fun.
http://shoutbox.menthix.net/basicsearch2.php
In a few days, I'll rename it to basicsearch.php and replace version 1.
What's New
- Obviously, new options for where to search and how to sort the results.
-- Searching post subjects was never possible before... now it is. When you're
only searching in subjects, there's less stuff for MySQL to look through, so I made the minimum word length only 3 characters.
-- When grouping by thread, posts that are replies will be indented. I think it makes the results a little more clear. If you see stuff indented when it shouldn't be, please don't complain about it, because it's completely a limitation. Be happy that it works right some of the time.
- Another obvious one: changed the help text and moved it to a new table.
- Rewrote the keyword parser so you can now search for multiple phrases, or mix phrases with regular keywords (think Google
). The following are examples of valid searches:
"a phrase"
"messenger plus" patchou
dodgy member "chromo spams"
"a bug" "in msn"
- Some general cleanup and improvement of the PHP and HTML code (I wrote the original script quite a while ago and did a half-assed job
).
- Increased results per page to 25, because 20 seemed like not enough, and hopefully you'll find what you're looking for faster, and not have to load so many pages.
Coming Soon ... Maybe
- Post excerpts. These have actually been available to mods for a few months now, but I want to do some more tweaking/testing before they're public (I have some security concerns).