Facebook 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4301
Latest: Bolon377
New This Month: 9
New This Week: 4
New Today: 1
Stats
Total Posts: 43801
Total Topics: 7605
Most Online Today: 561
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 44
Total: 44

Author Topic: Search Word Limit  (Read 1951 times)

0 Members and 1 Guest are viewing this topic.

Offline Shades

  • Full Member
  • ***
  • Posts: 219
  • 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: 16677
    • 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
4548 Views
Last post July 30, 2008, 03:41:08 pm
by fussilet
0 Replies
3496 Views
Last post February 16, 2009, 03:42:13 pm
by GadgetGeek
4 Replies
4280 Views
Last post June 24, 2011, 09:31:19 pm
by Marcel
0 Replies
2722 Views
Last post November 29, 2011, 09:23:47 pm
by metaltrucker
3 Replies
3050 Views
Last post March 14, 2016, 11:48:04 am
by SMFHacks

+- Recent Topics

A day? by davejo
June 11, 2025, 04:14:35 pm

Dual 'Upload Url' by davejo
June 06, 2025, 04:27:45 pm

Automatic Sorting of Categories by Kiwi
June 03, 2025, 10:32:32 pm

[Mod]Cloudflare Turnstile for SMF by SMFHacks
May 08, 2025, 10:08:43 am

Disable "Notify me of Comments feature" by Kiwi
May 08, 2025, 02:04:16 am

Trying to access array offset on null by Michel68
May 05, 2025, 08:47:34 am

Default [Additional] Membergroups upon Registration by SMFHacks
April 30, 2025, 10:22:52 am

Sorted FTP Import Directory by SMFHacks
April 25, 2025, 05:11:22 am

Search results items per page? by SMFHacks
April 18, 2025, 04:12:23 pm

Suggestions and request by Senkusha
April 03, 2025, 02:30:43 pm

Powered by EzPortal