![]() |
Wildcard (*) in every searches
Hi, all
Since my forum is for Thai people we have to use wildcard (*) for better search result because we are using two byte fonts. However, most of the members always forget to include wildcard (*) and end up complaints for poor search result. So, I was wondering whether it's possible to modify some files to including wildcard (*) for every searches. Any ideas? Thanks in advance. |
edit search.php, find:
PHP Code:
PHP Code:
|
Thanks for reply.
I'll give it a try tonight. Thanks again. |
Do you think this piece of code would allow for wildcard searches unless quotes are used? I haven't tried it and have never done any php programming, just some C. Feedback welcome before I starting hacking away... :D
Code:
if ((substr($query, 0, 1)!="*" && substr($query, 0, 1)!="\"")) |
I tried the original suggestion on vb3, beta7 but couldn't find the same query line. I found one similar that looked like it was checking if there were any html codes in the query. I put the lines after that one, but still no results. :confused:
We really badly need auto wildcarding on our board. Any suggestions would be greatly appreciated. |
All times are GMT. The time now is 01:46 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|