Media Filter by AddonsLab

xF2 Add-on Media Filter by AddonsLab 2.1.0

No permission to download
Compatible xF Versions
2.1.x
Additional Requirements
XenForo Media Gallery 2.0.0+
[AL] Core package
Add-On Overview

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:


1 - Filter Popup.png



Media Search page is also enhanced to show filter controls when the forum being searched currently has custom fields associated with it:

2 - Search Form.png



Each field can be configured separately to be shown in the filter list and/or in the search form:

3 - Field Configuration.png



Each category can be configured to show the values of custom fields in search views - as a prefix or under the title:

4 - Display fields in search result.png



5 - Search results with custom fields.png




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).


6 - Choose type of filter for multiple selection fields.png



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:

7 - Active filters.png



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.

Planned Features

Filtering media based on tags is planned to be implemented.

Sortable custom field options

Our add-on at Sort Field Options for XenForo 2.x allows admins to sort custom field options when they create/edit the field in Admin Panel. The order in admin panel affects the order in which the options are shown to the users on add/edit media form as well as in the filters. The add-on costs $20.00 USD but it is a free module we provide with every license of Media Filter. Feel free to contact us if you need a license and we will assign it to your account immediately.
Author
uBeks
Downloads
3
Views
112
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from uBeks

Top