meghna
(Meghna Jalan)
December 30, 2020, 1:16pm
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!
32 Likes
Zup
March 20, 2021, 12:09am
2
would be cool if this triggered for a few seconds every time a badge is earned
14 Likes
@Don
if a badge is earned your theme FKB PRO
very usefull
1 Like
Jagster
(Jakke Lehtonen)
December 31, 2023, 3:40pm
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 Likes
Roi
January 1, 2024, 6:41pm
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 Like
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
January 1, 2024, 8:14pm
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 Like
Kartoon
February 8, 2024, 6:31am
11
I think this would be better if you could adjust the frequency somehow itās (imo) fairly obnoxious but still cool
Jagster
(Jakke Lehtonen)
December 28, 2024, 9:46pm
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 Likes
meghna
(Meghna Jalan)
December 30, 2024, 4:15am
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 Likes
Thanks @meghna ! I have completely forgotten.
2 Likes
@meghna Iāve opened a PR to add an option to use tsParticlesā fireworks:
master ā NateDhaliwal:add-tsparticles-support
merged 01:33PM - 07 Mar 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 Likes
meghna
(Meghna Jalan)
February 19, 2025, 5:10am
16
Thanks Nate! Iāll take a look.
2 Likes
meghna
(Meghna Jalan)
March 7, 2025, 1:34pm
17
Iāve merged the PR, thanks for the improvements, Nate!
3 Likes
Roi
December 27, 2025, 12:56pm
19
I just activated the Fireworks component and see the following warning:
[Admin-Hinweis] Theme ādiscourse-fireworksā enthƤlt Code, der aktualisiert werden muss. (ID:discourse.script-tag-discourse-plugin) (mehr erfahren )
[THEME 62 ādiscourse-fireworksā] DEPRECATION NOTICE: Adding JS code using is deprecated. Move this code to a dedicated JavaScript file. [deprecation id: discourse.script-tag-discourse-plugin] [info: Modernizing inline script tags for templates & JS API ]
Is it possible to get an update? I myself do not understand enough to make a PR.
4 Likes
Lilly
January 1, 2026, 4:05pm
20
Iāve had a fix and refactor for this for a couple days in my repo, but finally got around to creating a PR to this one. sorry i know itās already Jan 1st. lol
master ā Lillinator:main
opened 04:03PM - 01 Jan 26 UTC
Refactored and updated the component using Discourse theme skeleton template, an⦠d updated for gjs compatibility.
not sure about the acceptance tests though
5 Likes