vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Integration with vBulletin - [Namaless] Snow Storm (https://vborg.vbsupport.ru/showthread.php?t=254998)

Namaless 12-09-2010 10:00 PM

[Namaless] Snow Storm
 
1 Attachment(s)
Let It Snow.
So, you want Javascript snow on your web site, eh?


What It does
Snowstorm is a Javascript-driven snow effect that can be easily added to web pages. It is free for use, and easy to set up. A single Javascript file provides the functionality required. No images are used for the snow effect.


Demo
My Blog: http://www.namaless.com
vBulletin Forum: http://www.techno-house-electro.de/forum/


Installation
  1. Download this Product
  2. Unzip this Product
  3. Upload the content from directory UPLOAD in your vBulletin Root Directory
  4. Import this product product-namaless_snowstorm.xml
  5. Go to vBulletin Options -> Snow Storm Settings setup this product.


Change Log
  • Version 1.0.0
    • Initial Release.
  • Version 1.1.0
    • Added all Javascript options to vBulletin Options Pannel.
    • Added in the footer links "Snow Storm On/Off", this link enable/disable snowing with cookie setting.
    • Change jQuery Javascript to YUI2 (vBulletin Javascript Framework).
    • Minor bug fix.
  • Version 1.1.1
    • Added "Script Locations" from this suggestion. Now show Snow Storm ONLY where THIS_SCRIPT is used here. Leave empty to show in all pages but your server CPU bye bye xD
    • Moved "Toggle Snow On/Off" link from footer links into header userinfo. In next major release move this link to upper where not found template_hook and move with YUI DOM.
  • Version 1.2.0
    • Fixed "Script Locations" from this post.
    • Moved "Toggle Snow On/Off" link from header userinfo before notifications with jQuery (not found template hook for insert link here).
    • YUI2 death. I love jQuery and use this.
    • Remove JS min option and use min javascript to default.
  • Version 1.2.1
    • Update "Toggle Snow On/Off" link with relative status related of SnowStorm Status (when snow is off view "Toggle Snow ON").
    • Use official Namaless CDN for all Javascript scripts.
    • Added 2 screenshots.
    • Remove 2 templates because isn't need.
  • Version 1.2.2
    • Update "Toggle Snow On/Off" link, show for guest and members.
    • Show snow in all pages (removed 'index' from default setting).
    • Fixed 'uncached template'.
  • Version 1.2.3
    • Remove Namaless CDN and use local version of Javascripts.
    • Fixed bug for "Toggle Snow ON/OFF" link because some members not show the link (sorry for inconvenience).
  • Version 1.2.4
    • Fixed Toggle Link bug.


IMPORTANT NOTE
For the correct operation of the MOD must have in your template the following template_hooks:
  • headinclude_javascript
  • footer_javascript

In your template "header" find:
Code:

{vb:raw template_hook.headinclude_javascript}
In your template "footer" find:
Code:

{vb:raw template_hook.footer_javascript}
If these are not the template_hook MOD WILL NOT WORK!
Before commenting that the MOD does not work, make sure that these template_hooks are present in your template.

The Javascript provide by http://www.schillmania.com

josantos 12-10-2010 08:19 AM

Cool . Thanks !:up:

(without changing templats is allways better ) 5*

Namaless 12-10-2010 09:18 AM

Quote:

Originally Posted by josantos (Post 2131804)
Cool . Thanks !:up:

(without changing templats is allways better ) 5*

Yes, in the future version added setup options in vBulletin settings ^_^

Sayid 12-10-2010 10:06 AM

I really liked it.
I have a suggestion:
can you add stop button because it maybe annoying to some member?
Thanks

Namaless 12-10-2010 10:36 AM

Quote:

Originally Posted by Sayid (Post 2131830)
I really liked it.
I have a suggestion:
can you add stop button because it maybe annoying to some member?
Thanks

Yes, where you want this option?

BlackJacket 12-10-2010 04:34 PM

Quote:

Originally Posted by Namaless (Post 2131835)
Yes, where you want this option?

Maybe as a button that stays at the top of the screen and it can say snow on/off.

Thanks! Installed.

Kraxell 12-10-2010 04:38 PM

Option for the falling-speed and number of snowflakes were nice :)

Namaless 12-10-2010 04:57 PM

Quote:

Originally Posted by BlackJacket (Post 2131955)
Maybe as a button that stays at the top of the screen and it can say snow on/off.

Thanks! Installed.

All right, this in next mini-release.

Quote:

Originally Posted by Kraxell (Post 2131957)
Option for the falling-speed and number of snowflakes were nice :)

