News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

SMF-Snowflakes

Started by Chen Zhen, December 24, 2018, 06:44:11 AM

Previous topic - Next topic

Chen Zhen

Link to the mod

SMF-Snowflakes
Seasonal Effects Modification c/o Chen Zhen
Copyright 2014 - 2024, Chen Zhen @ web-develop.ca
Compatible with the SMF 2.1.X branch
Requirements: PHP 7.4 or better, modern mainstream browser

Navigate to:  ADMIN -> MODIFICATION SETTINGS -> SNOWFLAKES  to enable and adjust settings for this modification

This installation process will add options to the mod settings template
which will allow an administrator to opt various types of snowflake and animated image scripts.
This will allow all your users to view these scripts on all of your website pages.

Distributed under the GNU Lesser General Public License version 3



Available effects:
  • Four types of snowflakes: Snowflakes, Flurry, Diverse & Snowstorm
  • Fireworks
  • Flying Bats
  • Xmas Lights
  • Xmas Light Strands
  • Xmas Wired Lights
  • Random (some/all of the above)
  • Many more available under the headings of "Diverse" & "Halloween" (ie. rain, leaves, bees, butterflies, doves, etc.)
  • Your own images can be uploaded in the Halloween, Diverse or Xmas Wired Lights options

Available options:
  • Various settings for all of the effects (available when each are selected in the admin)
  • Enable/disable options for:  modification, members, specific actions/sub-actions, mobile or tablet detection
  • Ability to enable/disable JQuery library for the SMF 2.0 branch (ie. disable when already available from another modification)
  • Upload/change images for some of the effects



Disclaimer:

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.





My SMF Mods & Plug-Ins

WebDev

SMF support staff should be shaping a positive community experience & not provoking an argument or emotional reaction.

Steve

Nice job! The only thing I could wish for is the ability to have more than one choice selectable (not counting the random option). :)
My pet rock is not feeling well. I think it's stoned.

-Rock Lee-

It seems pretty good, I'll install it in a test forum to see it better. Great job @Chen Zhen


Regards!
¡Regresando como cual Fenix! ~ Bomber Code
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

Chen Zhen


Thanks  ;D

Quote from: Steve on December 24, 2018, 11:09:50 AM
Nice job! The only thing I could wish for is the ability to have more than one choice selectable (not counting the random option). :)

The random effect option lets you opt the effects you want in the form of a check list.
Do you mean to let the member opt the effect instead of just the Admin?

My SMF Mods & Plug-Ins

WebDev

SMF support staff should be shaping a positive community experience & not provoking an argument or emotional reaction.

Steve

As I understand it, the random effect rotates through whatever is checked so that there is only one effect happening at a time.

I wish I could select two or more of the effects and have them all show at the same time.

But that's only a wish. Like I said, great job on the mod as it is. :D
My pet rock is not feeling well. I think it's stoned.

Chen Zhen

I just released version 1.6 which has some important updates.
Please uninstall plus delete the older version, then download & install the newer one.
Read the change-log in the app or in this mods initial post for details.

This update mainly concerns fixing the snowstorm & lights effects.
It also adds a newer light-strands effect.

The lights effect was previously using Soundmanager2 and its script was conflicting with other jQuery on the page.
This has been fixed in Snowflakes v1.6 along with using ion.sound v3.0.7 instead of Soundmanager2.




@Steve:
I can look into what you requested although I will have to test them with each other to see if they do not conflict (variable & function wise).
Having that many scripts running on the page at one time may almost certainly cause a performance concern.




My SMF Mods & Plug-Ins

WebDev

SMF support staff should be shaping a positive community experience & not provoking an argument or emotional reaction.

Steve

No worries Chen Zhen. It was only wishful thinking and I don't want you going through a lot of work just to do this.

Thanks for the update. :D
My pet rock is not feeling well. I think it's stoned.

Steve

Hmm ... I see only options for the snowflakes. No lights, no bats, etc.
My pet rock is not feeling well. I think it's stoned.

Chen Zhen

@Steve:

I just tested it on both SMF 2.0 & SMF 2.1 branches.
As well as installing when it was installed previously and when it was not.
In all scenarios it functions as expected with no PHP errors, no Javascript errors, no conflicts and nothing missing in any admin menu.
Although this was using the default theme in those tests.
What theme are you using?


I can not seem to duplicate what was reported.
Please uninstall it from your forum, clear the forum cache, clear the browser cache/history, download the version from here again and then install it.
Let me know if it works properly or not after those steps.

Thanks.


My SMF Mods & Plug-Ins

WebDev

