Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11805
Latest: DebT
New This Month: 1
New This Week: 1
New Today: 1
Stats
Total Posts: 41608
Total Topics: 7274
Most Online Today: 65
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 30
Total: 30

Author Topic: Search Word Limit  (Read 471 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: 15753
    • 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
3404 Views
Last post July 30, 2008, 03:41:08 pm
by fussilet
0 Replies
2337 Views
Last post February 16, 2009, 03:42:13 pm
by GadgetGeek
4 Replies
3009 Views
Last post June 24, 2011, 09:31:19 pm
by Marcel
0 Replies
1720 Views
Last post November 29, 2011, 09:23:47 pm
by metaltrucker
3 Replies
1982 Views
Last post March 14, 2016, 11:48:04 am
by SMFHacks

+- Recent Topics

Thanks mod SMF 2.1 by Monocero
November 27, 2021, 01:13:01 pm

How to change the font on a photo in SMF Gallery Pro? by SMFHacks
November 18, 2021, 09:28:11 am

Bulk Upload Many Pictures - File Name by SMFHacks
November 17, 2021, 08:58:50 am

Schedule or direct download link by SMFHacks
November 16, 2021, 10:57:33 am

Download Expire by Vincent Volmer
November 16, 2021, 02:40:47 am

prettyurls - TroubleShooting.wiki by SMFHacks
November 14, 2021, 02:18:59 pm

Error With Delete Download by mickjav
November 10, 2021, 04:49:12 pm

No ads on left or right by coyote
November 08, 2021, 04:57:13 pm

Now accepting Cryptocurrency by SMFHacks
November 05, 2021, 05:33:27 pm

Latest Version Pretty Urls SEO Pro by SMFHacks
November 04, 2021, 03:46:53 pm

Powered by EzPortal