Thread Filter by AddonsLab

XF 2 Add-on Thread Filter by AddonsLab 3.2.1

Compatible With XenForo
2.0, 2.1
Additional Requirements
[AL] Core package https://www.xenfun.com/resources/al-core-package.122/
Visible Branding
No
The add-on allows us 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.

Here is the filter with AJAX reloading of the list in action:

AJAX filter.gif


The controls to filter the threads are added in Filters popup in the thread list:

Filters popup.png


You can activate an off-canvas menu in mobile view which will reply the default filter forms for mobile browsers only:

Aug-10-2018 15-18-04.gif


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

Search form.png


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

Options for choice fields.png


Choice fields can be configured to be shown in the forms using Checkboxes and Multiple-choice drop-down (allow searching/filtering by multiple values) or Dropdown selection/Radio buttons (allow searching/filtering only by single value).

Field Options.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 threads 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 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:

Active Filters.png


The product allows moving the filters from the default location in a popup to the sidebar on forum pages. The setting can be configured globally or for each forum.

Product Options.png
Filter in sidebar.png
Filter above thread list.png


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 a separate content type in Elasticsearch. A high-performance algorithm is implemented to filter millions of records and show only threads matching filter criteria. Custom fields are searched only once, and the result is cached for subsequent pages.

Field value in search results.png
Field values in mobile view.png
Field values in normal view.png
Forum field options.png
Search results with fields under snippet and as prefix.png
Forum view - fields as prefix and under title.png
Field location configuration.png
Author
XenFun
Downloads
0
Views
123
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from XenFun

Top