Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4220
Latest: agolac
New This Month: 1
New This Week: 1
New Today: 0
Stats
Total Posts: 42854
Total Topics: 7464
Most Online Today: 112
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 50
Total: 50

Author Topic: Searching in SMF with no searching words  (Read 2120 times)

0 Members and 1 Guest are viewing this topic.

Offline redpotato

  • Member
  • *
  • Posts: 2
    • View Profile
Searching in SMF with no searching words
« on: January 17, 2011, 12:19:31 pm »
Hello,

I am trying to search by no search text which mean if I search by no search word, it should give me all.
I have modified file Search.php.
It actually has some other criteria that I have inserted.

if (!isset($search_params['search']) || $search_params['search'] == ''){
   //$context['search_errors']['invalid_search_string'] = true;
so it does not give me the error message but I don't think it does not give me correct information.

is there any part I need to modify?? to have correct search result information with no search word.

please give me some tips!

thanks!

 

Related Topics

  Subject / Started by Replies Last post
5 Replies
8633 Views
Last post September 29, 2006, 12:51:41 pm
by BrocLee
1 Replies
4692 Views
Last post September 14, 2007, 10:52:05 pm
by SMFHacks
9 Replies
8820 Views
Last post September 26, 2008, 09:34:57 pm
by SMFHacks
1 Replies
2720 Views
Last post October 14, 2013, 07:50:38 am
by rogerrabbit332
5 Replies
653 Views
Last post July 28, 2021, 11:46:05 am
by Anmer

+- Recent Topics

Is the PayPal Sandbox still working? by Nicole
Today at 06:51:18 am

Question on Completed Listing & Reserve Price by Nicole
June 01, 2023, 06:06:12 pm

[Mod]GDPR Helper by Nicole
May 29, 2023, 11:58:49 pm

RSS Feed Poster Database Error by SMFHacks
May 22, 2023, 06:26:18 pm

Errors With Older Version. by Ken.
May 09, 2023, 05:35:40 pm

Pretty Urls SEO Pro by SMFHacks
May 06, 2023, 03:30:11 pm

New Post Image Upload Error by Mike66
April 28, 2023, 07:30:28 am

Copyright Removal Key by SMFHacks
April 03, 2023, 02:44:28 pm

Converting from Aeva Media by sudhakar
April 02, 2023, 11:09:54 am

Using SMF's Built-in Search Algorithm by shuban
March 27, 2023, 09:15:10 am

Powered by EzPortal