XF2 Add-on Thread Filter by AddonsLab | XenForo

Bh013

New member
XNullUser
Joined
Apr 21, 2022
Messages
10
Reaction score
8
Points
3
NullCash
99
Official Link: https://xenforo.com/community/resources/thread-filter-by-addonslab.6034/

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.

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

170426



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

165687



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

181315


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

165686

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

165689

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

165690

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:

165685

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.

166549 166550 167367
 

Attachments

  • al-threadfilter-3.3.0.zip
    203.3 KB · Views: 0
Top