Yes, I have this in todolist for the next major version.

need2fart 12-10-2010 06:14 PM

Will this work for 3.8.6? I've been trying to get the button feature but I haven't been able to figure out how to do it:\

Some of my member's are complaining about it lagging their browsing experience and I tried to figure out a way to have them turn it on or off but I had no luck.

Stryker412 12-10-2010 06:24 PM

Can you make it so the snow doesn't follow your mouse?

Bacon Butty 12-10-2010 08:07 PM

Superb thanks.

The easy on/off switch would be good. Though to be fair, it would take two minutes to duplicate your style and advise users to switch if they didn't like it.

Namaless 12-10-2010 08:46 PM

The options is avariable tomorrow in the new mini-release 1.01
Today working to switch on/off with cookie for enable/disable relation to this request: https://vborg.vbsupport.ru/showthrea...55#post2131955

elwachiman 12-10-2010 10:30 PM

working in vb4.0.8pl2 xd

Namaless 12-10-2010 11:37 PM

I have released major version with some features. See first post in ChangeLog section.

Thanks to all suggestions.

need2fart 12-11-2010 01:06 AM

I installed it on my vb 3.8.6 But it's not working I knew it wouldn't.
I just modified min version lol.

Do you think you could make one compatible for 3.8.6? I can let you use my board as a test if you don't have 3.8.6.

Here's the error:

Code:

PHP Fatal error:  Class 'vB_Template' not found in /home/vb/global.php(609) : eval()'d code on line 515,

Any tips to make it work? Thanks:)

Wajdan 12-11-2010 07:52 AM

Where's snap shots?

Namaless 12-11-2010 07:55 AM

Quote:

Originally Posted by need2fart (Post 2132182)
I installed it on my vb 3.8.6 But it's not working I knew it wouldn't.
I just modified min version lol.

Do you think you could make one compatible for 3.8.6? I can let you use my board as a test if you don't have 3.8.6.

Here's the error:

Code:

PHP Fatal error:  Class 'vB_Template' not found in /home/vb/global.php(609) : eval()'d code on line 515,

Any tips to make it work? Thanks:)

Min version is 4.0, with 3.8 need some modification to template system.

Quote:

Originally Posted by Wajdan (Post 2132293)
Where's snap shots?

Simple, my blog or friend forum :p

need2fart 12-11-2010 12:18 PM

Quote:

Originally Posted by Namaless (Post 2132294)
Min version is 4.0, with 3.8 need some modification to template system.


Simple, my blog or friend forum :p

Any suggestions?:)

Midoxp 12-11-2010 02:29 PM

Installed
www.Diablo4arab.com
+5

Namaless 12-11-2010 05:53 PM

Quote:

Originally Posted by need2fart (Post 2132357)
Any suggestions?:)

You want this product compatible with vBulletin 3.8.x ??

1320Nation 12-11-2010 09:09 PM

(vBulletin 4.0.8 Patch Level 2)

I haven't tested to see if each setting works or not on my board, but it seems to be ok with just the plug and play so far.

This mod really needs the ability to be disabled in threadview altogether. The snow effect is very annoying when attempting to read a thread. I will disable the mod from my board for now in hopes of turning it off in threadview will be available in an upcoming version. By the way, disabling it from threadview should be added in the admincp settings.

Other then that small issue,.....great mod!

Just a though but,....You may also consider setting this mod up to change the snow to other images that could be used throughout the year. Example, for valentines day there could be small floating hearts instead of snow. Or small green clovers on st. patricks day. Or pumpkins at halloween. I personally would not have a problem paying for such a mod.

need2fart 12-11-2010 10:10 PM

Quote:

Originally Posted by Namaless (Post 2132486)
You want this product compatible with vBulletin 3.8.x ??

Yess:)

Namaless 12-11-2010 11:07 PM

Quote:

Originally Posted by psychobike (Post 2132569)
(vBulletin 4.0.8 Patch Level 2)

I haven't tested to see if each setting works or not on my board, but it seems to be ok with just the plug and play so far.

This mod really needs the ability to be disabled in threadview altogether. The snow effect is very annoying when attempting to read a thread. I will disable the mod from my board for now in hopes of turning it off in threadview will be available in an upcoming version. By the way, disabling it from threadview should be added in the admincp settings.

Other then that small issue,.....great mod!

Just a though but,....You may also consider setting this mod up to change the snow to other images that could be used throughout the year. Example, for valentines day there could be small floating hearts instead of snow. Or small green clovers on st. patricks day. Or pumpkins at halloween. I personally would not have a problem paying for such a mod.

