Opened 6 years ago
Closed 6 years ago
#694 closed enhancement (fixed)
search function needs filter for WHERE clause
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | Back-end | Version: | 0.8.2.1 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
It is currently impossible to affect the query statement in the search function for bbPress without directly hacking the core search.php file.
May I request a WHERE filter be inserted just like "get_latest_topics_where" and "get_latest_posts_where".
Without this, plugins like "private forums" cannot block results for topics a non-member or non-moderator should not see.
It will also be useful for plugins that create a more powerful search ability to match premium forum software like vbulletin.
Change History (2)
Note: See
TracTickets for help on using
tickets.
You should check out the search features in the Content sections of bbPress' admin screens in trunk.
Also note that the search form is much more customizable in trunk now too:
That reflects the defaults: show a search field and a forum dropdown.
If you change them all to 1, you'll get a search field, a forum dropdown, a tag field, a topic_author field and a post_author field. Those are the only ones bbPress core supports at the moment. Date based searches would be a nice addition.