WebDev

SMF Modifications => Releases & Version Updates => Topic started by: Chen Zhen on November 29, 2018, 09:27:14 am

Title: Snowflakes for SMF
Post by: Chen Zhen on November 29, 2018, 09:27:14 am
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 (https://web-develop.ca/index.php?action=downloads;area=stable_smf_modifications;file=37)
Title: Re: Snowflakes for SMF
Post by: Ronald on November 30, 2018, 08:31:58 pm
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 (https://web-develop.ca/index.php?action=downloads;area=stable_smf_modifications;file=37)

Where is this download, I tried, nothing came up..
Title: Re: Snowflakes for SMF
Post by: Chen Zhen on November 30, 2018, 09:50:24 pm

I forgot to adjust the permissions for it.
Try it again.
Title: Re: Snowflakes for SMF
Post by: Ronald on December 01, 2018, 08:47:36 am
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..
Title: Re: Snowflakes for SMF
Post by: Chen Zhen on December 04, 2018, 11:57:11 pm

This modification was updated to version 1.41

This release includes additions + fixes regarding permissions & profiles.
 
Title: Re: Snowflakes for SMF
Post by: Chen Zhen on December 07, 2018, 12:24:40 am
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.
 
Title: Re: Snowflakes for SMF
Post by: Chen Zhen on December 07, 2018, 09:02:37 am

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.
Title: Re: Snowflakes for SMF
Post by: Chen Zhen on December 07, 2018, 09:10:19 am

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).
Title: Re: Snowflakes for SMF
Post by: bigguy on December 07, 2018, 11:27:53 am
Done and done :)
EhPortal 1.24 © 2018, WebDev