sijad It is not clear that it is spoiler. For example there is no arrow near with spoiler in new version
Spoiler BBCode
AlexanderRusov It's possible the CSS didn't get updated properly. You may try clearing the .js and .css files in your assets
directory (leave the other files), and then hard refresh (CTRL+F5) your browser page.
On a clean install, I can see the arrows just fine, fyi.
CTRL+F5 was not working. May be reinstall can help
- Edited
AlexanderRusov
please let me know your browser and its version
- Edited
Hey sijad, when I tried to install the extension I got an error:
Problem 1
- Installation request for sijad/flarum-spoiler ^0.1.1 -> satisfiable by sijad/flarum-spoiler[0.1.1].
- sijad/flarum-spoiler 0.1.1 requires flarum/core ^0.1.0-beta.3 -> no matching package found.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Installation failed, deleting ./composer.json.
I used the following code:
php composer.phar require sijad/flarum-spoiler
DonaldLouch use php composer.phar require sijad/flarum-ext-spoiler
That didn't work santiagobiali.
I got a new error
[InvalidArgumentException]
Could not find package sijad/flarum-ext-spoiler at any version for your minimum-stability (stable). Che
ck the package spelling or your minimum-stability
require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--] [<packages>]...
DonaldLouch looks like @sijad updated the repository but not the package on packagist.
Okay thanks santiagobiali!
DonaldLouch that's wired, I did a clean install and the extension installed successfully with composer require sijad/flarum-spoiler
santiagobiali the Github hook is enabled, but I think I missed something here, I'll fix that, thanks for heads up
- Edited
So I think I found the problem, sijad!
I am having problems accessing the root folder of where I have installed Flarum with composer.
I fixed it! My composer files were out of date!!!
DonaldLouch thanks for reporting back
Yeah, no problem sijad!!!
When i open spoiler i get second arrow at bottom.
Is irt updated for beta 5?
AlexanderRusov it should works
- Edited
Hi sijad
First up thanks for a great little extension have it working on beta 5 after updating composer however the arrow for the spoiled text isn't really that good and doesn't indicate to the uninitiated that it's spoiler content IMO. Be nice if we could format it to however we'd like it, traditionally with other boards if there's no title it just says spoilered or similar.
Additionally if the spoiler is titled it shows a faded broken line below the title which becomes solid when hovered over and goes back to faded when the spoiled content is displayed.