[XFA] Thread Template - XF2

[XFA] Thread Template - XF2 3.1.0

No permission to buy (€5.00)
Modifications:
  • Template selection is now predictable: when several templates match, the first one by display order (then by id) is used
  • The “no checks are performed” warning on the template form was replaced by an explanation of how templates are selected
  • Add-on icon replaced by the standard XFA icon

New features:
  • Display order on each template: the list is sorted by it and shows it as a hint, and inactive templates are greyed out (existing templates get a display order of 10)
  • Several templates can now apply to the same forum and user group: a “Template” dropdown appears above the editor on the post thread and quick thread forms, the first template by display order is pre-filled, switching asks for confirmation only if you edited the text, and “None” clears the editor
Modification:
  • Updated table name to XF standard

This version is compatible with XF2.3 and earlier versions.
Corrected bugs:
  • ErrorException: [E_NOTICE] Trying to get property 'node_id' of non-object - src/addons/XFA/ThreadTemplate/XF/Pub/Controller/Forum.php:36
  • Selecting usergroup ids does not work
Corrected bugs:
  • XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'xfa_tt_template' in 'field list' - src/XF/Db/AbstractStatement.php:228
Corrected bugs:
  • Missing class extension leading to no templates appearing
  • Like
Reactions: imno007
This version is only compatible with XenForo 2.2

Corrected bugs:
  • Provided compatibility with xF2.2

Modification:
  • Creation now done through a dedicated page in admincp listing all thread templates

New features:
  • Capability to limit templates to specific usergroups
  • Capability to apply templates to multiple nodes
  • Like
Reactions: imno007 and Onlyme
Corrected bug:
  • Thread template not applied when using quick thread feature
  • Like
Reactions: FedericoS
Back
Top Bottom