Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12350
Latest: cl4ude327
New This Month: 2
New This Week: 0
New Today: 0
Stats
Total Posts: 40052
Total Topics: 7052
Most Online Today: 100
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 25
Total: 25

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

0 Members and 1 Guest are viewing this topic.

Offline redpotato

  • Newbie
  • *
  • 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
8089 Views
Last post September 29, 2006, 12:51:41 pm
by BrocLee
1 Replies
4268 Views
Last post September 14, 2007, 10:52:05 pm
by SMFHacks
9 Replies
8096 Views
Last post September 26, 2008, 09:34:57 pm
by SMFHacks
1 Replies
2345 Views
Last post October 14, 2013, 07:50:38 am
by rogerrabbit332
7 Replies
1851 Views
Last post April 04, 2014, 11:40:02 am
by SMFHacks

+- Recent Topics

Cannot install Gallery Pro on SMF 2.1 RC2 by SMFHacks
Today at 09:29:36 am

[Mod]Avatars Display Integration by SMFHacks
February 15, 2020, 07:30:47 pm

[Mod]BBC Message Boxes 1.0 by SMFHacks
February 15, 2020, 07:26:46 pm

[Mod]Stack Trace by live627 by SMFHacks
February 15, 2020, 07:21:33 pm

Stripe Integration by SMFHacks
February 08, 2020, 10:55:29 pm

SMF Store 4.0 Released by SMFHacks
January 26, 2020, 12:11:56 pm

Order of photos by D4611001
January 21, 2020, 12:06:36 pm

Cannot install by SMFHacks
January 18, 2020, 09:40:56 pm

Call to undefined function mysql_query() by SMFHacks
January 18, 2020, 02:06:47 pm

English British Translation file by HAL9000
January 17, 2020, 05:44:28 pm

Powered by EzPortal