News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Snowflakes

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

Previous topic - Next topic

jsx

Quote from: Chen Zhen on January 04, 2021, 05:22:32 PM
Prior to the recent changes I have not seen that behavior on desktop/laptop. Also using Simple Portal or EhPortal I never had those problems with any of the light scripts.

Unfortunately, while browsing the forum on the monitor, I see blinking from time to time.

lemur21

Looks like I'm having a similar issue (running 2.0.17)

I am able to see *some* of the effects; but not all.

I am not able to see these effects:

Snowflake
Flurry
Diverse
Fireworks
Halloween

I *can* see the Snowstorm and all the Xmas lights effects.

Weird :/

Chen Zhen


@jsx:

Try the v1.75-RC2 version from my forum at the link I previously gave you in this thread.
I reworked the buffer hook function quite extensively.




Keep in mind that any JavaScript / (X)HTML errors from other 3rd party mods, custom portal blocks and/or your own file edits may cause this mod's scripts to fail.
This has been tested while also having Tiny Portal installed.
ref. to possible current TP issue/scenario:
https://github.com/Tinyportal/TinyPortal/pull/816/files

My SMF Mods & Plug-Ins

WebDev

"Either you repeat the same conventional doctrines everybody is saying, or else you say something true, and it will sound like it's from Neptune." - Noam Chomsky

jsx

I installed this version v1.75-RC2 and I noticed two flashes on the screen while writing a private message on the forum. It is possible that this is a bug in JavaScript from another modification installed.

Chen Zhen

#84
I can see on your forum page that document.write is invoked approx. 6 times and it appears a JQuery library is being loaded more than once.
Due to one of your mods there may be more problems on the actual post page but I'd have to register to test that out.

- Lex removed a web address on request.

My SMF Mods & Plug-Ins

WebDev

"Either you repeat the same conventional doctrines everybody is saying, or else you say something true, and it will sound like it's from Neptune." - Noam Chomsky

jsx

Quote from: Chen Zhen on January 17, 2021, 11:30:48 AM
Due to one of your mods there may be more problems on the actual post page but I'd have to register to test that out.

I sent you private messages. One of them contains data to log into the account.

Chen Zhen

Quote from: jsx on January 17, 2021, 06:59:28 AM
I installed this version v1.75-RC2 and I noticed two flashes on the screen while writing a private message on the forum. It is possible that this is a bug in JavaScript from another modification installed.

Update to v1.76

I don't see any flashes on the screen when attempting to write a post or PM.
What you can do is just disable snowflakes for those actions.
Imo it's not a big deal if the effects are not visible when users are actually writing a post or PM.
It will still show when they are reading PM's or browsing the forum posts.

Go to the Snowflakes admin and find the input box for:
QuoteList actions/subactions to disable Snowflakes (comma separated)

enter the following & save the settings.
post,pm~send

My SMF Mods & Plug-Ins

WebDev

"Either you repeat the same conventional doctrines everybody is saying, or else you say something true, and it will sound like it's from Neptune." - Noam Chomsky

Shades.

2.1RC4

Getting the following error on newest install:

QuoteError
Type of error
Undefined_vars
Error message
8: Undefined variable: currentAction
File
/home2/*****/public_html/*****/Sources/snowflakesSMF.php
Line
704
URL of page causing the error
https://*****.com/index.php?action=admin;area=modsettings;sa=snowflakes

Backtrace information
#0: smf_error_handler()
Called from /home2/*****/public_html/*****/Sources/snowflakesSMF.php on line 704
#1: smf_snowflakes_buffer()
Called from unknown on line -1
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Chen Zhen


I fixed the undefined error & updated the modification.
Thanks for the report.

My SMF Mods & Plug-Ins

WebDev

"Either you repeat the same conventional doctrines everybody is saying, or else you say something true, and it will sound like it's from Neptune." - Noam Chomsky

Dwev

I had Snowflakes 1.7 installed, everything worked, except Fireworks.

Just installed 1.7.8 and now everything works, except Xmas Lights (which I really liked, and was popular on the forum as well).

Can't make heads or tails why some of the effects do or don't work...

(either way, great mod..!   :D )

Chen Zhen

@Dwev:

It might be some sort of JS conflict.
Have you attempted to adjust various settings such as attach to the body or perhaps click on the checkbox that sets the defaults for the lights?

First try to enable "Append to <body> of the HTML page".

My SMF Mods & Plug-Ins

WebDev

"Either you repeat the same conventional doctrines everybody is saying, or else you say something true, and it will sound like it's from Neptune." - Noam Chomsky

Dwev

Quote from: Chen Zhen on December 27, 2021, 06:57:11 PM@Dwev:
Have you attempted to adjust various settings such as attach to the body or perhaps click on the checkbox that sets the defaults for the lights?

Never had to that before, so have to admit that I didn't try to do this.  :-*

QuoteFirst try to enable "Append to <body> of the HTML page".

That did the trick, so now everything works!

Thanks a lot for the fast and very helpful reaction!  :D

mickjav

Thanks Love it  ;D

Steve

Quote from: Chen Zhen on December 27, 2021, 06:57:11 PMFirst try to enable "Append to <body> of the HTML page".

Is that something everyone should do?
DO NOT pm me for support!

mickjav

Quote from: Steve on December 28, 2021, 08:00:34 AM
Quote from: Chen Zhen on December 27, 2021, 06:57:11 PMFirst try to enable "Append to <body> of the HTML page".

Is that something everyone should do?

Thats what I had to do with my 2.0.19 my 2.1 RC4 support site seems to work without it.

Steve

DO NOT pm me for support!

Chen Zhen


SMF Snowflakes has been updated to v1.79.

This release includes some fixes mostly affecting Xmas Lights, Halloween Effects & the user/welcome container detection.

@mickjav & steve:
You should be able to disable that previous setting for your Xmas Lights with this version & going forward.
Please let me know if it works as expected.

My SMF Mods & Plug-Ins

WebDev

"Either you repeat the same conventional doctrines everybody is saying, or else you say something true, and it will sound like it's from Neptune." - Noam Chomsky

mickjav

Quote from: Chen Zhen on December 28, 2021, 04:08:19 PMSMF Snowflakes has been updated to v1.79.

This release includes some fixes mostly affecting Xmas Lights, Halloween Effects & the user/welcome container detection.

@mickjav & steve:
You should be able to disable that previous setting for your Xmas Lights with this version & going forward.
Please let me know if it works as expected.

Won't be able uninstall and install version till tomorrow but will let you know thanks.

Mick

Chen Zhen


Please take note for anyone updating this modification that the browser history should be initially cleared for the JavaScript changes to take effect.

My SMF Mods & Plug-Ins

WebDev

"Either you repeat the same conventional doctrines everybody is saying, or else you say something true, and it will sound like it's from Neptune." - Noam Chomsky

mickjav

Managed to install on my tab turned off <body> and seems to work, I have a few random events selected one seems not to show i'll look more into that tomorrow.

I did clear history before installing.

Advertisement: