Hi Josh!
Thanks so much for a great plugin and Merry Christmas!
But I found one small flaw. If assign the colors not in a default sequence but selectively ( for example 2 and 4), then the output array of color settings in HTML will be incorrect.
Original code (flurry.php, rows 740-751):
// Set array of colors
if (
isset( $options['color'] ) ||
isset( $options['color2'] ) ||
isset( $options['color3'] ) ||
isset( $options['color4'] )
) {
$options['color'] = array_filter( array( $options['color'], $options['color2'], $options['color3'], $options['color4'] ) );
unset( $options['color2'] );
unset( $options['color3'] );
unset( $options['color4'] );
}
HTML output:
"color":{"1":"#ffffdd","3":"#ffffdd"}
The js script don’t accept this color settings and the flakes are black. I think it’s better to assign unassigned colors to white by default, then the output of the colors settings will be correct always.
// Set array of colors
if (
isset( $options['color'] ) ||
isset( $options['color2'] ) ||
isset( $options['color3'] ) ||
isset( $options['color4'] )
) {
if ( is_null( $options['color'] ) ) {
$options['color'] = '#ffffff';
}
if ( is_null( $options['color2'] ) ) {
$options['color2'] = '#ffffff';
}
if ( is_null( $options['color3'] ) ) {
$options['color3'] = '#ffffff';
}
if ( is_null( $options['color4'] ) ) {
$options['color4'] = '#ffffff';
}
$options['color'] = array( $options['color'], $options['color2'], $options['color3'], $options['color4'] );
unset( $options['color2'] );
unset( $options['color3'] );
unset( $options['color4'] );
}
HTML output:
"color":["#ffffff","#ffffdd","#ffffff","#ffffdd"]
Best regards sincerely, Dmitriy.
]]>Hi Josh
Thanks for Flurry – it’s a great plugin and perfect for this time of year!
I’ve noticed that on mobile devices (Samsung phone, iPad) and when using MS Edge on PC, the “basic” snowflake appears blue, although in the settings I’ve selected:
Colour 1: #ffffff
Colour 2: #f5f5f5
Colour 3: #f3f3f3
Colour 4: #f0f0f0
The trifoliate and chevron snowflakes aren’t affected by this problem. Flurry displays normally on Windows 10 using Chrome/Firefox -it’s just mobile and MS Edge.
I’d be very grateful for any assistance you can provide with this. I don’t particularly dislike the blue snowflakes, but I’d prefer them to be white! Please let me know if you need any additional info.
Many thanks
Matt Thurgood
]]>Hi,
I would really like to use Flurry because it has some very interesting options, I could very well use on a website I am currently working on. So, I installed and activated the plugin, but nothing happened, even with all other plugins disabled, and the default theme Twenty Seventeen (WP version 5.0.3).
Could you please have a look into this?
Ruud.
]]>Hello! I’d like to change my “snowflakes” to other html characters, like the “confetti” example that you have in the main page (~). But I can’t find that option anywhere. Could you tell me where do I change that? Thank you in advance.
]]>Hi, latest version of WP and this plugin together have an issue with permissions. I have one user that is editor, and he can’t access WP backend when this plugin is active. Only way to get him access is to deactivate the plugin OR make him an administrator.
Basically any other user role than Admin can’t access backend when the plugin is active.
]]>