Page 1 of 1

Countdown Disable Board

Posted: 23 May 2013, 18:39
by Galandas
Modification Name: Countdown Disable Board
Author: Galandas

Modification Description: This Mod will display a countdown when you disable the board, all configurable from ACP. You can choose the background color, images displayed, the text of the message.
HTML allowed.
Modification Version: 1.0.0

Features:
  • Enable or Disable from ACP
  • Choice of background color
  • Choice of the displayed image of the 3 available
  • You can add new images
  • You can enter the text fully customized via HTML
  • Mod Integration (MOD Version Check)
  • Automatic version check for updates of new versions released
  • Style compatible: for now only prosilver
  • Language: English, Italian
Format MOD:
Image

Image

Screenshots:

Logged
Image

Guest
Image

ACP
Image

Demo URL: N/A
Demo Username: N/A
Demo Password: N/A

Modification Download: Click here

Countdown Disable Board

Posted: 11 Jul 2013, 22:28
by Galandas
Approved and released into modifications database

Check here: https://www.phpbb.com/community/viewtop ... #p13340911

Countdown Disable Board

Posted: 12 Jul 2013, 08:40
by Stoker
Nice idea.
Does the mod enable the board again when countdown is finished?
If not, this is a feature request if there is a next version.

Countdown Disable Board

Posted: 12 Jul 2013, 15:41
by Galandas
It would be a nice feature to be included.

Countdown Disable Board

Posted: 13 Jul 2013, 11:05
by RMcGirr83
File copy

Copy: root/*.*
To: *.*

Copy: root/adm/mods/*.*
To: adm/mods/*.*
why copy root/*.* as well as root/adm/mods/*.*? root/*.* handles all

Code: Select all

	    //Countdown disable board by phpbb3world.com
		'CTN_SEC'		=> isset($config['sec_conto']) ? $config['sec_conto'] : '',
		'CTN_MIN'		=> isset($config['min_conto']) ? $config['min_conto'] : '',
		'CTN_HOUR'		=> isset($config['hour_conto']) ? $config['hour_conto'] : '',
		'CTN_YEAR'	    => isset($config['year_conto']) ? $config['year_conto'] : '',
		'CTN_MONTH'		=> isset($config['month_conto']) ? $config['month_conto'] : '',
		'CTN_DAY'		=> isset($config['day_conto']) ? $config['day_conto'] : '',
		'CTN_COLOR'		=> isset($config['color_conto']) ? $config['color_conto'] : '',
		'CTN_IMAGE'		=> isset($config['image_conto']) ? $config['image_conto'] : '',		
		'CTN_START'		=> isset($config['start_conto']) ? html_entity_decode ($config['start_conto']) : '',
will toss errors prior to umil file being run

Code: Select all

'CTN_ENABLE'	=> (!empty($config['conto_enable'])) ? true : false,
will activate the mod even if the board is not disabled.

Code: Select all

<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/lwtCountdown/js/misc.js"></script>
no such file in the download of the mod

Countdown Disable Board

Posted: 13 Jul 2013, 18:58
by Galandas
Wau thanks appreciate your reporting
The appreciate more though if it were, without a second purpose lugubrious.

Edit: errors are not the mod does its job well
it works fine
And as if signaling a harmless small crack on a concrete wall unwavering.

Countdown Disable Board

Posted: 14 Jul 2013, 04:05
by RMcGirr83
There is no "second purpose". Not my mod don't care one bit.