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

Comments
  #2  
Old 30 Nov 2006, 21:40
Shouzen Shouzen is offline
 
Join Date: Aug 2006
Real name: Ramanand
I tied but it doesn't work.
Reply With Quote
  #3  
Old 30 Nov 2006, 21:46
doberlec doberlec is offline
 
Join Date: Apr 2004
Real name: Daniel
Question

Did you substitute the fieldname I was using in the hack-example with the name of the field you made on your forum? Did you check if the script is able to find the images on your server? Does the script get loaded? (You should see that in an increase of the processing power of your processor in the taskmanager in Windows).
Reply With Quote
  #4  
Old 30 Nov 2006, 21:49
Shouzen Shouzen is offline
 
Join Date: Aug 2006
Real name: Ramanand
..Do you have msn?
Reply With Quote
  #5  
Old 30 Nov 2006, 21:51
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Is this 3.5.x compatible?
__________________
Former vBulletin.org Staff Member

Please feel free to re-use any of the code in any of my projects submitted to vB.org, so long as original attribution is retained.
Reply With Quote
  #6  
Old 30 Nov 2006, 21:53
SeQual SeQual is offline
 
Join Date: Dec 2004
HackDetails:
Difficulty: easy
Templates to edit: 2
Approx. Time: 5-8 Minutes
Compatibility: All vB versions
Reply With Quote
  #7  
Old 30 Nov 2006, 21:54
PixelFx PixelFx is offline
 
Join Date: Dec 2002
nice .. i'll try this out later
Reply With Quote
  #8  
Old 30 Nov 2006, 22:03
Talisman's Avatar
Talisman Talisman is offline
 
Join Date: Aug 2002
It's very cute. Thank you, doberlec.
__________________
Don't wear perfume in the garden, unless you want to be pollinated by bees.
Reply With Quote
  #9  
Old 30 Nov 2006, 22:15
doberlec doberlec is offline
 
Join Date: Apr 2004
Real name: Daniel
Thumbs up

Originally Posted by Shouzen View Post
..Do you have msn?
I`m sorry but I`m behind quite a good firewall so no MSN. But here is enough space to elaborate on your problem, feel free to do so. I'll try to be as helpfull as possible
Reply With Quote
  #10  
Old 30 Nov 2006, 23:16
projectego's Avatar
projectego projectego is offline
 
Join Date: Feb 2006
Location: UK
Real name: Steve
Nice mod... I might check this our nearer to Christmas...
__________________
Reply With Quote
  #11  
Old 01 Dec 2006, 01:42
JamieLee2k's Avatar
JamieLee2k JamieLee2k is offline
 
Join Date: Sep 2006
Real name: JamieLee2k
Not working, I have uploaded all the files into the root Dir and in the forum folder and it's still not working, can you give me the path the files should be in please?
Reply With Quote
  #12  
Old 01 Dec 2006, 01:44
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Real name: Shawn
So far people that have tried 0-2?
Reply With Quote
  #13  
Old 01 Dec 2006, 02:54
sezmar sezmar is offline
 
Join Date: Jan 2002
Hey nice mod but you forgot to attach the file.

I attached
Attached Files
File Type: zip snowstorm.zip (5.5 KB, 77 views)
Reply With Quote
  #14  
Old 01 Dec 2006, 03:00
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Real name: Shawn
Originally Posted by sezmar View Post
Hey nice mod but you forgot to attach the file.

I attached
Lol, maybe thats why?
/me waits for someone to confim it works
Reply With Quote
  #15  
Old 01 Dec 2006, 03:16
daklay daklay is offline
 
Join Date: Oct 2005
Ah, I see the problem.

Instead of Putting it at the bottom of headerinclude, just put it at the bottom of header
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 08:08.

Layout Options | Width: Wide Color: