Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11801
Latest: Dimon_1955
New This Month: 7
New This Week: 2
New Today: 1
Stats
Total Posts: 41510
Total Topics: 7264
Most Online Today: 47
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 33
Total: 33

Author Topic: Search Word Limit  (Read 195 times)

0 Members and 1 Guest are viewing this topic.

Offline Shades

  • Full Member
  • ***
  • Posts: 103
  • 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

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15709
    • 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
3297 Views
Last post July 30, 2008, 03:41:08 pm
by fussilet
0 Replies
2293 Views
Last post February 16, 2009, 03:42:13 pm
by GadgetGeek
4 Replies
2930 Views
Last post June 24, 2011, 09:31:19 pm
by Marcel
0 Replies
1676 Views
Last post November 29, 2011, 09:23:47 pm
by metaltrucker
3 Replies
1906 Views
Last post March 14, 2016, 11:48:04 am
by SMFHacks

+- Recent Topics

prettyurls - TroubleShooting.wiki by SF
October 26, 2021, 04:39:52 pm

Stats Page by mickjav
October 19, 2021, 01:10:42 pm

Question (Gallery Pro) by mickjav
October 17, 2021, 11:59:10 am

Image View by SMFHacks
October 14, 2021, 11:55:21 am

From SMF Gallery Lite to SMF Gallery Pro by SMFHacks
October 11, 2021, 08:00:29 am

Picture Orientation by mickjav
October 09, 2021, 01:25:54 pm

4. Global Headers and Footers by mickjav
October 07, 2021, 12:22:09 am

S3 System For SMF Attachments by shuban
October 06, 2021, 07:58:50 am

Download Page images by mickjav
October 04, 2021, 01:28:07 pm

Agree To Licence by mickjav
October 03, 2021, 10:00:27 am

Powered by EzPortal