1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Filter BB code and smilies from search results?

Discussion in 'Enhanced Search Support' started by shawn, Feb 22, 2012.

  1. shawn

    shawn Well-Known Member

    I've noticed that searching for "attach" or "attachment", [edit, it's only 'attach'] etc on xenforo.com just finds all the posts that have attachments embedded in them, not posts that talk about attachments. Similarly, you can search for rolleyes or notworthy and find the posts that have the smilies in them. While these two smilies aren't specifically problematic, I could see this being a problem, depending on what your smiley codes were.

    Is there a way to filter these out? You wouldn't want to add them to the stop words...
     
  2. Slavik

    Slavik XenForo Moderator Staff Member

    Nope. You would have to add them to the stopwords afaik.
     
  3. shawn

    shawn Well-Known Member

    Yeah, but adding them to the stopwords is throwing the baby out with the bathwater, right? You couldn't search for those terms before, but now you *really* can't search for them.
     

Share This Page