Thread Filter by AddonsLab

Thread Filter by AddonsLab [Paid] 3.9.2

No permission to buy ($69.99)
Some of the older versions had a function to collapse the form on top.
Now I can't find this anymore. Is this function removed?
 
AddonsLab updated Thread Filter by AddonsLab with a new update entry:

Migration to Filter Framework

We have released an add-on with shared functionality of all our "filter" add-ons. The reason for separating this functionality is to make it easier to maintain and to allow for more flexibility in the future.

The following fixes are included in the latest Filter Framework package:

Fix: multiple prefix filter not working
Fix: indexation of array-type custom fields may trigger PHP error
Enhancement: Do not use AJAX for loading filterable list options if there are no more than 30 options

The...

Read the rest of this update entry...
 
It would be possible to filter by multiple keywords separated by commas?

Like on my pictures, I would like to search "sword school" and/or "wing chun" but not "sword school wing chun" all together.

Screenshot_20230313_202613_Chrome.jpgScreenshot_20230313_202643_Chrome.jpg

Screenshot_20230313_202702_Chrome.jpg
 
Last edited:
Updated to the latest version, hoping it would solve prior issues....to no avail.

Still getting Server Errors.

Code:
Server error log
[LIST]
[*]InvalidArgumentException: Accessed unknown getter 'display_fields' on XF:Forum[129]
[*]src/XF/Mvc/Entity/Entity.php:213
[*]Generated by: Unknown account
[*]Jul 13, 2023 at 9:30 AM
[/LIST]
[HEADING=2]Stack trace[/HEADING]
#0 src/XF/Mvc/Entity/Entity.php(125): XF\Mvc\Entity\Entity->get('display_fields')
#1 internal_data/code_cache/templates/l1/s25/public/thread_list_macros.php(502): XF\Mvc\Entity\Entity->offsetGet('display_fields')
#2 src/XF/Template/Templater.php(990): XF\Template\Templater->{closure}(Object(SV\LazyImageLoader\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#3 src/XF/Template/Templater.php(926): XF\Template\Templater->renderExtensionInternal('meta_cell', Array, Array, Object(XF\Template\ExtensionSet))
#4 internal_data/code_cache/templates/l1/s25/public/thread_list_macros.php(614): XF\Template\Templater->renderExtension('meta_cell', Array, Object(XF\Template\ExtensionSet))
#5 src/XF/Template/Templater.php(827): XF\Template\Templater->{closure}(Object(SV\LazyImageLoader\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#6 internal_data/code_cache/templates/l1/s25/public/svESE_macros.php(67): XF\Template\Templater->callMacro('thread_list_mac...', 'item', Array, Array)
#7 src/XF/Template/Templater.php(827): XF\Template\Templater->{closure}(Object(SV\LazyImageLoader\XF\Template\Templater), Array, NULL)
#8 internal_data/code_cache/templates/l1/s25/public/svElasticSearchEssentials_widget_similar_threads.php(7): XF\Template\Templater->callMacro('svESE_macros', 'similar_threads', Array, Array)
#9 src/XF/Template/Templater.php(1654): XF\Template\Templater->{closure}(Object(SV\LazyImageLoader\XF\Template\Templater), Array, NULL)
#10 src/XF/Widget/WidgetRenderer.php(62): XF\Template\Templater->renderTemplate('svElasticSearch...', Array)
#11 src/XF/Widget/WidgetRenderer.php(67): XF\Widget\WidgetRenderer->render()
#12 src/XF/Template/Templater.php(1939): XF\Widget\WidgetRenderer->__toString()
#13 internal_data/code_cache/templates/l1/s25/public/thread_view.php(1276): XF\Template\Templater->widgetPosition('thread_view_bel...', Array)
#14 src/XF/Template/Templater.php(1654): XF\Template\Templater->{closure}(Object(SV\LazyImageLoader\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#15 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('thread_view', Array)
#16 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#17 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#18 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#19 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#20 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#21 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#22 src/XF.php(524): XF\App->run()
#23 index.php(20): XF::runApp('XF\\Pub\\App')
#24 {main}
 
So I then disabled Lazy Loading and am now getting the following error:

Code:
Server error log
[LIST]
[*]XFES\Elasticsearch\RequestException: Fielddata is disabled on [field_choice_multiple] in [forum]. Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [field_choice_multiple] in order to load field data by uninverting the inverted index. Note that this can use significant memory.
[*]src/addons/XFES/Elasticsearch/Api.php:424
[*]Generated by: Milkshake
[*]Jul 13, 2023 at 9:35 AM
[/LIST]
[HEADING=2]Stack trace[/HEADING]
#0 src/addons/XFES/Elasticsearch/Api.php(338): XFES\Elasticsearch\Api->request('GET', 'forum/_search', '{
    "size": 0...')
#1 src/addons/AL/FilterFramework/Service/ElasticSource.php(204): XFES\Elasticsearch\Api->requestFromIndex('GET', '_search', Array)
#2 src/addons/AL/ThreadFilter/XFES/Search/Source/Elasticsearch.php(74): AL\FilterFramework\Service\ElasticSource->countFacets(Array, Array)
#3 src/addons/AL/ThreadFilter/XF/Search/Search.php(65): AL\ThreadFilter\XFES\Search\Source\Elasticsearch->countFacetsByThreadIds(Array, Array)
#4 src/addons/AL/ThreadFilter/Service/ContentTypeProvider.php(143): AL\ThreadFilter\XF\Search\Search->countFacetsByThreadIds(Array, Array)
#5 src/addons/AL/FilterFramework/Service/FacetedSearchProvider.php(147): AL\ThreadFilter\Service\ContentTypeProvider->countFacetsByDiscussionIds(Array, Array)
#6 src/addons/AL/FilterFramework/Service/ContextProvider.php(759): AL\FilterFramework\Service\FacetedSearchProvider->getFacetCounts(Array, Array, false)
#7 src/addons/AL/ThreadFilter/XF/Pub/Controller/Forum.php(239): AL\FilterFramework\Service\ContextProvider->executeFacetedSearch(Object(SV\ThreadReplyBanTeeth\XF\Finder\Thread), Array)
#8 src/XF/Pub/Controller/Forum.php(243): AL\ThreadFilter\XF\Pub\Controller\Forum->applyDateLimitFilters(Object(AddonFlare\GlobalIgnore\XF\Entity\Forum), Object(SV\ThreadReplyBanTeeth\XF\Finder\Thread), Array)
#9 src/addons/AL/ThreadFilter/XF/Pub/Controller/Forum.php(103): XF\Pub\Controller\Forum->actionForum(Object(XF\Mvc\ParameterBag))
#10 src/addons/Andy/ForumModerators/XF/Pub/Controller/Forum.php(12): AL\ThreadFilter\XF\Pub\Controller\Forum->actionForum(Object(XF\Mvc\ParameterBag))
#11 src/addons/AVForums/PrefixEssentials/XF/Pub/Controller/Forum.php(45): Andy\ForumModerators\XF\Pub\Controller\Forum->actionForum(Object(XF\Mvc\ParameterBag))
#12 src/addons/Bespoke/SequentialStickies/XF/Pub/Controller/Forum.php(11): AVForums\PrefixEssentials\XF\Pub\Controller\Forum->actionForum(Object(XF\Mvc\ParameterBag))
#13 src/addons/SV/UserActivity/XF/Pub/Controller/Forum.php(19): Bespoke\SequentialStickies\XF\Pub\Controller\Forum->actionForum(Object(XF\Mvc\ParameterBag))
#14 src/addons/SV/AggregatingForums/XF/Pub/Controller/Forum.php(37): SV\UserActivity\XF\Pub\Controller\Forum->actionForum(Object(XF\Mvc\ParameterBag))
#15 src/addons/SV/OptimizedListQueries/XF/Pub/Controller/Forum.php(31): SV\AggregatingForums\XF\Pub\Controller\Forum->actionForum(Object(XF\Mvc\ParameterBag))
#16 src/addons/SV/StandardLib/XF/Pub/Controller/Forum.php(21): SV\OptimizedListQueries\XF\Pub\Controller\Forum->actionForum(Object(XF\Mvc\ParameterBag))
#17 src/addons/AddonFlare/GlobalIgnore/XF/Pub/Controller/Forum.php(21): SV\StandardLib\XF\Pub\Controller\Forum->actionForum(Object(XF\Mvc\ParameterBag))
#18 src/XF/Mvc/Dispatcher.php(352): AddonFlare\GlobalIgnore\XF\Pub\Controller\Forum->actionForum(Object(XF\Mvc\ParameterBag))
#19 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Forum', 'Forum', Object(XF\Mvc\RouteMatch), Object(AddonFlare\GlobalIgnore\XF\Pub\Controller\Forum), Object(XF\Mvc\Reply\Reroute))
#20 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(AddonFlare\GlobalIgnore\XF\Pub\Controller\Forum), Object(XF\Mvc\Reply\Reroute))
#21 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#22 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#23 src/XF.php(524): XF\App->run()
#24 index.php(20): XF::runApp('XF\\Pub\\App')
#25 {main}
 
Now I'm testing on my development site, disabled ALL plugins and only enabled the AL ones. No errors.

Enable Xenforo Enhanced Search and the errors return. Is there a specific setting for ES that's needed for this to work?
 
Hello, @woody

Thank you for the report.

Please check the follow two settings:

1. AL Core add-on has an option for legacy class extensions. Disable the option as it is no longer required with the latest versions of Thread Filter. Here is the update about it - https://xenforo.com/community/resources/al-core-package.7382/updates#resource-update-44447

2. ES search error is related to ES index optimization. You can do it in Setup -> Enhanced Search section, where you should see an Optimize button. Once optimization is run and search index is rebuilt, the error will be gone.

Just let us know if there is any other problem and we will resolve it asap.

Thank you!
 
Where can I find this Filter Framework?

It is released at https://xenforo.com/community/resources/al-filter-framework.9045/

