The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Search for 3 characters
Hello,
I know that MySQL has a 4 characters limitation for minimum string lenght (ft_min_word_len) and if I want to change it to 3 characters, I must edit my.cnf file and set: Code:
[mysqld] ft_min_word_len=3 My question is if vBulletin has somewhere a function to check the words lenght before perform the query, which returns the error message: Quote:
Any help will be appreciated. Actually what I want is which vB file to edit to change this text limitation from 4 to 3 characters. Thank you Christos |
#2
|
||||
|
||||
Yes, vbulletin has a list of words that it considers common. It is in /includes/searchwords.php
|
#3
|
|||
|
|||
Thank you for your prompt attention Lynne. Really appreciated. The most important for me is to find (if exists) where is locating the strlen restriction to change it from 4 to 3.
|
#4
|
||||
|
||||
AdminCP > Message Searching Options > Search Index Minimum Word Length = set it to 3
|
Благодарность от: | ||
paradoxG(r)eek |
#5
|
||||
|
||||
Do you mean you don't know where the my.cnf file is? If so, you would need to ask your host where it is because it is in different places on different servers.
|
#6
|
|||
|
|||
Quote:
The error message appears to be from a vB validation before sending the query to mysql. Maybe I'm wrong but this is what I understood. Edited: Ok, as Seven Skins wrote, I found it but, as I seen, it works only for full words and not for using wildcards to find the letters inside the word. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|