Remove characters for total length count
Say the number of characters to ignore is set to two in the config file. Then a search on "ab" (without quotes and no space) is ignored, but a search on "a b" (without quotes but with a space) is not ignored. That's where this little mod comes into play. It will remove characters you don't want to count before checking total length. If the total length is less than or equal to the number of characters to ignore, no search results are rendered. Otherwise, searches are performed as usual.
In tdSearch.php find: Code:
And replace with: Code:
|
I just installed this mod, I LOVE it, thanks, it's VERY handy!!!!! :)
|
All times are GMT. The time now is 09:31 AM. |
Powered by: vBulletin Version 3.0.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.