Snow over phpBB

User avatar
GodSend
Site Admin
Posts: 42
Joined: November 14th, 2012, 7:30 pm

Snow over phpBB

January 28th, 2016, 1:43 am

Description
Adds Snow all over forum for Christmas/Winter. You can edit variables to increase snow flow/size, move snow on mouse direction and to settle on the forum pages.
phpBB Version(s): 3.0.11

View Install File

Snow_over_phpBB_1.0.3B.zip
This version as the latest JS file. The weak JS file is in the Contrib folder! - By victory1
(185.07 KiB) Downloaded 324 times


[EN] Note: Download from anex.

[PT]
Abrir: language/pt/ucp.php - Por Volta da Linha 391
Procurar

Code: Select all

   'SAME_PASSWORD_ERROR'            => 'A nova Senha é igual à antiga.',

Adicionar Depois

Code: Select all

   'SNOW_ENABLED'                  => 'Activar Efeito de Neve',
   'SNOW_ENABLED_EXPLAIN'            => 'Activa ou desactiva o Efeito de Neve.',



[ES]
Abrir: language/es/ucp.php - Por Volta da Linha 391
Buscar

Code: Select all

   'SAME_PASSWORD_ERROR'   => 'La nueva contraseña que ha introducido es la misma que su contraseña actual',

Añadir Después

Code: Select all

   'SNOW_ENABLED'                  => 'Activar efecto de la nieve',
   'SNOW_ENABLED_EXPLAIN'            => 'Activa ou desactiva efecto de la nieve.',


[FR] - Pour Traduire
Ouvrez: language/fr/ucp.php - Autour de la ligne 391
Rechercher

Code: Select all

   'SAME_PASSWORD_ERROR'      => 'Le nouveau mot de passe saisi est identique à votre mot de passe actuel.',

Ajouter Après

Code: Select all

   'SNOW_ENABLED'         => 'Enable Holiday Snow',
   'SNOW_ENABLED_EXPLAIN'      => 'Enables or disables the Holiday Snow.',
User avatar
GodSend
Site Admin
Posts: 42
Joined: November 14th, 2012, 7:30 pm

Re: Snow over phpBB

January 28th, 2016, 3:37 am

How to make them bigger?

Open root/js and edit that file, on lines 37-38

Code: Select all

  this.flakeWidth = 8;            // Max pixel width reserved for snow element
  this.flakeHeight = 8;           // Max pixel height reserved for snow element



Having more than six types of flake?

In the JS file (snowstorm.js) find:

Code: Select all

    this.vAmp = this.vAmpTypes[this.type];

Replace with:

Code: Select all

    this.vAmp = this.vAmpTypes[this.type% this.vAmpTypes.length];

Return to “MODs”