- پشتیبانی از نسخه های
- افزونه های پیش نیاز
- XenForo Media Gallery
- [AL] Core Package
The add-on allows to filter and search media based on Media fields. This will allow your users to find the media they are interested in quickly and accurately.
The controls to filter the media are added to Filters popup in Media homepage and categories:
Media Search page is also enhanced to show filter controls when the forum being searched currently has custom fields associated with it:
Each field can be configured separately to be shown in the filter list and/or in the search form:
Each category can be configured to show the values of custom fields in search views - as a prefix or under the title:
Choice fields can be configured to be shown in the forms using Check boxes and Multiple-choice drop down (allow searching/filtering by multiple values) or Drop down selection/Radio buttons (allow searching/filtering only by single value).
Date fields and numeric fields are shown as interval inputs (from... to...) where both fields are optional, so it is possible to search any values higher/lower than the defined values or in some particular interval.
Color fields are also supported and color similarity algorithm is implemented. All items with visually similar colors are found and listed. An example search listing media filtered by color similarity can be seen here The index of color similarity is configurable and can be set from product's options page:
Text fields are searched and indexed just like media title/description itself. Full-text search is executed with fuzzy matching, meaning the phrase searched does not have to be in exactly the same order as in the query.
Media list shows all active filters. Clicking each filter will remove the field and re-run the search with the remaining filters:
The product allows moving the filters from the default location in a popup to the sidebar or above media list, configured per category or globally.
Xenforo Enhanced Search and Elastic Search support
The add-on has special support for Enhanced Search add-on with Elasticsearch back-end. Custom field information is indexed as separate content type in Elasticsearch. A high-performance algorithm is implemented to filter millions of records and show only the media matching filter criteria. Custom fields are searched only once, and the result is cached for subsequent pages. Even though the product performs completely fine without Enhanced Search add-on, it is highly recommended to use this add-on and Elasticsearch on large databases.
Filtering media based on tags is planned to be implemented.