Thread Thumbnail by AddonsLab

xF2 Add-on Thread Thumbnail by AddonsLab 2.10.0

No permission to download
In this release, we have implemented thread thumbnails for the tag list page.
The release implements an option to specify the names of page templates for which you would like to disable the thumbnails. Specifying "forum_list" would remove the thumbnail for the home page, forum_view would remove the thumbnail for the thread list page etc. This version also implements support for Similar Threads widget from Enhanced Search add-on.
  • Like
Reactions: BattleKing
The release fixes a typo in the CSS class in the thread list.
  • Like
Reactions: BattleKing
This version fixes a bug where the thumbnail is not shown for Youtube video URLs containing playlist information.
This version fixes a bug that caused the option Enable only in forum view not to work and the thumbnails to be shown on all pages instead of forum view pages only.

Bug-fix: hasThumbnail method throws an error due to the missing thumbnail relation

This version fixes a PHP bug: ErrorException: Template error: [E_WARNING] Attempt to read property "is_auto_thumbnail" on null src/addons/AL/ThreadThumbnail/XF/Entity/Thread.php:261

Bug-fix: ErrorException: [E_NOTICE] Trying to get property 'thumbnail_width' of non-object

This version fixes an error with rebuilding thumbnails, when attachment in question is missing its data record in the database.
  • Like
Reactions: BattleKing
In this version, we have implemented support for Search forum node type, which now will show the thumbnails just like in a regular forum.
  • Like
Reactions: shadowmancer
The new option allows to disable automatic thumbnail selection for any specific thread by providing its ID in the admin panel options page. This applies only for automatic thumbnails, users can still manually choose one of the attachments as a thumbnail.
  • Like
Reactions: BattleKing
This version implements support for detection of thread thumbnail from Unfurl block.

It also fixes a bug when editing/saving a thread would trigger error - Please enter a value for the required field 'attachment_id'

Bug-fixes and minor enhancements

  • Bug-fix: YouTube thumbnail not detected if embedded URL has starting point
  • Bug-fix: Thubmnails appear in search results even though they are activated for forum view only
  • Added class "has-thumbnail" to the container row to apply specific CSS to rows with thumbnail
Bug-fix: All attachments are deleted when deleting a single attachment in a post

The release fixes a bug that would cause deleting all attachments in a post when one of them gets deleted. This was related to a conflict with XenForo core JavaScript, that would consider the checkbox meant for the thumbnail selection as a checkbox for deletion of attachments. We have updated the UI to use Radio buttons, and clicking a radio button one more time will unselect it, just in case you need to disable manual selection of any thread thumbnail.
From now on, the options "Enable/Disable Product" and "Enable/Disable Automatic Thumbnail" will not require listing all forums by hand in the option "Enable only in the following forums" or "Disable only in the following forums" - the children of the listed forums will be automatically considered enabled.

This is a breaking change so please verify your configuration after the upgrade.

The release also applies a minor change to the "Rebuild thread thumbnails" Admin panel tool and will now include all threads that already have an automatically detected thumbnail, to allow re-detection of thumbnails, in case there has been a change in the order of attached images or third-party products have modified the way automatic thumbnail detection works.

New option - Hide thumbnail in attachments

In this release, we have created a new option called "Hide thumbnail in attachments".

With the option enabled the attachment which is used as a thumbnail will not be shown in the Attachments block under its post.
This release fixes a bug with the image in thread metadata being the thumbnail instead of the full version, which would cause lower quality preview image when the thread is shared on social media.
Top