Support Forum
Mr Papa said
in your theme spFunctions.php file, just add this with desired value:
OK... but I'm still curious about wildcard characters, are there any and is there an explanation somewhere? I could have sworn I saw something about characters like % matching "exactly one character" etc.
I'm guessing the spFunctions hack you're recommending will affect all searches, which could impact performance...just wondering if there is a way to allow members to search for a specific three letter word.
Thanks!
Simple:Press powers the Tripawds Discussion Forums.
It's better to hop on three legs than to limp on four.
The Tripawds Blogs Community is made possible by The Tripawds Foundation.
those old wildcards were for the mysql full text search... which is not done anymore... so, afraid there are not any wildcards... yes, the define will affect all forum searches...
Visit Cruise Talk Central and Mr Papa's World
Mr Papa said
in your theme spFunctions.php file, just add this...
Thanks! This is going to affect all searches though, which I understand may impact performance on forums our size. I'll give it a try, but still curious...
Is there no way for a user to enter a search query using wildcard characters to search for the word cat surrounded by a space on each side?
Like: "(space)cat(space)" Something like: "_cat_" or "%cat%"
I can search for cat in our forums, but it returns all results of words containing cat...just wondering if there's any way to include blank spaces in the search query.
Simple:Press powers the Tripawds Discussion Forums.
It's better to hop on three legs than to limp on four.
The Tripawds Blogs Community is made possible by The Tripawds Foundation.
the default search is %cat%... afraid, that is about all that can be done currently... you can of course use the 'sph_search_term' filter and change it up like you like (ie replace the % with other wildcard chars..
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)