Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11803
Latest: VXP
New This Month: 2
New This Week: 0
New Today: 0
Stats
Total Posts: 41608
Total Topics: 7274
Most Online Today: 79
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 33
Total: 34

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

+- Recent Topics

Thanks mod SMF 2.1 by Monocero
November 27, 2021, 01:13:01 pm

How to change the font on a photo in SMF Gallery Pro? by SMFHacks
November 18, 2021, 09:28:11 am

Bulk Upload Many Pictures - File Name by SMFHacks
November 17, 2021, 08:58:50 am

Schedule or direct download link by SMFHacks
November 16, 2021, 10:57:33 am

Download Expire by Vincent Volmer
November 16, 2021, 02:40:47 am

prettyurls - TroubleShooting.wiki by SMFHacks
November 14, 2021, 02:18:59 pm

Error With Delete Download by mickjav
November 10, 2021, 04:49:12 pm

No ads on left or right by coyote
November 08, 2021, 04:57:13 pm

Now accepting Cryptocurrency by SMFHacks
November 05, 2021, 05:33:27 pm

Latest Version Pretty Urls SEO Pro by SMFHacks
November 04, 2021, 03:46:53 pm

Powered by EzPortal