Countdown Disable Board

Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support
User avatar
Galandas Offline
BBCoder III
BBCoder III
Posts: 147
Joined: 06 Mar 2010, 22:08
Local time: Saturday 23:04
Last active: -
Favourite BBCode: player yahoo
Favourite EXT: Mod Rey
Location: italy

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, 20:29, edited 1 time in total.
User avatar
Galandas Offline
BBCoder III
BBCoder III
Posts: 147
Joined: 06 Mar 2010, 22:08
Local time: Saturday 23:04
Last active: -
Favourite BBCode: player yahoo
Favourite EXT: Mod Rey
Location: italy

Countdown Disable Board

Post by Galandas »

Approved and released into modifications database

Check here: https://www.phpbb.com/community/viewtop ... #p13340911
User avatar
Stoker Online
Site Admin
Site Admin
Posts: 4,295
Joined: 12 May 2008, 21:26
Local time: Sunday 00:04
Last active: Online now
Favourite EXT: Forum Goal
Location: Denmark

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.
~ The greatest achievement in life is to inspire ~
Regards Stoker
User avatar
Galandas Offline
BBCoder III
BBCoder III
Posts: 147
Joined: 06 Mar 2010, 22:08
Local time: Saturday 23:04
Last active: -
Favourite BBCode: player yahoo
Favourite EXT: Mod Rey
Location: italy

Countdown Disable Board

Post by Galandas »

It would be a nice feature to be included.
Last edited by Galandas on 14 Jul 2013, 13:15, edited 1 time in total.
User avatar
RMcGirr83 Offline
BBCoder III
BBCoder III
Posts: 104
Joined: 08 Mar 2010, 11:17
Local time: Saturday 18:04
Last active: -
Favourite EXT: mChat

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 Offline
BBCoder III
BBCoder III
Posts: 147
Joined: 06 Mar 2010, 22:08
Local time: Saturday 23:04
Last active: -
Favourite BBCode: player yahoo
Favourite EXT: Mod Rey
Location: italy

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 Offline
BBCoder III
BBCoder III
Posts: 104
Joined: 08 Mar 2010, 11:17
Local time: Saturday 18:04
Last active: -
Favourite EXT: mChat

Countdown Disable Board

Post by RMcGirr83 »

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