Thread Thumbnail by AddonsLab

xF2 Add-on Thread Thumbnail by AddonsLab 2.10.0

No permission to download
This release fixes a compatibility issue on XenForo 2.2.x where it wasn't possible to change the thread thumbnail manually.

It also includes a fix for a bug causing users without "Change Own Thread's Thumbnail" permission to see the Set Thumbnail checkbox while editing the first post. This fix applies to all XenForo versions.
This version implements compatibility with XenForo 2.2.
Update highlights

!!! THIS VERSION REQUIRES XENFORO 2.2.0 AND PHP 7.2.0 !!!

This version contains coding style updates and changes for XenForo 2.2.0 / PHP 7.2.0.

The main change that will become apparent to users is improved link back to a transaction's source content. Rather than simply "Post #100" etc, XenForo 2.2's "content link" system is used to provide rich information such as titles.

Furthermore, a few bugs and usability issues have been corrected.

This version is flagged as a Beta version as it has not been tested on a live site.


Complete Change Log

Feature: Implement content type link for Currency
Feature: Implement better content type linking for transactions
Change: Rename negative handling phrase to better reflect its functionality
Change: Update internal functions to follow new XenForo 2.1 / 2.2 coding standards
Fix: Fix missing space between navbar icon and the text
Fix: Fix permissions sometimes not rebuilding when upgrading
Fix: Don't award credits when a XFMG media item is added if it isn't visible
Fix: Don't award credits when an XFMG comment is posted if it isn't visible
Fix: Don't award credits when an attachment is uploaded if the post isn't visible
The release fixes some additional cases, when the option "Enable only in forum view" would not be applied.

New option: Enable only in forum view (ver 2.0.0)

The version implements a new option - "Enable only in forum view". If enabled, the thumbnails will be shown only in the forum view (thread list), all other locations will not show any thumbnails (widgets, watched threads, recent posts, etc.). The option is disabled by default.

There is also a fix in the template "altt_thumbnail" which will prevent unneeded SQL queries from executing on forum home page or pages with widgets. Please make sure the template is not outdated in the admin panel, and if it is, make sure to merge it, particularly, to replace $thread.getUserPostCount() && !{$hideSmallAvatar} with !{$hideSmallAvatar} && $thread.getUserPostCount()
  • Like
Reactions: sseru
This is a minor release, that changes the way the add-on is using some of our shared PHP classes. From now on, the add-on will require a core library package from https://enxf.net/threads/al-core-package.1899/ to be installed. Please download the package and install it before upgrading the add-on. Please upgrade all other AddonsLab add-ons you are using to their latest versions if you see an error in the Admin Panel about files with unexpected content.
  • Like
Reactions: sseru
fix notification error
The release implements thread thumbnails in the following locations:
1. Search results
2. Member's profile -> Postings tab
3. User's news feed
The release fixes a compatibility issue with XenForo 2.1 and has other minor bug-fixes:
  • Pencil icon showing in forums where thread thumbnails are disabled
  • Broken thumbnail URL when no thumbnail is found.
Feel free to suggest further enhancements for the add-on or report any issues you have and they will be addressed asap.

Please consider posting a review if you are using the add-on and let us and other users know how it works for you.

Thank you!
Top