SMF support staff should be shaping a positive community experience & not provoking an argument or emotional reaction.

Steve

My apologies Chen Zhen. I'm an idiot. I totally missed the dropdown box which switches effects. It works as advertised.
My pet rock is not feeling well. I think it's stoned.

Chen Zhen

@Steve:
No problem and I'm glad it works as expected.




Even though I chose the name "Snowflakes", it has many effects including the ability to customize the images for "Diverse" & "Halloween".
Diverse provides a drop effect and Halloween provides a hover effect.
Which have options to change size, density, speed, images, etc.
You can make floating bees, leaves, falling rain drops or whatever you want.

What I should do is provide the ability to save multiple configurations for those 2 options.


My SMF Mods & Plug-Ins

WebDev

SMF support staff should be shaping a positive community experience & not provoking an argument or emotional reaction.

Chen Zhen


Snowflakes v1.61 is now available.

This update fixes issues with the smash lights effect.
Please read the change-log located in the initial post of the thread for details.

Regards.

My SMF Mods & Plug-Ins

WebDev

SMF support staff should be shaping a positive community experience & not provoking an argument or emotional reaction.

landyvlad

Anyone have a link to a forum where this is in use so I can see what it looks like ?
"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

Chen Zhen


Snowflakes has been updated to version 1.62.
This update includes some bug fixes and extra admin options.

The newer settings can make it so when a user has their mouse over specific HTML/XHTML containers, the lights will be temporarily disabled.
This will allow you to have those lights at the top in the position you want but not interfere with any links or navigation.




@landyvlad:

I have this mod enabled on my website and it is set to random.
You can click on the Forum link in the nav bar multiple times to see different effects.
However, due to the season I have 2 of the effects turned off (6 are enabled).

My SMF Mods & Plug-Ins

WebDev

SMF support staff should be shaping a positive community experience & not provoking an argument or emotional reaction.

Chen Zhen


Snowflakes has been updated to version 1.7
This update includes some bug fixes and another added wired lights effect.
The new effect has multiple image options including the ability to add your own images.

My SMF Mods & Plug-Ins

WebDev

SMF support staff should be shaping a positive community experience & not provoking an argument or emotional reaction.

Dave J

Hi,

Not working in SMF 2.1 RC2 with default theme.

Installs without error but when clicking on 'settings' just gives a blank page. Nothing listed in error log either.

6 hooks installed and listed as active.

No other mods installed.

Works OK on 2.0.15
If you want quizzes to add to the new SMF2.1 quiz mod go here . There are also walkthroughs in the forum to explain how to install them and other tips.

Dave J

Quote from: davejo on September 28, 2019, 08:53:44 AM
Hi,

Not working in SMF 2.1 RC2 with default theme.

Installs without error but when clicking on 'settings' just gives a blank page. Nothing listed in error log either.

6 hooks installed and listed as active.

No other mods installed.

Works OK on 2.0.15

Update:

It doesn't play nice with SMFPacks Shoutbox in 2.0.15. When enabled it has the error as seen in the first & second image below. When I activate 'Apend to body' the error is then smaller as seen in the second/third image below.

There are no erros in the SMF log and no errors on the cPanel either. I've tested it on various different themes including default and different sites. The php for all sites is 5.6. I have tested it on the Pro version and free version of the Shoutbox with the same results.

It's such a shame as I really like this mod.
If you want quizzes to add to the new SMF2.1 quiz mod go here . There are also walkthroughs in the forum to explain how to install them and other tips.

Chen Zhen


I would take a look at what you reported but atm it appears the SMF 2.1 version of that shoutbox mod is paid/pro only.
Although I suppose I can test the SMF 2.0.15 version from this forum to see if it has the same problem you reported.


My SMF Mods & Plug-Ins

WebDev

SMF support staff should be shaping a positive community experience & not provoking an argument or emotional reaction.

Dave J

Quote from: Chen Zhen on November 04, 2019, 10:05:21 PM

Although I suppose I can test the SMF 2.0.15 version from this forum to see if it has the same problem you reported.

Thanks Chen I would really like to use this mod.
If you want quizzes to add to the new SMF2.1 quiz mod go here . There are also walkthroughs in the forum to explain how to install them and other tips.

Chen Zhen


I just tested this on SMF 2.0.15 with the SMF Packs shoutbox installed and enabled.
Both mods seem to be working without conflict.
Atm I am not able to duplicate the javascript issue you reported (as per your first posted image).

My SMF Mods & Plug-Ins

WebDev

SMF support staff should be shaping a positive community experience & not provoking an argument or emotional reaction.

Advertisement: