XenForo Modifications
Thread Filter by AddonsLab 3.3.0
Submitted by eereeska, 12-09-2020, 07:17 PM, Thread ID: 180903
Thread Closed
Quote:Add-On Overview
The add-on allows to filter and search threads based on Custom thread fields. The idea is to allow admins to utilize the power of custom thread fields to turn their forums into Directory, Classifieds, Shop or other types of content, for which filtering the data based on custom fields is vital.
The controls to filter the threads are added in Filters popup in the thread list.
Search Threads 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
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 threads filtered by color similarity can be seen here
Text fields are searched and indexed just like thread text 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.
Thread list shows all active filters. Clicking each filter will remove the field and re-run the search with the remaining filters:
Users browsing this thread: 1 Guest(s)