Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Advanced Snowstorm Integration for Christmas Details »
Advanced Snowstorm Integration for Christmas
Mod Version: 1.00, by doberlec (Member) doberlec is offline
Developer Last Online: May 2011 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.4 Rating: (0 vote - 0 average) Installs: 23
Released: 30 Nov 2006 Last Update: Never Downloads: 26
Not Supported Template Edits Additional Files  

Please take some time and read this feature list before you go "Oh no, another of those pesky snowflake Mods!".

Features:
- The snow is optionally piling up on the bottom of the screen (customize the script to your liking)
- The script is lightweight and fast
- The script works on all current browsers and uses PNG images incl. GIF fallback
- Can be turned off by your users via quicklink or in the UserCP
- User can change the direction of the blowing wind

HackDetails:

Difficulty: easy
Templates to edit: 2
Approx. Time: 5-8 Minutes
Compatibility: All vB versions

As we all know, those nice scripts come at a price, and that is performance at the client side! I didn't want to pester my users with a CPU intensive script for the next 30 days and not offering a solution to switch it off in the UserCP (or temporarily). So with this hack everyone can decide for him/herself is he/she wants those nifty flakes flying around while reading the forum

Allright let's move to the hack itself:

First of all, I have to give full kudos to Scott Schiller who came up with the original Javascript for this nifty snowing effect. Secondly it is VERY easy to incorporate in your forum if you follow these 10 steps to success:

1) Get the latest version of the script from Scott Schiller's Homepage
2) Upload the script as well as all images included
3) AdminCP -> User Profile Fields -> Add New User Profile Field
4) Choose "Single Selection Radio Buttons"
5) Fill in all required fields and insert two values in the Options Box: (seperated with a return)
YES
NO

6) Set "Default" to YES
7) Hit "Save" and memorize the name of your field, in my case it's "field8".
8) Open up the Template "headinclude" and add at the bottom:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Notice that I included the name of my field (field8) in the first line!

9) Hit "Save" and open up the template "navbar" and look for this code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

below add:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Please note again that I included the name of my field (field8) in the first line!

10) Hit "Save" and you're ready to go!


Further thoughts:

This little hack adds the two control links directly above the login-details of your users. But it can of course be implemented where you like, you can also add graphical buttons to it. Furthermore you can use phrases to make all this multilingual, a step I took because my forums are multilingual.

Troubleshooting:

Q: It doesn't work?!
A: Be aware that this hack USES a script, which you have to download here!

Q: Argh, I don't see any snow flakes, but my CPU get's mangled
A: That's because the script doesn't find the images for the snowflakes. Open up the script (snowstorm.js) and set the "imagePath" to the folder where your snowflakes are in. You can even hardcode an absolute link there is everything fails.

Q: My switch in the UserCP doesn't work!
A: Make sure that you filled in the exact name of your field in the two locations which are specified in the steps above.

Q: The snow falls too slow or the flakes are too small
A: Open up the script and modify it to your liking, it's a great piece of code and well documented

Q: Is the snow only visible for registered users?
A: Yes, that's on perpose. Guests can't store any infos on the forum, therefore they can't switch it off if they don't like it.

Q: Oh my god it still doesn't snow... and it's mid December already!
A: Welcome to the age of global warming! Switch to a Hybrid Car, and walk more often. If everybody does that, we should get real snow again in a couple of decades

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Snowstorm evenmonkeys vBulletin 3.5 Styles 9 02 Jan 2006 10:01

  #31  
Old 10 Dec 2006, 09:52
wrang wrang is offline
 
Join Date: Nov 2004
Real name: Christian
Hope for some help
I haved upload the file in the forum direktory,
The snow in images/snow folder
put the text in header template
<if condition="$bbuserinfo['field32']=='YES'">
<script type="text/javascript"
src="/forumet/snowstorm.js"></script>
</if>
Make a new profilefileld called 32

but i cant it work.

My site is in this adress
www.saltvattensguiden.se/forumet

Best regards from Sweden and im so happy that fugledstad came up into the space
Reply With Quote
  #32  
Old 12 Dec 2006, 20:52
sam anders sam anders is offline
 
Join Date: May 2006
thanks installed and works great
Reply With Quote
  #33  
Old 19 Dec 2006, 03:00
rburns's Avatar
rburns rburns is offline
 
Join Date: Mar 2002
Real name: Robert Burns
Tried it out, found like most snow in British places it brought the site almost to a standstill.

Server load increased too much to make it worthwhile, trouble with JS sometimes

So brought out the snowplough and cleared it all up.

Ah well, good mod anyway.
__________________
Robert Burns
RugbyRefs.com
Reply With Quote
  #34  
Old 20 Dec 2006, 16:36
nervous nervous is offline
 
Join Date: Feb 2006
sorry but not working!!!
Reply With Quote
  #35  
Old 20 Dec 2006, 22:02
vectorfc vectorfc is offline
 
Join Date: Sep 2006
This does work for me, but only in the header. Matters not whether the

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

code is placed in the header template or the headinclude template, the snow resolutely refuses to fall past the header. Although it does fall, certainly.

Any ideas?

Edit: Ooh, wait! I just watched it go past the header! It seems that the snow is mysteriously dying out after a few seconds and vanishing away, not to be repeated. How strange. It works fine locally, but won't keep snowing on the server. Also, the snow isn't white, it's sort of outlined in white, and the middle of each flake takes on the colour of the skin that's being snowed on. Uhm. Again, any ideas? Heh.

Last edited by vectorfc; 20 Dec 2006 at 22:13. Reason: New and exciting information!
Reply With Quote
  #36  
Old 22 Dec 2006, 15:42
GruntHalo GruntHalo is offline
 
Join Date: Dec 2006
Real name: Jonathann Shannon
Great mod but it seems to dratically slow down my pc.
Reply With Quote
  #37  
Old 22 Dec 2006, 16:35
thenotch thenotch is offline
 
Join Date: Aug 2004
I could never get it to work. I tried every option that was presented here and no snow.

Glad it worked for some, I finally gave up...
__________________
The Lighthouse
Community Forums
Reply With Quote
  #38  
Old 22 Dec 2006, 22:25
Chet T16 Chet T16 is offline
 
Join Date: Oct 2005
Its working for me here but i needed to go into my user cp and hit save under the yes/no option before it did.

It slowing the PC down something terrible so i probably won't keep it
Reply With Quote
  #39  
Old 26 Dec 2008, 13:20
thanasis1 thanasis1 is offline
 
Join Date: Aug 2008
still not working.. i tried every combination of path
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 07:00.

Layout Options | Width: Wide Color: