Onderwerplijstvoorbeelden (TLP)

Thank you for your quick reply. :+1: :100:

After hours of debugging :sweat_smile: , I finally found out that the error is casued by the setting.

Prevent anons from downloading files
Prevent anonymous users from downloading attachments.

The error occur when I enable this setting.

The imagesloaded.js file, which Topic List Previews dynamically loads from
/uploads/default/original/1X/d8ce366bd7aad8f9fc7b26b08aecc855dd6d425c.js, was blocked for anonymous users when the “Prevent anons from downloading files” setting was enabled.
As a result, the browser failed to load the script, causing the preview-edits.gjs component in TLP to malfunction for logged-out visitors.

And the error disappear immediately when I reset back to default.

1 like

Good to know, thanks!

1 like

Wanted to make note that I resolved this from not updating but removing old plugins that were still in the app.yml when those plugins were bundled in discourse core.
Removing those also fixed a number of other problems so if anyone comes across weird random issues they should probably remove those plugins.

3 likes

Hi @merefield, hope you’re doing well! :blush:

Could you help me understand what the setting topic_list_tiles_larger_featured_tiles is supposed to do and how it should look when it works?
Thanks a lot in advance!

1 like

It simply makes the tile take up two columns instead of one (which doubles the height too) so you can feature specific topics in the layout.

Unfortunately that setting is broken atm. I suspect it’s been broken since the huge rewrite required by changes to the Topic List and I simply missed it. I have a branch which fixes it but that work relies on CSS masonry being released and we are still waiting on that.

I may end up fixing it at some point in any case under the current system. PR welcome.

1 like