Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 [Request] Show Unanswered Threads
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #5
RE: [Request] Show Unanswered Threads
dvb Wrote:I think a better solution will be to add another condition to the if statement so the if will check that at least one of the three fields (keywords, author, replies) filled.
if you just delete that section I think it'll be problematic, no?
Nope, if you don't supply anything, it'll just return all threads.
I personally think that requiring the user to enter a search term or username there is a little unnecessary...

RR2 Wrote:Neat! But can I put a link in the welcome block called View Unanswered Threads using this?
In search.php find:

PHP Code:
elseif($mybb->input['action'] == "do_search" && $mybb->request_method == "post")

Replace with:

PHP Code:
elseif($mybb->input['action'] == "do_search")


Then you can basically use a link like:

Code:
http://example.com/search.php?action=do_search&findthreadst=2&numreplies=0


My Blog
03-19-2008 11:36 AM
Find all posts by this user

« Next Oldest | Next Newest »

Messages In This Thread
[Request] Show Unanswered Threads - RR2 - 03-18-2008, 11:34 PM
RE: [Request] Show Unanswered Threads - ZiNgA BuRgA - 03-19-2008 11:36 AM

 Standard Tools
Forum Jump: