Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 11830
Latest: pulgoki
New This Month: 5
New This Week: 3
New Today: 2
Stats
Total Posts: 42199
Total Topics: 7364
Most Online Today: 89
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 28
Total: 28

Author Topic: Search Word Limit  (Read 608 times)

0 Members and 1 Guest are viewing this topic.

Offline Shades

  • Community Suite Customer
  • Full Member
  • ******
  • Posts: 171
  • Community Suite Customer
    • View Profile
    • Bikerhound.com
Search Word Limit
« on: September 17, 2021, 08:39:24 pm »
Is there a way to increase the limit on the minimum search field?

I have colors I need to be able to search with only 3 letters like "Red" that it won't allow me to search.

Thanks 8)

ShadesWeb.com - Custom Logos
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15993
    • View Profile
Re: Search Word Limit
« Reply #1 on: September 17, 2021, 08:41:01 pm »
In sources/Store2.php
Find
Code: [Select]
if (strlen($searchfor) <= 3)
fatal_error($txt['store_error_search_small'],false);

Change to
Code: [Select]
if (strlen($searchfor) < 3)
fatal_error($txt['store_error_search_small'],false);
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/
Like Like x 1 View List

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
3593 Views
Last post July 30, 2008, 03:41:08 pm
by fussilet
0 Replies
2404 Views
Last post February 16, 2009, 03:42:13 pm
by GadgetGeek
4 Replies
3217 Views
Last post June 24, 2011, 09:31:19 pm
by Marcel
0 Replies
1800 Views
Last post November 29, 2011, 09:23:47 pm
by metaltrucker
3 Replies
2135 Views
Last post March 14, 2016, 11:48:04 am
by SMFHacks

+- Recent Topics

Default License Agreement by Puppeteer
Today at 08:37:59 pm

Undefined index: down_path by SMFHacks
May 15, 2022, 12:55:42 pm

Thumbnails on topic page not resizing correctly by SMFHacks
May 14, 2022, 10:45:34 pm

Server Issues by PapaFrizArcade
May 12, 2022, 11:50:04 am

Funky Pagination by SMFHacks
May 11, 2022, 11:38:24 pm

Download Logs? by Hatshepsut
May 11, 2022, 11:31:56 pm

Error with 6.0a version by Hatshepsut
May 10, 2022, 12:44:52 am

Array Offset Value Type Null Error by Puppeteer
May 10, 2022, 12:31:35 am

I got this error trying to edit and approve a download by SMFHacks
May 08, 2022, 08:12:36 am

Illegal mix of collations by SMFHacks
May 07, 2022, 02:25:37 pm

Powered by EzPortal