vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Why doesn't VB boards allow a search for "how"? (https://vborg.vbsupport.ru/showthread.php?t=37285)

Gutspiller 04-11-2002 04:37 AM

Why doesn't VB boards allow a search for "how"?
 
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:
Code:

$badwords["[high]how[/high]"]=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

Quote:

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

Quote:

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. :)


All times are GMT. The time now is 01:46 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01109 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete