MyBB Community Forums

Full Version: Show unanswered threads?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there a search protocol for unanswered threads?

For example, for new threads it's /search.php?action=getnew and for the daily threads it's /search.php?action=getdaily so would unanswered be something like /search.php?action=unanswered or do I have to add a new protocol to search.php?

I found this plugin for 1.6, is there anything I could take from this and add to search.php?

[attachment=38979]
https://github.com/mybb/mybb/blob/feature/search.php

If you look through that file you'll see several lines that look like this:
elseif($mybb->input['action'] == "something")
The "something" in those elseif statements is the value of the "action" argument passed to search.php. So for example on line 1995 you'll see
elseif($mybb->input['action'] == "finduser")
. The URL for that would look like /search.php?action=finduser.

To answer your question though, not that I know of. You could do it with a plugin or a core edit though.