Countdown Disable Board

Mods, snippets and styles postet and supported by the users
Forum rules
As the forum title says this is for User Contributions
Post a support request in this forum and you will be banned!
Locked
User avatar
Galandas
BBCoder III
BBCoder III
Posts: 129
Joined: 07 Mar 2010, 00:08
BBCodes: 35
Favourite BBCode: player yahoo
Favourite MOD: Mod Rey
Location: italy
Contact:

Countdown Disable Board

Post 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
Last edited by Galandas on 11 Jul 2013, 22:29, edited 1 time in total.
User avatar
Galandas
BBCoder III
BBCoder III
Posts: 129
Joined: 07 Mar 2010, 00:08
BBCodes: 35
Favourite BBCode: player yahoo
Favourite MOD: Mod Rey
Location: italy
Contact:

Countdown Disable Board

Post by Galandas »

Approved and released into modifications database

Check here: https://www.phpbb.com/community/viewtop ... #p13340911
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Countdown Disable Board

Post 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.
Board rules! No PM support
User avatar
Galandas
BBCoder III
BBCoder III
Posts: 129
Joined: 07 Mar 2010, 00:08
BBCodes: 35
Favourite BBCode: player yahoo
Favourite MOD: Mod Rey
Location: italy
Contact:

Countdown Disable Board

Post by Galandas »

It would be a nice feature to be included.
Last edited by Galandas on 14 Jul 2013, 15:15, edited 1 time in total.
User avatar
RMcGirr83
BBCoder III
BBCoder III
Posts: 104
Joined: 08 Mar 2010, 13:17
Favourite MOD: mChat
Contact:

Countdown Disable Board

Post 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
User avatar
Galandas
BBCoder III
BBCoder III
Posts: 129
Joined: 07 Mar 2010, 00:08
BBCodes: 35
Favourite BBCode: player yahoo
Favourite MOD: Mod Rey
Location: italy
Contact:

Countdown Disable Board

Post 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.
User avatar
RMcGirr83
BBCoder III
BBCoder III
Posts: 104
Joined: 08 Mar 2010, 13:17
Favourite MOD: mChat
Contact:

Countdown Disable Board

Post by RMcGirr83 »

There is no "second purpose". Not my mod don't care one bit.
Locked