Snowflakes for SMF v1.61

Started by Chen Zhen, December 20, 2018, 11:33:08 pm

Previous topic - Next topic

Chen Zhen

December 20, 2018, 11:33:08 pm Last Edit: December 29, 2018, 12:52:32 am by Chen Zhen
SMF-Snowflakes v1.61 has been released.

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

The mod includes various types of snowflakes, bats, fireworks & Xmas lights.
There are also adjustable variables for the snowflake effects.

Changes...

v1.61
+ added one additional light smash mp3 file
! fixed smash lights script to only play one sound per bulb smash
! fixed smash lights script to ensure it only loads one instance

v1.6
+& Added new light strands effect
+ any script requiring sound will now use the Ion.Sound 3.0.7 plug-in
+ all scripts are now compressed for stable versions
- SoundManager2 completely removed from lights script
! fixed Javascript objects for snowstorm effect
! fixed admin settings for snowstorm effect
! fixed Javascript for lights effect
! fixed Javascript node for lights effect now loaded after the buffer & using DOM
! fixed css for exploding lights
! fixed default offset height for lights effect on SMF 2.1 branch
! fixed default settings for lights effect no longer sets or disables append & admin-view options

v1.5
+& added mobile detection as another disable option
+& added tablet detection as another disable option
+& License changed to: GNU Lesser General Public License version 3

v1.42
+& added profile permissions to the Snowflakes admin template
+& disabling Snowflakes for actions/subactions behavior has changed (see help text in admin)
! fixed misspelled help text
! fixed member database function (missing key column for replace/insert)

v1.41
+& added permission to allow membergroups profile option of enable/disable Snowflakes
! fixed profile and permission functions
! fixed SMF 2.1 profile area hook

v1.4
+& added admin options to disable Snowflakes during specific SMF actions and/or subactions

v1.3
+ updated included JQuery library to v3.3.1
+ added admin option to select Xmas lights container height
- removed utf-8 language files (existing language files are utf-8)
- eliminated redundant flash files
! fixed css for lights
! fixed instance of window.onload changed to eventListener
! fixed instances of (window).load(function(){...}) changed to (window).on("load, function(){...})
! lights offset now "em" instead of "px" and floating value input allowing negative to positive range: -10.99 to 10.99


Available in the download section:
Download SMF-Snowflakes

Chen Zhen


Mobile & tablet detection was introduced with the option to disable all effects for those devices in the Snowflakes admin section.

Larger smart phones (dubbed phablets) are detected as tablets therefore it might be prudent to disable for both types of devices.
 


Skhilled

The snowflakes owrk on my tablet and cell but the snowflakes are light blue. On my PC they appear to be light grey.

Chen Zhen

Even on IE & Edge they appear a bit different.
It all seems to be grey, white or light blue which is OK for snow.

There is a problem with the light bulb script.
It is causing some sort of javascript error that I have to fix.
I may replace that whole light bulb script with a more recent one.

Chen Zhen


The Javascript issue was fixed as this mod was updated to v1.6
The initial post in this thread has been updated.

Chen Zhen

This mod needs to hide the container for both sets of lights when using the top menu in SMF 2.1.
The next release will include this fix.