![]() |
|
Thread Tools |
#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:
and then rebuild FULLTEXT indexes. My question is if vBulletin has somewhere a function to check the words lenght before perform the query, which returns the error message:
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 No members have liked this post.
|
#2
|
||||
|
||||
Yes, vbulletin has a list of words that it considers common. It is in /includes/searchwords.php
__________________
Former vBulletin.org Staff Member
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before. W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
#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.
No members have liked this post.
|
#4
|
||||
|
||||
AdminCP > Message Searching Options > Search Index Minimum Word Length = set it to 3
The following members like this post: 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.
__________________
Former vBulletin.org Staff Member
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before. W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
#6
|
|||
|
|||
Originally Posted by Lynne
No, maybe I was not clear. Sorry for my English. I want to know where vBulletin has the "less than 4 characters" validation (if it has such validation). ![]()
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. No members have liked this post.
Last edited by paradoxG(r)eek; 25 Feb 2017 at 18:38. |
![]() |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Add spanish characters/ or other language characters | kypdurron | vBulletin 2.x Beta Releases | 3 | 24 Feb 2007 21:51 |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 19:11.