It would be possible to filter by multiple keywords separated by commas?

Like on my pictures, I would like to search "sword school" and/or "wing chun" but not "sword school wing chun" all together.

View attachment 282950View attachment 282951

View attachment 282952

I am afraid that's not possible for now, we will consider implementing it once we have some free time.
 
Does anyone know how to add placeholder text to custom drop-down fields that appear in the sidebar? Specifically, I've noticed that my default prefix drop-down starts with "(Any)" in the drop-down box but the default state of my custom drop-down boxes is blank. Is there any way to configure custom drop-down boxes to start with placeholder text (e.g., "(Any)" like for the prefix box), instead of starting blank? Thanks!
 
Specifically, here's what my Thread Filter sidebar looks like (see below). I'm using one default filter field for prefixes (renamed "location" for purposes of my forum), which includes the "(Any)" placeholder. The other two are custom thread fields. As you can see, the visual consistency would be improved if all three fields either used the "(Any)" placeholder or were just blank. Does anyone know if there's a simple way to make either of these changes?

1693780001528.webp
 
Not sure anyone else is experiencing this, but when I use the "Enable filterable drop down lists" setting, and the text for my drop-down box is longer than the box width, the text flows out of the side of the box (see below). I really like this feature but it's unusable because of this.

1694143358181.png

When you use drop-down boxes but have the "Enable filterable drop down lists" setting turned off, the text stops at the end of the box and does not overflow. @AddonsLab, is it possible this can be corrected with your next update?

Looping in @Russ, since I'm using Bolt Header style. This isn't an issue with the style is it?
 
Last edited:
Not sure anyone else is experiencing this, but when I use the "Enable filterable drop down lists" setting, and the text for my drop-down box is longer than the box width, the text flows out of the side of the box (see below). I really like this feature but it's unusable because of this.

View attachment 290856

When you use drop-down boxes but have the "Enable filterable drop down lists" setting turned off, the text stops at the end of the box and does not overflow. @AddonsLab, is it possible this can be corrected with your next update?

Looping in @Russ, since I'm using Bolt Header style. This isn't an issue with the style is it?

Solution for this is here: https://xenforo.com/community/threads/glitch-with-filterable-drop-down-lists.216515/#post-1646112

@AddonsLab, passing this along to you as well for your consideration for future updates.
 
Getting this error - Any help is appreciated (also submitted a ticket on your website 5 days ago)

Code:
[HEADING=2]Stack trace[/HEADING]
#0 src/addons/AL/ThreadFilter/Service/ContentTypeProvider.php(190): XF::handlePhpError(2, '[E_WARNING] Und...', '/home/oakleyfo/...', 190)
#1 src/addons/AL/ThreadFilter/Job/ThreadField.php(45): AL\ThreadFilter\Service\ContentTypeProvider->getItemBatch(0, 100)
#2 src/addons/AL/ThreadFilter/Job/ThreadField.php(50): AL\ThreadFilter\Job\ThreadField->getItemBatch(0, 100)
#3 src/XF/Job/AbstractRebuildJob.php(30): AL\ThreadFilter\Job\ThreadField->getNextIds(0, 100)
#4 src/XF/Job/Manager.php(260): XF\Job\AbstractRebuildJob->run(8)
#5 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#6 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 8)
#7 src/XF/Admin/Controller/Tools.php(141): XF\Job\Manager->runQueue(true, 8)
#8 src/XF/Mvc/Dispatcher.php(352): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#9 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#10 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#11 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#12 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#13 src/XF.php(524): XF\App->run()
#14 admin.php(13): XF::runApp('XF\\Admin\\App')
#15 {main}
 
Getting this error - Any help is appreciated (also submitted a ticket on your website 5 days ago)

Code:
[HEADING=2]Stack trace[/HEADING]
#0 src/addons/AL/ThreadFilter/Service/ContentTypeProvider.php(190): XF::handlePhpError(2, '[E_WARNING] Und...', '/home/oakleyfo/...', 190)
#1 src/addons/AL/ThreadFilter/Job/ThreadField.php(45): AL\ThreadFilter\Service\ContentTypeProvider->getItemBatch(0, 100)
#2 src/addons/AL/ThreadFilter/Job/ThreadField.php(50): AL\ThreadFilter\Job\ThreadField->getItemBatch(0, 100)
#3 src/XF/Job/AbstractRebuildJob.php(30): AL\ThreadFilter\Job\ThreadField->getNextIds(0, 100)
#4 src/XF/Job/Manager.php(260): XF\Job\AbstractRebuildJob->run(8)
#5 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#6 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 8)
#7 src/XF/Admin/Controller/Tools.php(141): XF\Job\Manager->runQueue(true, 8)
#8 src/XF/Mvc/Dispatcher.php(352): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#9 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#10 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Tools), NULL)
#11 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#12 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#13 src/XF.php(524): XF\App->run()
#14 admin.php(13): XF::runApp('XF\\Admin\\App')
#15 {main}
I messaged them about an error similar to this when rebuilding thread fields. Maybe they are working on it.
 
Top Bottom