[FF] AMS Enhancements 1.2.6

XF 2.2 [FF] AMS Enhancements 1.2.6

Add-on xenforo 2

Ressources et modules complémentaires pour XenForo 2

Styles xenforo 2

Styles / Thèmes et apparence pour xenforo 2

Templates xenforo 2

Codes pour modifier les templates sur xenforo 2

Section Premium

Add-on et Styles pour membre Premium
[FF] AMS Enhancements 1.2.6

XF 2.2 [FF] AMS Enhancements 1.2.6

Catégorie Catégorie Add-Ons
Titre du sujet Titre du sujet [FF] AMS Enhancements 1.2.6
Auteur de la discussion Auteur de la discussion laurent68
Date de début Date de début
Réponses Réponses 7
Affichages Affichages 549
Réaction Réaction 0
Dernier message par Dernier message par Pokschubin

laurent68

Fondateur

Staff
fondateur
Réputation: 100%
Discussions
4 855
Messages
12 609
Solutions
85
J'aime
7 892
Points
198
This addon supersedes my previous AMS Discussion Thread Enhancements.
If you had that installed, this will migrate any per-prefix settings, so you don't need to do it again. Then uninstall it after so they don't clash

Additional requirements : Bob's AMS 2.2.17+

Features :
  • Show the article content above in the thread header (with page buttons if multipage article)
  • Hide first post of the discussion (which is just a link to the article).
  • Optionally show the article cover image (either as thumbnail or full image)
  • Add a "Create Article" button to selected forums
  • Link AMS and XF prefixes, so when discussion thread is created it can be set by prefix rather than just category.
  • Update discussion thread prefix if article is moved to a new category or has its prefix changed.
  • Move reactions from original thread when using "Convert thread to article" function.
  • Copy newly posted comments to the article discussion thread.
  • [NEW] Correctly prefix all table fields, template names and option variables to bring it in line with XF addon coding standards - thanks @Bob :)
  • [NEW] Integrate prefix filter into main navigation block
1647431332741.png


Screenshot_20220316-210909_Edge.jpg


Prefix Linking :

1647431176393.png


Télécharger V1.0 :

Version 1.1 Nasty bug fix and bonus feature :
Sorry about this, in my haste to copy and paste from the old addon, I missed an important part of code - yikes!
So this update fixes that (basically if you posted an article with no prefix at all it would fail)
As a bonus though and to say sorry about that, I've integrated another one of my addons into it.

Navigation Bar Prefixes

If you enable this feature, the item assigned prefixes will appear in the navigation bar, underneath the relevant category where the child categories go.
In this example "Ford Cars" is the real category, whereas "Fiesta", "Puma" and "Ranger" are just links to show only those prefixes in the "Ford Cars" category.

1672139456956.png


You can choose how they are sorted (or to turn them off entirely) in the admin option :

1672139478429.png


Note : As this works from cache which is updated when an article is added/edited - you'll need to edit an existing article and switch the prefix to something else then back again to build it the first time around. After this it will update automatically :) Yes I could have put that code in a repository and run on install, but I was tired ok !

Télécharger V1.1 :

Version 1.2.0 Cover image thumbnails :

Added feature to generate thumbnails (or reduced size images) from the cover images which are then delivered from the /data folder instead of /internal_data (so can easily be edge cached).

The default AMS method is to show the full size attachment as the cover image, which means possible huge file downloads on the index pages and widgets.
You can now use a new option to set the max size for the generated thumbnail (and still access the full sized attachment by using the original /cover-image url).

1675506535848.png


Disabled by default (set to 0 pixels) - if enabling you will need to run one of the rebuild methods to get everything up to date.

1675506589135.png


Or use CLI job xf-rebuild:ff-amse-xa-ams-articles-cover-image

Télécharger V1.2.0 :

Version 1.2.2 Thread thumbnails :

- Same as update to Showcase Enhancements - new option to show the article cover image in place of the user avatar on the forum listing page (against associated discussion threads).

- Turned off by default - can be turned on with the toggle in the options page.
- Thumbnail can be edited with the ff_amse_threadthumbnail.less template.

Télécharger V1.2.2 :

Version 1.2.3 Template Error Fixes :

- Updated function call from canViewArticleAttachments to canViewAttachments to be compatible with the latest AMS version.
- Now requires AMS 2.2.26

Télécharger V1.2.3 :

Version 1.2.4 Missing template replacements :
- Didn't notice the new version of AMS had some extra templates that needed modification for the cover image code to work.

Télécharger V1.2.4 :

Version 1.2.6 Fix for Publish as Draft :
- Properly sets prefix when using publish as draft.

Télécharger V1.2.6 :
 
Contenu similaire Les plus vues Voir plus
Retour
Haut Bas