Simple Machines Community Forum

SMF Development => Feature Requests => Applied or Declined Requests => Topic started by: zoshi_s on September 06, 2011, 05:38:05 AM

Title: Allow space in search string
Post by: zoshi_s on September 06, 2011, 05:38:05 AM
Hello,

I noticed some strange behavior of the search function that I cannot explain.

I have the string "Howdy+\Dude" in one of my forum entries. The entry is shown if I search for "Howdy" or "\Dude". It does not show up when the entire string is searched for. It however finds the entry when I search for "Howdy+\\Dude". I think this is a php thing.

Can we have a WYSIWYG search function where the search function parses the strings for special characters first and then replaces them with appropriate php friendly strings before executing the search? Asking members to insert additional \'s sounds a bit cumbersome.

I would be greatful if someone could write a patch for this as I think a lot of people stand to benefit.

Regards,
zoshi
Title: Re: Query regarding search function
Post by: zoshi_s on September 09, 2011, 04:16:40 AM
Hello,

sorry about bumping this but I really hope someone takes a look at this.

Regards,
Title: Re: Query regarding search function
Post by: Angelina Belle on September 16, 2011, 11:14:21 AM
Unfortunately, SMF 2.0 does not do a good job searching for certain characters.
I think that improving the search feature would be a good feature request.

I hope you won't mind I have moved this to "feature requests".