vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Miscellaneous Hacks - Snowstorm for your forum! With Options (https://vborg.vbsupport.ru/showthread.php?t=230871)

SnakeV 12-21-2009 10:00 PM

Snowstorm for your forum! With Options
 
1 Attachment(s)
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

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:
Code:

<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 :):
Code:

  // --- 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

Quote:

Originally Posted by WhiskeyOSS (Post 2129893)
What is the script for the lights ? I missed it some place

Quote:

Originally Posted by argothiusz (Post 2130177)
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

Quote:

Originally Posted by RobbieZ (Post 2131074)
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

1 Attachment(s)
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?

Attachment 134726
Attachment 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


All times are GMT. The time now is 01:29 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01204 seconds
  • Memory Usage 1,791KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete