Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12388
Latest: Rands
New This Month: 5
New This Week: 0
New Today: 0
Stats
Total Posts: 40308
Total Topics: 7099
Most Online Today: 46
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 76
Total: 77

Author Topic: Searching in SMF with no searching words  (Read 1709 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
8200 Views
Last post September 29, 2006, 12:51:41 pm
by BrocLee
1 Replies
4331 Views
Last post September 14, 2007, 10:52:05 pm
by SMFHacks
9 Replies
8251 Views
Last post September 26, 2008, 09:34:57 pm
by SMFHacks
1 Replies
2433 Views
Last post October 14, 2013, 07:50:38 am
by rogerrabbit332
7 Replies
1902 Views
Last post April 04, 2014, 11:40:02 am
by SMFHacks

+- Recent Topics

Quality of images after import by SMFHacks
September 05, 2020, 10:21:44 am

How do I download gallery images? by CWVRV
August 30, 2020, 11:50:07 pm

Deleting Empty Galleries by SMFHacks
August 30, 2020, 11:43:32 am

PHP error by davejo
August 25, 2020, 07:35:13 am

Permissions to list ads and buy items by CWVRV
August 21, 2020, 05:19:45 pm

Doubt with download permissions. by Rock Lee
August 20, 2020, 08:23:24 pm

Attachment images Upsidedown or Sideways by SMFHacks
August 18, 2020, 05:41:07 pm

[Mod]Avatars Display Integration by Hatshepsut
August 17, 2020, 11:39:54 pm

Simple Portal Block - Classifieds by SMFHacks
August 16, 2020, 09:56:48 am

SMF Links by SMFHacks
August 16, 2020, 08:03:42 am

Powered by EzPortal