First of all thank you for the various suggestions that you have provided me. Part of what you request is possible, ie, in the settings you can insert a character and it will be turned into snow, so you must enter the HTML code of the image you want to see, for example:
Code:

<img src="http://downloadgeneration.info/images/styles/dg-vb-style/misc/navbit-home.png" />
Then you have to increase the size of the "bow"as it is written in the description of the field of default are 8px you set the size of the image and this appears as snow (I just tried it and I saw many small houses).
As for your request to disable the mod in the view of the discussion I can enter without problems. Add a setting where the MOD is show if you are on that page (via the constant THIS_SCRIPT of vBulletin).
I do not require money for the development of this MOD, if you want I can create custom MOD fee but this is not the place to discuss it. However, as all developers want to give me something if you can make donations from the form that each developer has. Do you find the right information in the development of MOD.

Quote:

Originally Posted by need2fart (Post 2132597)
Yess:)

As you requested is not possible because I only develop for the latest version of vBulletin because earlier versions will be removed support in the future so it is not a good business.

Alibass 12-12-2010 09:38 PM

Was there another release today? I was notified of a new release, but the version of 1.1.1 is the same version I installed yesterday. :confused:

Dr.osamA 12-12-2010 11:38 PM

Excellent = 5 Stars

installed

thanxx

Namaless 12-13-2010 05:51 AM

Quote:

Originally Posted by Alibass (Post 2133030)
Was there another release today? I was notified of a new release, but the version of 1.1.1 is the same version I installed yesterday. :confused:

I change only name, today release 1.1.2 version with minor bug fix.

betts02 12-13-2010 01:51 PM

Any chance of getting this to work just in the banner area ?

steve1966 12-13-2010 05:21 PM

Quote:

Originally Posted by betts02 (Post 2133266)
Any chance of getting this to work just in the banner area ?

that option would be good

Namaless 12-13-2010 10:49 PM

Quote:

Originally Posted by betts02 (Post 2133266)
Any chance of getting this to work just in the banner area ?

What do you mean?

Mikevet1984 12-14-2010 01:43 AM

Great add-on! Congratulations to the designer!

Any idea how to change the shape of the snow to more traditional one?

When I say traditional shape I mean this one

https://vborg.vbsupport.ru/

because I see the snow falling as cycles.

Namaless 12-14-2010 10:35 AM

Quote:

Originally Posted by Mikevet1984 (Post 2133571)
Great add-on! Congratulations to the designer!

Any idea how to change the shape of the snow to more traditional one?

When I say traditional shape I mean this one

http://www.summitmountainhome.com/re..._clipart_7.gif

because I see the snow falling as cycles.

Of course you can ^_^
In the area where you find the character:
Code:

&bull;
you put below:
Code:

<img src="http://example.com/image.png">
Change the size of the flakes.
There are width and height and are set to default 8px.

Selik 12-14-2010 11:09 AM

Hello, if left blank the script Locations, nothing appears on any page, I do wrong?

Thanks

Greetings!

Namaless 12-14-2010 11:18 AM

Quote:

Originally Posted by Selik (Post 2133695)
Hello, if left blank the script Locations, nothing appears on any page, I do wrong?

Thanks

Greetings!

Mmm.. fixed bug in 1.2.0 release, please wait few days. Thanks!

Selik 12-14-2010 11:47 AM

Thanks!!

steve1966 12-14-2010 11:51 AM

Quote:

Originally Posted by Namaless (Post 2133520)
What do you mean?

hi just for the esnow to appear where the logo is

jaffaman 12-14-2010 01:49 PM

How do i get it to show in the vBCms ? i tried to put content in the Script Locations but no luck Great mod :)

Namaless 12-14-2010 02:33 PM

Quote:

Originally Posted by steve1966 (Post 2133710)
hi just for the esnow to appear where the logo is

Not possible.

Namaless 12-14-2010 02:37 PM

Quote:

Originally Posted by jaffaman (Post 2133741)
How do i get it to show in the vBCms ? i tried to put content in the Script Locations but no luck Great mod :)

PHP Code:

define('THIS_SCRIPT''vbcms'); 

For CMS use 'vbcms' :-)

jaffaman 12-14-2010 03:56 PM

Thanks a lot works a treat :D

Alibass 12-14-2010 04:16 PM

Where is the on/off located at in 1.2.0? Pic would be nice.


All times are GMT. The time now is 06:14 AM.

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.01883 seconds
  • Memory Usage 1,839KB
  • 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
  • (7)bbcode_code_printable
  • (1)bbcode_php_printable
  • (20)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
  • (40)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