Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications

Reply
 
Thread Tools
Snowflakes for your forum Details »»
Snowflakes for your forum
Version: 2.00, by ChU v2 ChU v2 is offline
Developer Last Online: Oct 2013 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.6.8 Rating:
Released: 12-03-2007 Last Update: 12-07-2007 Installs: 31
Template Edits
Re-useable Code Translations  
No support by the author.

This little hack uses an HTML marquee to add snowflakes to your header template. It is fully customizable unlike the java one I have seen on this forum.



Instructions:

- Upload snow.gif to /forum/images/SKIN/misc

- Check snowflakes.txt for instructions

---------------------

TO ADD MORE SNOW AND ADJUST POSITION.

Add this code under the rest of the code.

Code:
<marquee behavior="scroll" direction="down" scrollamount="3" style="position:absolute; left:200px; top:20px; width:25px; height:230px; z-index:1;"><span class="snowflakes"><img src="$stylevar[imgdir_misc]/snow.gif"></span></marquee>
NOTE: THAT CODE IS FOR ONE SNOWFLAKE! KEEP REPEATING THE CODE TO ADD MORE.

- To adjust the snowflakes position, adjust "left" and "top" option shown in green below. To adjust the speed of the snowflake adjust the "scrollamount" shown in red below.

Quote:
<marquee behavior="scroll" direction="down" scrollamount="3" style="position:absolute; left:200px; top:20px; width:25px; height:230px; z-index:1;"><span class="snowflakes"><img src="$stylevar[imgdir_misc]/snow.gif"></span></marquee>
Add the code multiple times and adjust the options to get an awesome snowfall! It is a bit time consuming but it's worth it!

For a skin with this code used check here: [Winter Snowfall]

Updates:

v2: Did the code to get most users started on it. Instead of having to do ALL of the code, most of it is written for you.

Show Your Support

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

Comments
  #12  
Old 12-11-2007, 07:46 PM
Konstantinos Konstantinos is offline
 
Join Date: Apr 2006
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

but why dont they go down to the footer and how to ??
Reply With Quote
  #13  
Old 12-13-2007, 04:45 AM
ChU v2 ChU v2 is offline
 
Join Date: May 2007
Location: Chicago
Posts: 396
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Konstantinos View Post
but why dont they go down to the footer and how to ??
Adjust the
Code:
top:20px;
to however far you want it to go down.
Reply With Quote
  #14  
Old 12-15-2007, 12:52 PM
MotMann MotMann is offline
 
Join Date: Jan 2006
Location: Germany
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My snowflakes dont faling down to the footer. Only in the header...
Reply With Quote
  #15  
Old 12-16-2007, 12:04 AM
princeedward's Avatar
princeedward princeedward is offline
 
Join Date: Jan 2007
Location: Deutschland
Posts: 901
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for this one...nice christmas spirit idea...


Quote:
Originally Posted by MotMann View Post
My snowflakes dont faling down to the footer. Only in the header...
all i know is you have to adjust the height: not the top: coz' top setting is the horizontal line position of all snowflakes images..



i add snowballs gif image also to my site...
Please View It Here!

for much better look...if someone interested...i attach my images below...

snowballs 15x15
Attachment 73222
snowballs_small 10x10
Attachment 73223
Reply With Quote
  #16  
Old 12-16-2007, 09:37 AM
MotMann MotMann is offline
 
Join Date: Jan 2006
Location: Germany
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what i must do, that the flakes comes down over the browserwindow with and High? Something with 100 % ?
Reply With Quote
  #17  
Old 12-16-2007, 11:22 AM
princeedward's Avatar
princeedward princeedward is offline
 
Join Date: Jan 2007
Location: Deutschland
Posts: 901
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MotMann View Post
what i must do, that the flakes comes down over the browserwindow with and High? Something with 100 % ?
adjust the numbers of height... eg: height:1000px for a test ...and look where it goes disappear...adjust more...until it reach your forum footer...


Code:
<marquee behavior="scroll" direction="down" scrollamount="2" style="position:absolute; left:15px; top:20px; width:25px; height:320px; z-index:1;"><span class="snowflakes"><img src="$stylevar[imgdir_misc]/snow.gif"></span></marquee>
goodluck and best regards....

Reply With Quote
  #18  
Old 12-23-2007, 01:52 AM
Robert Paulson's Avatar
Robert Paulson Robert Paulson is offline
 
Join Date: Nov 2007
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I need to shift the whole pattern to the left a bit. How can I do that?

Here's the board.

And here's the header template:

<!-- Snowflakes -->
<marquee behavior="scroll" direction="down" scrollamount="3" style="position:absolute; left:200px; top:20px; width:25px; height:230px; z-index:1;"><span class="snowflakes"><img src="$stylevar[imgdir_misc]/snow.gif"></span></marquee>
<marquee behavior="scroll" direction="down" scrollamount="1" style="position:absolute; left:250px; top:10px; width:25px; height:251px; z-index:1;"><span class="snowflakes"><img src="$stylevar[imgdir_misc]/snow.gif"></span></marquee>
<marquee behavior="scroll" direction="down" scrollamount="7" style="position:absolute; left:300px; top:20px; width:25px; height:230px; z-index:1;"><span class="snowflakes"><img src="$stylevar[imgdir_misc]/snow.gif"></span></marquee>
<marquee behavior="scroll" direction="down" scrollamount="2" style="position:absolute; left:350px; top:10px; width:25px; height:251px; z-index:1;"><span class="snowflakes"><img src="$stylevar[imgdir_misc]/snow.gif"></span></marquee>
<marquee behavior="scroll" direction="down" scrollamount="4" style="position:absolute; left:400px; top:20px; width:25px; height:230px; z-index:1;"><span class="snowflakes"><img src="$stylevar[imgdir_misc]/snow.gif"></span></marquee>
<marquee behavior="scroll" direction="down" scrollamount="5" style="position:absolute; left:450px; top:10px; width:25px; height:251px; z-index:1;"><span class="snowflakes"><img src="$stylevar[imgdir_misc]/snow.gif"></span></marquee>
<marquee behavior="scroll" direction="down" scrollamount="3" style="position:absolute; left:500px; top:20px; width:25px; height:215px; z-index:1;"><span class="snowflakes"><img src="$stylevar[imgdir_misc]/snow.gif"></span></marquee>
<marquee behavior="scroll" direction="down" scrollamount="1" style="position:absolute; left:550px; top:10px; width:25px; height:251px; z-index:1;"><span class="snowflakes"><img src="$stylevar[imgdir_misc]/snow.gif"></span></marquee>
<marquee behavior="scroll" direction="down" scrollamount="2" style="position:absolute; left:600px; top:20px; width:25px; height:215px; z-index:1;"><span class="snowflakes"><img src="$stylevar[imgdir_misc]/snow.gif"></span></marquee>
<marquee behavior="scroll" direction="down" scrollamount="6" style="position:absolute; left:650px; top:10px; width:25px; height:251px; z-index:1;"><span class="snowflakes"><img src="$stylevar[imgdir_misc]/snow.gif"></span></marquee>
<marquee behavior="scroll" direction="down" scrollamount="5" style="position:absolute; left:700px; top:20px; width:25px; height:215px; z-index:1;"><span class="snowflakes"><img src="$stylevar[imgdir_misc]/snow.gif"></span></marquee>
<marquee behavior="scroll" direction="down" scrollamount="4" style="position:absolute; left:750px; top:10px; width:25px; height:251px; z-index:1;"><span class="snowflakes"><img src="$stylevar[imgdir_misc]/snow.gif"></span></marquee>
<marquee behavior="scroll" direction="down" scrollamount="6" style="position:absolute; left:800px; top:10px; width:25px; height:251px; z-index:1;"><span class="snowflakes"><img src="$stylevar[imgdir_misc]/snow.gif"></span></marquee>
<marquee behavior="scroll" direction="down" scrollamount="2" style="position:absolute; left:850px; top:20px; width:25px; height:215px; z-index:1;"><span class="snowflakes"><img src="$stylevar[imgdir_misc]/snow.gif"></span></marquee>
<marquee behavior="scroll" direction="down" scrollamount="3" style="position:absolute; left:900px; top:10px; width:25px; height:251px; z-index:1;"><span class="snowflakes"><img src="$stylevar[imgdir_misc]/snow.gif"></span></marquee>
<marquee behavior="scroll" direction="down" scrollamount="7" style="position:absolute; left:950px; top:10px; width:25px; height:251px; z-index:1;"><span class="snowflakes"><img src="$stylevar[imgdir_misc]/snow.gif"></span></marquee>
<marquee behavior="scroll" direction="down" scrollamount="1" style="position:absolute; left:1000px; top:20px; width:25px; height:215px; z-index:1;"><span class="snowflakes"><img src="$stylevar[imgdir_misc]/snow.gif"></span></marquee>
<marquee behavior="scroll" direction="down" scrollamount="3" style="position:absolute; left:1050px; top:10px; width:25px; height:251px; z-index:1;"><span class="snowflakes"><img src="$stylevar[imgdir_misc]/snow.gif"></span></marquee>
<!-- / Snowflakes -->
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]">
&nbsp;
</td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output
Reply With Quote
  #19  
Old 12-23-2007, 01:54 AM
Robert Paulson's Avatar
Robert Paulson Robert Paulson is offline
 
Join Date: Nov 2007
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Whoa. This could be awesome!

I can think of no reason why I couldn't have bombs or turkeys falling from the sky, too. Right?
Reply With Quote
  #20  
Old 12-23-2007, 02:20 AM
Robert Paulson's Avatar
Robert Paulson Robert Paulson is offline
 
Join Date: Nov 2007
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Robert Paulson View Post
Whoa. This could be awesome!

I can think of no reason why I couldn't have bombs or turkeys falling from the sky, too. Right?
Nevermind. This is AWESOME!!!!
Reply With Quote
  #21  
Old 12-24-2007, 10:12 PM
Keesa Keesa is offline
 
Join Date: Oct 2007
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love it!!!

If you want to see...

http://www.tokiohotelamerica.com/forum

THANK YOU! Marked as installed.
Reply With Quote
Reply

Thread Tools

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 05:12 PM.


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.06988 seconds
  • Memory Usage 2,319KB
  • 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
  • (3)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
  • (2)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