PDA

View Full Version : Why doesn't VB boards allow a search for "how"?


Gutspiller
04-11-2002, 04:37 AM
I tested it on my board of 2.0.3 and vb.org and it won't allow me to search for it? What gives and how do I fix it? And yes, I know that it should of showed some results because I was searching all forums and contents of posts.

Can somebody let me know why and/or how to hack it so that it will allow for the search of the word how, and any other words that are blocked in teh vb search.

Thanks.

Admin
04-11-2002, 09:55 AM
Remove this line from /admin/badwords.php:
$badwords["how"]=1;
Do the same for any other words, and then re-index your search table so it includes these words (or you will only get new posts containing them).

Gutspiller
04-11-2002, 02:37 PM
What do you mean "any other words"? Are there more words in there besides "how"? (Wasn't sure since you didn't show any in your code.

Also, do you know why it's a "badword"? I mean if somebody searches for it, is it going to really slow down the server if it finds it in a lot of posts?

Another question I have, would it be possible to change the message it displays to users? So instead of lying and saying it didn't find it, it says something like, "{boardname} management has disallowed a search of that word."

I don't know what the name thing is to pull the name of the forum, but you get the idea. :)

Admin
04-11-2002, 02:41 PM
Open /admin/badwords.php and you'll see the list of words.

mondaynightmike
04-11-2002, 03:11 PM
can i just ask why are all those words "bad Words"??

Gutspiller
04-11-2002, 06:32 PM
Originally posted by FireFly
Open /admin/badwords.php and you'll see the list of words.

Same as the other guy asked. Why are these marked as unsearchable words? Anybody?

Admin
04-12-2002, 04:00 PM
I don't fully know but lemme try and answer... maybe because these words are very common and will just make your searchindex bigger? And no one's gonna search for "how" anyway because it has no special meaning (unlike "house"). Of course when people NEED to search for "how" (because their site is about "how" and its origin :p), they need to remove that word from the badwords list.

Gutspiller
04-12-2002, 05:52 PM
Originally posted by FireFly
I don't fully know but lemme try and answer... maybe because these words are very common and will just make your searchindex bigger? And no one's gonna search for "how" anyway because it has no special meaning (unlike "house"). Of course when people NEED to search for "how" (because their site is about "how" and its origin :p), they need to remove that word from the badwords list.

Are you making fun of me? https://vborg.vbsupport.ru/external/2002/04/2.gif

Admin
04-13-2002, 05:56 AM
No, that wasn't my intention. :)