meghna
(Meghna Jalan)
2020 年 12 月 30 日午後 1:16
1
What better way to celebrate the New Year’s eve than fireworks!
Here’s a component that adds fireworks on Discourse forum.
The source code is inspired from Eddie’s Pure CSS Fireworks .
Happy New Year 2021!
「いいね!」 31
Zup
2021 年 3 月 20 日午前 12:09
2
would be cool if this triggered for a few seconds every time a badge is earned
「いいね!」 14
@Don
if a badge is earned your theme FKB PRO
very usefull
「いいね!」 1
Jagster
(Jakke Lehtonen)
2023 年 12 月 31 日午後 3:40
5
Doesn’t work on iPhone (at least).
Well, next year then.
You can try this fork @Jagster :
URL: https://github.com/Arkshine/discourse-fireworks
branch: mobile-support-and-settings
Click on Advanced button to provide the branch name here:
Mobile is supported, and I added a bunch of basic settings (particle count/size, firework width/height, and fall distance) for both desktop and mobile.
I will consider making a proper PR (and eventually other settings) on the original repository later!
「いいね!」 6
Roi
2024 年 1 月 1 日午後 6:41
7
Arkshine:
Mobile is supported, and I added a bunch of basic settings (particle count/size, firework width/height, and fall distance) for both desktop and mobile.
Hm, I tried but I do not see any fireworks and also no settings.
No worries. I should have explained how to install it.
Make sure you click on Advanced
and copy/paste the branch name:
Note: This will install another Theme component; you might want to disable the old one for now.
「いいね!」 1
The implementation of mobile support and settings is absolutely superb. It functions perfectly on my mobile device now, with dimensions that are impeccably suited, without any hint of being overwrought.
Roi
2024 年 1 月 1 日午後 8:14
10
You did. I did not notice the branch, sorry. Thank you for making this clear. Looks great now, thank you a lot! An official PR would be great.
「いいね!」 1
I think this would be better if you could adjust the frequency somehow it’s (imo) fairly obnoxious but still cool
Jagster
(Jakke Lehtonen)
2024 年 12 月 28 日午後 9:46
12
One year after last new year
Arkshine’s fork works nicely. But yet original one is desktop-only.
Either the PR in needed or the OP could be edited including information of the fork. Both solutions are good.
「いいね!」 2
meghna
(Meghna Jalan)
2024 年 12 月 30 日午前 4:15
13
Jakke Lehtonen:
Either the PR in needed
I created the PR on @Arkshine ’s behalf and merged it. Updating the component should work for mobile as well.
Thanks again, Arkshine.
「いいね!」 5
Thanks @meghna ! I have completely forgotten.
「いいね!」 2
@meghna I’ve opened a PR to add an option to use tsParticles’ fireworks:
master
← NateDhaliwal:add-tsparticles-support
opened 11:45PM - 18 Feb 25 UTC
This adds a new setting, `use_tsParticles_fireworks`, to enable tsParticles' fir… eworks instead of CSS fireworks. The fireworks also includes sound. The setting is disabled by default.
「いいね!」 4
meghna
(Meghna Jalan)
2025 年 2 月 19 日午前 5:10
16
Thanks Nate! I’ll take a look.
「いいね!」 2
meghna
(Meghna Jalan)
2025 年 3 月 7 日午後 1:34
17
I’ve merged the PR, thanks for the improvements, Nate!
「いいね!」 3