Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11795
Latest: LaurieluvsGH
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 41468
Total Topics: 7262
Most Online Today: 79
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 53
Total: 53

Author Topic: Searching in SMF with no searching words  (Read 1826 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
8405 Views
Last post September 29, 2006, 12:51:41 pm
by BrocLee
1 Replies
4491 Views
Last post September 14, 2007, 10:52:05 pm
by SMFHacks
9 Replies
8422 Views
Last post September 26, 2008, 09:34:57 pm
by SMFHacks
1 Replies
2566 Views
Last post October 14, 2013, 07:50:38 am
by rogerrabbit332
5 Replies
213 Views
Last post July 28, 2021, 11:46:05 am
by Anmer

+- Recent Topics

Question (Gallery Pro) by mickjav
Today at 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

Install Problems by mickjav
October 01, 2021, 01:33:14 pm

Can SMF2WPBridge bridge SMF membergroups into WP? by SMFHacks
September 30, 2021, 02:07:34 pm

Powered by EzPortal