Snowflakes for SMF

Started by Chen Zhen, November 29, 2018, 09:27:14 am

Previous topic - Next topic

Chen Zhen

November 29, 2018, 09:27:14 am Last Edit: December 07, 2018, 12:14:36 am by Chen Zhen
SMF-Snowflakes v1.42 has been released.

This release mainly deals with updating deprecated JQuery code.

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

Changes...

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

Ronald

Quote from: Chen Zhen on November 29, 2018, 09:27:14 amSMF-Snowflakes v1.3 has been released.

This release mainly deals with updating deprecated JQuery code.

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

Changes...

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

Where is this download, I tried, nothing came up..

Chen Zhen


I forgot to adjust the permissions for it.
Try it again.

Ronald

Quote from: Chen Zhen on November 30, 2018, 09:50:24 pmI forgot to adjust the permissions for it.
Try it again.

Thank you, got it and installed on two forums..

Chen Zhen


This modification was updated to version 1.41

This release includes additions + fixes regarding permissions & profiles.
 

Chen Zhen

This modification was updated to version 1.42

This release includes a few fixes along with behavior changes for disabling Snowflakes during actions and/or subactions.
The help text in the admin for that option shows as follows:
Quote from: help textSnowflakes will be disabled for any SMF actions and/or subactions listed here.
Usage: | for OR, ~ for AND
Examples (do not include quotation marks):
"arcade" means action=arcade will disable
"arcade|play" means action=arcade;sa=play - either action -OR- subaction will disable
arcade~play" means action=arcade;sa=play - both action -AND- subaction combined will disable
This may be necessary for specific actions that cause conflicts due to JQuery/javascript functions.
Multiple actions~subactions can be listed so long as they are separated by a comma.

In my opinion this was necessary because like subaction names may exist for multiple modifications.
This enables you to use the ~ (acts as AND) to specify an action~subaction combination.
 

Chen Zhen


If anyone is using SMF Arcade, I advise you to put this as at least one of the actions~subactions in the text box:
Code Select
arcade~play

This way it will not conflict with html5 type game play.

Chen Zhen


Anyone using the SMF 2.1 branch, should disable the "Load jQuery File" option.
That branch includes the library by default and does not need it to be loaded.
The option is mainly for the SMF 2.0 branch (if another mod does not previously load it).

bigguy