Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11845
Latest: SamoanOnion
New This Month: 6
New This Week: 0
New Today: 0
Stats
Total Posts: 42473
Total Topics: 7406
Most Online Today: 80
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 36
Total: 36

Author Topic: Search Word Limit  (Read 729 times)

0 Members and 1 Guest are viewing this topic.

Offline Shades

  • Community Suite Customer
  • Full Member
  • ******
  • Posts: 187
  • 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: 16109
    • 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
3672 Views
Last post July 30, 2008, 03:41:08 pm
by fussilet
0 Replies
2468 Views
Last post February 16, 2009, 03:42:13 pm
by GadgetGeek
4 Replies
3297 Views
Last post June 24, 2011, 09:31:19 pm
by Marcel
0 Replies
1837 Views
Last post November 29, 2011, 09:23:47 pm
by metaltrucker
3 Replies
2238 Views
Last post March 14, 2016, 11:48:04 am
by SMFHacks

+- Recent Topics

"Custom title" badge by Hatshepsut
September 27, 2022, 10:11:27 pm

Category Selection by Anmer
September 18, 2022, 02:40:06 am

Setting a single free download. by Zaphod
September 12, 2022, 10:18:45 pm

Error message "Data too long for column 'ipaddress' at row 1" by SMFHacks
September 12, 2022, 08:49:02 am

SMF to SMF bridge via WP by SMFHacks
September 11, 2022, 09:44:30 am

Video player included by SMFHacks
September 06, 2022, 10:26:27 pm

Upload hangs / doesn't complete by SMFHacks
August 28, 2022, 08:36:21 am

[Feature Request] Admin Sales Alert by Shades
August 25, 2022, 06:41:00 pm

Portal Block by SMFHacks
August 23, 2022, 12:42:22 pm

Question about undoing a rating by SMFHacks
August 22, 2022, 04:31:50 pm

Powered by EzPortal