Log in

View Full Version : Miscellaneous Hacks - Snowstorm for your forum! With Options


SnakeV
12-21-2009, 10:00 PM
Snowstorm for your forum!

Description
The christmas comes to vBulletin forums!, with this you can have a snowstorm in your vBulletin pages.

Compatible with vBulletin CMS, Blogs and Forums!

Demo (https://yelsoft.com/)

How to install
1. Upload via FTP the clientscript folder to your forum root.
2. Go to AdminCP - Styles & Templates search template headinclude and add at the end:
<script type="text/javascript" src="clientscript/snowstorm.js"></script>
3. Enjoy :)

If you want to edit options open clientscript/snowstorm.js file and edit as you want :):
// --- PROPERTIES ---

this.flakesMax = 128; // Limit total amount of snow made (falling + sticking)
this.flakesMaxActive = 64; // Limit amount of snow falling at once (less = lower CPU use)
this.animationInterval = 33; // Theoretical "miliseconds per frame" measurement. 20 = fast + smooth, but high CPU use. 50 = more conservative, but slower
this.flakeBottom = null; // Integer for Y axis snow limit, 0 or null for "full-screen" snow effect
this.targetElement = null; // element which snow will be appended to (document body if null/undefined) - can be an element ID string, or a DOM node reference
this.followMouse = true; // Snow will change movement with the user's mouse
this.snowColor = '#fff'; // Don't eat (or use?) yellow snow.
this.snowCharacter = '&bull;'; // &bull; = bullet, &middot; is square on some systems etc.
this.snowStick = true; // Whether or not snow should "stick" at the bottom. When off, will never collect.
this.useMeltEffect = true; // When recycling fallen snow (or rarely, when falling), have it "melt" and fade out if browser supports it
this.useTwinkleEffect = false; // Allow snow to randomly "flicker" in and out of view while falling
this.usePositionFixed = false; // true = snow not affected by window scroll. may increase CPU load, disabled by default - if enabled, used only where supported

// --- less-used bits ---

this.flakeLeftOffset = 0; // amount to subtract from edges of container
this.flakeRightOffset = 0; // amount to subtract from edges of container
this.flakeWidth = 8; // max pixel width for snow element
this.flakeHeight = 8; // max pixel height for snow element
this.vMaxX = 5; // Maximum X velocity range for snow
this.vMaxY = 4; // Maximum Y velocity range
this.zIndex = 0; // CSS stacking order applied to each snowflake

// --- End of user section ---

willy888
12-22-2009, 10:31 PM
very nice and easy thanks

utahraves
12-23-2009, 02:38 PM
Might use this on XMAS.

CarterMarkham
12-23-2009, 04:25 PM
WORKS AWESOME!!!

Thanks!

HappyFeet
12-24-2009, 01:56 AM
Installed! Thanks for this, great touch for Christmas!:up:

Alecsmith
12-24-2009, 10:36 AM
Working great work :)

zonaenlinea
12-24-2009, 11:55 AM
thanks very good prefect

Mudo
12-25-2009, 12:30 AM
Thanks

TandyServices
12-25-2009, 08:30 AM
I do not think it likes one of the other mods I installed. Had to uninstall. It messed the whole site up..

rbc
12-25-2009, 09:53 AM
verry well - its exactly the right time -

merry x-mas

thnx

infnity8x3
12-25-2009, 09:23 PM
Thanks, I used this for the holidays.

Bouncer222
12-26-2009, 02:10 AM
Could anyone here PLEASE help me to install the lights found here: http://www.schillmania.com/projects/snowstorm/

I need to figure out how to get the lights to work on my site, please give me detailed instructions as to where to upload the lights files to or what files i need to upload etc..

Thanks.

Welshy2008
12-27-2009, 12:30 PM
What I would like to see with this is for the snow Just to fall within the Header as apposed to the whole forum.

S4RFamily
01-04-2010, 02:19 AM
A medium delay (CPU working higher) on firefox but chrome is nothing. Plx fix it, nice idea.

carrlos
01-04-2010, 03:36 AM
Nice trick! :D

Sophocles
01-18-2010, 04:50 PM
Added to the Holiday season, thanks.

jazzyname
01-29-2010, 10:15 PM
thanks I used this for the holidays and it was a hit, will install again next holiday thank you again.

colwal
12-05-2010, 05:24 PM
Nice one guys!:D

Malcolm-X
12-05-2010, 07:00 PM
Thanks...At the right time, at the right place...

WhiskeyOSS
12-06-2010, 03:19 AM
What is the script for the lights ? I missed it some place

argothiusz
12-06-2010, 08:36 PM
Would love to see how to implement the christmast light as well :)

beiamerica
12-07-2010, 11:33 PM
Installed, thanks. I just need to figure out a color to show up better on a white background. :)

elwachiman
12-08-2010, 01:44 PM
Cool Excelent

LouisB
12-08-2010, 09:29 PM
Works great. Forgot all about mods like these :D Perfect for this time of year.

RobbieZ
12-08-2010, 10:30 PM
What is the script for the lights ? I missed it some place

Would love to see how to implement the christmast light as well :)

Check the Demo

And the Christmas Lights?

The christmas lights are a separate experimental script which also has an example. It is undocumented, but the script can be modified to taste if you're the adventurous type.

morrow
12-09-2010, 12:53 AM
Nice for this time of the year. Thanks!

sadiq6210
12-09-2010, 02:15 PM
Nice ^_^ Thanks

argothiusz
12-10-2010, 08:33 AM
Check the Demo

And the Christmas Lights?

The christmas lights are a separate experimental script which also has an example. It is undocumented, but the script can be modified to taste if you're the adventurous type.

Try it but couldn't locate the images and sounds folder lol

gwat
12-24-2010, 11:47 PM
Thank you! Works great! =D

daveaite
12-25-2010, 12:20 AM
Thanks

mmacrypt
12-27-2010, 02:12 PM
Thank you again for this, worked great, the members really liked it.

Mukashi
10-09-2011, 12:55 AM
Would like to know if this is still supported and working with the latest versions of vB. Interested in maybe deploying it for our Christmas skin this year.

cykelmyggen
11-26-2011, 09:23 PM
Hi
Installed this on 4.1.4 and it works fine. However after installing this I get some bars across the page on both Chrome 15, FF 8 and IE 9. See attached screenshots. Any solution to this?

134726
134727

hiker
12-03-2011, 07:39 AM
Can this be activated for only 1 of my subforums, rather than every forum?

I guess maybe can the certain forum choose this snowstorm skin option and the rest of my forum remain the existing default?

hiker
12-05-2011, 03:40 PM
And can anybody give feedback if this has taken up a lot of resources with their forum?

hiker
12-07-2011, 01:39 AM
Answered my own questions. I duplicated my default style, created one called snowstorm, left it up to user choice to switch back. So far it's now taking any noticeable resources.

Thanks!

Manoel J?nior
12-15-2011, 09:18 PM
How to option disable?

burridl
12-20-2011, 09:17 AM
Cheers - nice and easy to implement and looks great.

synseal
12-27-2011, 12:12 AM
Just an idea, re-name title to Snowstorm Snow for your forum! With Options!.

Took me ages to find this when entering snow it didn't show up.

Thanks, gave the effect we needed for the festive season.

Malcolm-X
09-10-2012, 04:51 PM
is there a way to show an image instead of snow

Fongool
10-01-2012, 09:53 PM
Any idea if this will work on 4.2?

F

Stefan118
10-11-2012, 01:28 PM
Works on 4.2, however i got a scrollbar at the botom of my page.

craigvm
12-15-2012, 10:03 PM
how can i get different snow flakes like on this site www.vvoc.com

rughis
12-24-2013, 03:17 PM
Some problems with 4.2.2 and Chrome. Unistalled.

webmaster74
12-28-2013, 01:32 AM
thank you for this very nice effect.