Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Snow for Christmas Details »»
Snow for Christmas
Version: 1.00, by Ev!L ErN!E Ev!L ErN!E is offline
Developer Last Online: Oct 2015 Show Printable Version Email this Page

Version: 3.6.2 Rating:
Released: 11-25-2006 Last Update: Never Installs: 251
Template Edits
Additional Files  
No support by the author.

Snow For Christmas
(not supported)

This is a VERY simple addon that will give the effect of snow falling on your forums, its great for the holiday season, and makes it an easy way to give your forum that holiday feel without doing a bunch of editing or theme changes.

Step 1. Download the attached snow.zip (unpack it) and upload the snow.js to your forums root
(you can also edit the snow.js to change, speed & amount of snow that falls)

Step 2. Go to ADMIN > STYLE MANGER > your style > HEADER
In the "header" box add this code:

Code:
<!-- Start Snow For Christmas Code -->
<script type="text/javascript" src="snow.js"></script>
<!-- End Snow For Christmas Code -->
(this will make it snow on all areas of your forum)

If you only want the snow effect to be seen on the main page of your forum then do Step 3 instead of Step 2

Step 3. Go to your styles "FORUMHOME" and add the above code just under the "<head>"

This has only been tested on 3.6.2 using IE6

To stop this effect after the holidays, simply comment out the script code like this:

Code:
<!-- Start Snow For Christmas Code -->
<!-- <script type="text/javascript" src="snow.js"></script> -->
<!-- End Snow For Christmas Code -->

DEMO
View a demo here
(this demo is using STEP 3, snow only on the FORUMHOME)

Please Click INSTALL

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 12-02-2006, 04:04 PM
alawee.blawee's Avatar
alawee.blawee alawee.blawee is offline
 
Join Date: Oct 2006
Location: IraQ
Posts: 290
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it worked with me but i have a problem

its not fixed for a spacified resolution becuase it sometimes shows me bar for moving left and right

what can i do to fix it guys?
Reply With Quote
  #43  
Old 12-03-2006, 01:32 AM
pedroenf pedroenf is offline
 
Join Date: Jun 2006
Location: Portugal
Posts: 308
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why never custom plugins for Opera browser too? Never understad it.
Reply With Quote
  #44  
Old 12-03-2006, 03:36 AM
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Location: Meh...
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pedroenf View Post
Why never custom plugins for Opera browser too? Never understad it.
:alien: This template mod does indeed work with Opera
Reply With Quote
  #45  
Old 12-03-2006, 03:58 AM
Aleah Aleah is offline
 
Join Date: Feb 2006
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where is my root directory ?

TIA
Reply With Quote
  #46  
Old 12-03-2006, 12:41 PM
erkme73 erkme73 is offline
 
Join Date: Jul 2003
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One level above your /forums directory
Reply With Quote
  #47  
Old 12-03-2006, 07:39 PM
Calibre_k Calibre_k is offline
 
Join Date: Feb 2006
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can we make snowflakes bigger?
Reply With Quote
  #48  
Old 12-03-2006, 11:38 PM
HUMMERh3 HUMMERh3 is offline
 
Join Date: Oct 2005
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes I would like to know how to make more flakes...I tried adjusting the variable up to 8000 but didn't notice any difference in the number of flakes please help...I told my members that there was going to be a big snow storm at our forums
Quote:
var num = 40; //Number of flakes
var timer = 30; //setTimeout speed. Varies on different comps
Reply With Quote
  #49  
Old 12-04-2006, 07:57 PM
thpoul thpoul is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
if (d.documentElement.style &&
typeof d.documentElement.style.MozOpacity == "string")
num = 12;
Change that 12 into what you want to have more flakes....

Quote:
for (i = 0; i < num; i++){
sfs[i] = Math.round(1 + Math.random() * 1);
() * 3 to have some thicker flakes


BUT....this will make your site go REALLY slow so I don't suggest it..
Reply With Quote
  #50  
Old 12-04-2006, 08:23 PM
extremebetas extremebetas is offline
 
Join Date: May 2004
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not if you have fast server LOL
Reply With Quote
  #51  
Old 12-04-2006, 09:05 PM
Mr Pink's Avatar
Mr Pink Mr Pink is offline
 
Join Date: Oct 2006
Location: [Italy]
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by thpoul View Post
Change that 12 into what you want to have more flakes....



() * 3 to have some thicker flakes


BUT....this will make your site go REALLY slow so I don't suggest it..
Thanks.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 03:19 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04855 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete