vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Forum Display Enhancements - Snowflakes for your forum (https://vborg.vbsupport.ru/showthread.php?t=164253)

ChU v2 12-03-2007 10:00 PM

Snowflakes for your forum
 
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.

https://vborg.vbsupport.ru/external/2008/04/6.gif

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.

iogames 12-04-2007 10:00 AM

Lik-it! :D

69lakalle 12-04-2007 05:38 PM

nice isntalled !!

aspen1018 12-05-2007 10:12 PM

how do you get them in the middle

thanks

ChU v2 12-06-2007 12:10 AM

@Aspen:


Adjust:

Code:

left:200px

PCA Forums 12-07-2007 06:42 AM

Anyone wanna post the code that goes all over the board so I dont have to change a bunch of numbers :D

ChU v2 12-08-2007 03:33 AM

Quote:

Originally Posted by PCA Forums (Post 1396648)
Anyone wanna post the code that goes all over the board so I dont have to change a bunch of numbers :D

Updated.

onestopadam 12-11-2007 01:57 PM

where's snow.gif?

nyunyu 12-11-2007 02:14 PM

@onestopadam, right click on the snow above, and save it as snow.gif

ChU v2 12-11-2007 06:50 PM

It's the screenshot.


All times are GMT. The time now is 03:09 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.01133 seconds
  • Memory Usage 1,729KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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