mceyes HI! How can i program a simple condition in the LESS code based on the amount of likes received by an user? If I didn't go wrong the file should be in flarumite/simple-spoilers/resources/less/components/spoiler.less I would like to make something like "Click here to show spoiler (you must have 5/10 likes)". I think this would be a great feature for forums 😄
askvortsov mceyes The easiest way would be to create a set of display rules attached to a CSS class name, and then use JS to add the class name if the condition is met. Keep in mind though that users could just inspect element to see the content.
Darkle Is there a way to make a spoiler already open by default? maybe there is a setting that is not in the readme? 👀 EDIT: Don't think about it, I got it by adding another BBCode [spoileropen] with <details class="flarumite-spoiler" open> by default.