A short while ago we let you know about some improvements coming to XenForo 2.4 related to custom fields. You can catch up here:
Today we're continuing on that topic with the next logical progression: Custom field searching!
When adding a custom field you can now, under "General options", toggle whether the field can be included in the search index. This appears just below the new option to enable filtering.
Let's say we have a thread for bug reports with a custom field where you can specify a bug category:
You can search in a couple of ways.
First, and probably most simple for text-based values, would be just searching for "control panel" (or any reasonable combination) in the quick search box.
For a more advanced search, where you may want to search for multiple values across multiple fields, you can go to the Search forums page:
We're excited to hear what you think and what your use cases will be for custom field searching (and filtering). We have a few more ideas for custom field improvements planned for the future so please let us know what else you'd like to see.
With XenForo 2.4 we are finally addressing one of the most common pieces of feedback we get regarding custom fields which is filtering! But first, let's take a little look under the hood to see what else is new:
Flexible custom field types
Each of the existing custom field types are now moved to their own individual handler classes and assigned to add-ons in the database. This opens the door for developers to finally introduce their own custom field types for their add-ons. So instead of being constrained to the defaults we provide, developers will be able to add all sorts of custom...- Chris D
- Replies: 30
- Forum: Have you seen...?
Today we're continuing on that topic with the next logical progression: Custom field searching!
When adding a custom field you can now, under "General options", toggle whether the field can be included in the search index. This appears just below the new option to enable filtering.
Let's say we have a thread for bug reports with a custom field where you can specify a bug category:
You can search in a couple of ways.
First, and probably most simple for text-based values, would be just searching for "control panel" (or any reasonable combination) in the quick search box.
For a more advanced search, where you may want to search for multiple values across multiple fields, you can go to the Search forums page:
We're excited to hear what you think and what your use cases will be for custom field searching (and filtering). We have a few more ideas for custom field improvements planned for the future so please let us know what else you'd like to see.