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
Prefix Linking :
Télécharger V1.0 :
Pour consulter le contenu, vous devez : Se connecter ou S'inscrire.
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.
You can choose how they are sorted (or to turn them off entirely) in the admin option :
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 :
Pour consulter le contenu, vous devez : Se connecter ou S'inscrire.
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).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.
Or use CLI job
xf-rebuild:ff-amse-xa-ams-articles-cover-imageTélécharger V1.2.0 :
Pour consulter le contenu, vous devez : Se connecter ou S'inscrire.
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 :
Pour consulter le contenu, vous devez : Se connecter ou S'inscrire.
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 :
Pour consulter le contenu, vous devez : Se connecter ou S'inscrire.
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 :
Pour consulter le contenu, vous devez : Se connecter ou S'inscrire.
Version 1.2.6 Fix for Publish as Draft :
- Properly sets prefix when using publish as draft.
Télécharger V1.2.6 :
Pour consulter le contenu, vous devez : Se connecter ou S'inscrire.
