Marketplace
- Yearly: $69.99 USD (Renewal: $40.00 USD)
- Trial: 7 Days
Performance-optimized media filter and search based on custom fields
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:
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.
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.
Pricing
Add-on costs $49.99 USD that includes one year of support and updates with permanent access to product versions released in license validity period. Yearly extension costs $40.00 USD
The add-on has a visible branding with a link to our website which can be removed for additional $30.00 USD payment.
Trial Version
We offer seven days free trial version on our website. No credit card is required, the service is approved automatically upon registration and confirmation of order.
IonCube Loader and PHP 5.6+ version are required to run trial version of the product. The full version does not have such requirement and does not have any encoded code in it.
Demo
The product is active on our forums at https://xf2.addonslab.com/index.php and can be tested at https://xf2.addonslab.com/index.php?media/
Registered user accounts Username: user1 Password: userpass
Username: user2 Password: userpass
Admin account Username: admin1 Password: adminpass
Licensing Information
You will get a License Key upon purchase/trial subscription, which will be available in My Services page at https://customers.addonslab.com/marketplace.php/my-services/
The key should be entered in product's Options page in XenForo Admin Panel. Once entered and saved you will see full details about your current license status. The key can be used only on one board and one server, so if you move the board you need to Reissue the license in My Services page.
The product does not include any callbacks, that execute on page load time on front-end or via cron jobs. License check is done only when you edit/save product's options or upgrade the product to the next version.
We require valid XenForo license to purchase the product. You will be asked for XenForo License validation information during the purchase.
Full details at https://addonslab.com/threads/product-licensing-information.81/
Support
Support will be provided in the Discussion Thread at XenForo.com and in our Support System at https://customers.addonslab.com/submitticket.php
Feel free to contact us with any issues you find in the product or any suggestions.
Check out our free and paid XenForo add-ons in our Marketplace at https://customers.addonslab.com/marketplace.php
Screenshots
Version: 2.8.1 Release date: 2026-08-08
Version: 2.7.0 Release date: 2023-01-30
Version: 2.6.1 Release date: 2021-09-22
In this release, we have fixed a bug with the Clear button not working in the Filter popup.
Version: 2.6.0 Release date: 2021-09-17
In this release, we have implemented a Clear button in the filter form, next to the Filter button. Pressing the button resets filters. The button is not shown in the filter form until some filters are applied.
Version: 2.5.1 Release date: 2021-08-08
This version fixes a bug appearing when admins use the option "Value display HTML" for a custom field using HTML that breaks the layout in the Active filters bar. The HTML will be stripped away now and only the raw value will be shown in the bar
Version: 2.5.0 Release date: 2021-06-07
This version enhances location support using the latest upgrade of Location custom field add-on. Now you can choose to hide the default distance unit in the filter form. From this version on, Google API key should be specified in the Location custom field add-on options. Please verify these options after upgrade. It also fixes a bug with the option Maximum result count that would not allow 0 as a value.
Version: 2.4.2 Release date: 2021-03-11
This is a fix for a regression in the latest version, which would cause the Auto Reload not to work with a JavaScript error logged.
Version: 2.4.1 Release date: 2021-03-04
Release contains updated files from the shared Filter Framework package used by all our filter products. Please install this release if you are using any other filter product created by us.
Version: 2.4.0 Release date: 2021-02-13
The release fixes the bug with filters not working in the off-canvas menu for mobile devices and implements sorting of media items by title. It also fixes the issue with the total number of results missing if filters are shown in the popup.
We are aware there is an issue with faceted search, we are working on it and will release another update soon.
Version: 2.2.3 Release date: 2020-09-12
This version fixes the following PHP error when rebuilding custom fields:
Error: Call to undefined method XF\Util\Arr::arrayColumn()
Version: 2.2.2 Release date: 2020-08-28
The release fixes a bug, that would cause ES search error "Elasticsearch error: all shards failed". This would happen only if you have Multiple prefix search option activated, and if a user/bot manually modifies the URL to include invalid prefix IDs (which are normally numeric). This is not a security issue as attacker would not get any error message except that searching failed.
Version: 2.2.0 Release date: 2020-08-17
This version implements compatibility with XenForo 2.2
Version: 2.1.0 Release date: 2020-05-25
If the filter URL is modified and the values of multiple-selection fields are changed intentionally (e.g. with an attempt to cause an error in the website or execute SQL injection), there would be a PHP error logged in the admin panel. However, this would not cause any visible errors or unexpected SQL queries. With this release, we have made sure these invalid values don't make their way to built-in XenForo functions that expect only valid values.
This version also fixes a compatibility issue with Elasticsearch 7.x versions.
Version: 2.0.0 Release date: 2020-04-28
This is a major update supporting Faceted search. Please check XenForo.com for description.
Version: 1.3.1 Release date: 2019-09-16
This is a minor release, that changes the way the add-on is using some of our shared PHP classes. From now on, the add-on will require a core library package from https://xenforo.com/community/resources/al-core-package.7382/ to be installed. Please download the package and install it before upgrading the add-on. Please upgrade all other AddonsLab add-ons you are using to their latest versions if you see an error in the Admin Panel about files with unexpected content.
Version: 1.3.0 Release date: 2019-05-03
The version fixes a PHP error caused by Elasticsearch 2.x incompatibility. Your installation is not affected by the issue if filtering brings any results with ES enabled. We have also implemented a new option to set Cache TTL controlling how long the results of the search should be cached in the MySQL database. Setting the option to 0 will disable the cache. The option should be used only to troubleshoot issues that could be caused by invalid cache.
Due to a limitation on how many items are returned by the initial search based on keywords (200 by default), their further filtering by category and custom fields could end up with a missing or incomplete list of found items. The issue is fixed now by raising the limit based on the option "Maximum result count" (10000 by default).
Version: 1.2.1 Release date: 2018-11-22
This is a bug-fix release the fixes the case of having incorrect results shown when two custom fields have identical values. As a result, the cache from the search results executed against one of the custom fields could be used when searching for the second custom field.
Version: 1.2.0 Release date: 2018-10-19
The default behavior of the product to search multiple values of the same custom field is to find any items which match to any of the options selected. For example, if a media item is created with the values of a custom field put as "option 1" and "option 2", and another media item is created with the same custom field having a value "option 1" only, then a user filtering the list checking both "option 1" and "option 2" in the form would see both media items in the results. With this update, we detect such cases and give users an additional selection field under the checkboxes allowing to change this behavior and find only the media items which have ALL instead of ANY selected options checked. Also, admins are able to set if the default match type for a field should be "Match all options" or "Match any option". This can be set in add/edit field page, under the sector "Options for choice fields".
Version: 1.1.0 Release date: 2018-10-10
This version introduced two substantial enhancements - ability to filter media by keywords and tags. Both features are configurable and can be turned off in product's options. Keyword search can be configured to search in media title only or both title and the description. Both fields support AJAX mode. In the background, XenForo search engine and the cache is used to filter the media.
The version also has a stability enhancement fixing PHP errors logged in the Admin Panel in the cases when a bot or a user would intentionally supply filter values which don't exist in the choices of a multiple-choice field. The error would be generated due to the system trying to find the phrase for the option and resulting in "Undefined index..." error.
The version will require rebuilding of Media Fields search index from Admin Panel -> Tools -> Rebuild caches -> Rebuild search index (select Media Fields as Content type).
Version: 1.0.2 Release date: 2018-07-24
Fixed a PHP error when running the task "Rebuild Media Fields". Fixed the Optimize button being active in Enhanced Search configuration even after optimization.
Version: 1.0.1 Release date: 2018-05-14
In this release we have optimized the product for the boards which use custom fields with thousands of possible choices.
Version: 1.0.0 Release date: 2018-05-05
Initial version
Version: 2.8.1 Release date: 2026-08-08
Version: 2.7.0 Release date: 2023-01-30
Version: 2.6.1 Release date: 2021-09-22
- Bug fix: Clear button redirects to the forum home page
Version: 2.6.0 Release date: 2021-09-17
- Added Clear filters button to the filter form
Version: 2.5.1 Release date: 2021-08-08
Bug-fix: broken html in Active filters
Version: 2.5.0 Release date: 2021-06-07
- Location support enhancement
- Bug-fix: Maximum result count option does not allow 0 as a value
Version: 2.4.2 Release date: 2021-03-11
- Bug-fix: Auto-reload not working after the latest update
Version: 2.4.1 Release date: 2021-03-04
- Maintenance release
Version: 2.4.0 Release date: 2021-02-13
- Fix for the off-canvas menu filter
- Sorting by title
Version: 2.2.3 Release date: 2020-09-12
- Bug-fix: Error: Call to undefined method XF\Util\Arr::arrayColumn()
Version: 2.2.2 Release date: 2020-08-28
- Bug-fix: Elasticsearch error when prefix IDs are not numeric
Version: 2.2.0 Release date: 2020-08-17
- XenForo 2.2 compatibility update
Version: 2.1.0 Release date: 2020-05-25
- PHP error prevention with manually modified filter links
- Compatibility fix with Elasticsearch 7.x versions.
Version: 2.0.0 Release date: 2020-04-28
- Faceted search
- Total counter
Version: 1.3.1 Release date: 2019-09-16
- Dependency added: [AL] Core Package
Version: 1.3.0 Release date: 2019-05-03
- Elasticsearch 2.x compatability
- New opton - Cache TTL
- Bug-fix: results are incomplete/missing when using with keywords
Version: 1.2.1 Release date: 2018-11-22
- Bug-fix: incorrect cached results when different custom fields use same values
Version: 1.2.0 Release date: 2018-10-19
- Multiple choice fields search enhancement
Version: 1.1.0 Release date: 2018-10-10
- Filter by keywords and tags
- Stability fix
Version: 1.0.2 Release date: 2018-07-24
- Bug-fix: PHP error when running the task "Rebuild Media Fields"
- Optimize button being active in Enhanced Search configuration even after optimization
Version: 1.0.1 Release date: 2018-05-14
- Optimization for boards with large number of custom field choices
Version: 1.0.0 Release date: 2018-05-05
- Initial version






