Changed "Item Quick Reply" from a checkbox to a dropdown.
"Bottom of item page" will appear above where the built in SC comments would be if you had them enabled.
"Directly below item" is as it sounds
Bug Fix - Drafts weren't being cleared properly on submission.
Added a new option to make a quick reply box appear on the main item page for items that have a linked discussion thread.
Anything typed in here, will be added as a reply to the discussion thread (and then redirected there after).
Removed the hardcoded CSS from the element and put everything in a ff_se_threadthumbnail.less template.
Also set the default CSS background position to "center" - so everything looks a bit nicer now.
Added a new option to replace the user's avatar on the thread listing page with the cover image thumbnail of the Showcase Item on a related discussion thread.
New option is found at the bottom of the Showcase options in the admin panel:
If you want to change how they look (for example to remove the border radius), you can edit the class scThreadThumbnail in your extra.less.
Fixed bug where you couldn't disable cover image generation (size wouldn't accept 0).
Fixed bug where rebuild could throw error on invalid cover attachments.
Changed default cover size to 0 (so disabled on first install)
Ok so I shouldn't have been lazy yesterday, I've now updated this to use template replacements so cover image thumbnails are now linked directly in the page (no 301 redirects anymore) - this will speed things up.
This means you can still go to the
/cover-imageurl to show the original full size one (which I think is quite useful)
Also added a new CLI job
xf-rebuild:ff-se-xa-sc-items-cover-imageso you can rebuild them all from the command line - thank to @Mouth.
Oh and if you are enabling the cover thumbnails on an existing site, you will need to run one of the rebuilds (CLI or admin area) otherwise Showcase will be linking to un-generated images.
Added feature to generate thumbnails (or reduced size images) from the cover images which are then delivered from the
/datafolder instead of
/internal_data(so can easily be edge cached).
The default Showcase 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.
As there are so many instances of /cover-image in Showcase, I decided just to override the controller and 301 redirect to the new thumbnail - a little overhead there but nothing much
Once updated/installed - use the new rebuild cache task to generate thumbnails for existing items.
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 item 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 Block Prefixes
If you enable this feature, the item assigned prefixes will appear in the navigation block, 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 it works from cache which is updated when an item is added/edited - you'll need to edit an existing item 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!
We use essential cookies to make this site work, and optional cookies to enhance your experience.