Scheduled Maintenance: 10-11-2025 Electricity company maintenance between 09:00 and 15:00.

3.3.x Extensions Database 3.2 / 3.3Scheduled Maintenance

<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
Previous topicNext topic
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6469
Joined: Jan 13th, '14, 20:45
    Windows 10 Chrome

Scheduled Maintenance

Post by dmzx »

Extension Name: Scheduled Maintenance
Author: dmzx

Special thanks to: martin

Extension Description:
Scheduled Maintenance message.




- Code update.
- Code cleanup.

Screenshots:
Image

Image

Image

Extension Download:
Download-link
Scheduled Maintenance v1.0.1
Installation:
  1. Download the latest release.
  2. Unzip the downloaded release, and change the name of the folder to `scheduledmaintenance`.
  3. In the `ext` directory of your phpBB board, create a new directory named `dmzx` (if it does not already exist).
  4. Copy the `scheduledmaintenance` folder to `/ext/dmzx/` if done correctly, you'll have the main extension class at
    (your forum root)/ext/dmzx/scheduledmaintenance/composer.json
  5. Navigate in the ACP to `Customise -> Manage extensions`
  6. Look for `Scheduled Maintenance` under the Disabled Extensions list, and click its `Enable` link.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Topic Author
dmzx
Founder
Founder
Status: Offline
User theme: Dark
Posts: 6469
Joined: Jan 13th, '14, 20:45
    Windows 10 Chrome

Re: Scheduled Maintenance

Post by dmzx »

First post updated.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Xxxbennyxxx
Users
Users
Status: Offline
User theme: Dark
Posts: 74
Joined: Dec 30th, '14, 21:23
    Windows 10 Chrome

Re: Scheduled Maintenance

Post by Xxxbennyxxx »

Is it possible to show this only on the index and for registered users?

Edit:

Only visible on index I already succeeded. I have created a new event index_body_markforums_before
With content:

Code: Select all

{% if SCHEDULED_MAINTENANCE and S_SCHEDULED_MAINTENANCE %}
<div class="note-box green">
	<strong>{{ lang('SCHEDULEDMAINTENANCE') ~ lang('COLON') }}</strong> {{ SCHEDULED_MAINTENANCE }}
</div>
{% endif %}

{% if S_SCHEDULED_MAINTENANCE %}
{% INCLUDECSS '@dmzx_scheduledmaintenance/scheduledmaintenance.css' %}
{% endif %}
I have removed the content of the standard events. I don't know if it's the right tactic, but it works.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5106
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Scheduled Maintenance

Post by martin »

:tumbsyes:
Image

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

ssl
Donator
Donator
Status: Offline
User theme: Dark
Posts: 137
Joined: Aug 19th, '20, 10:54
    Mac OS X Opera

Re: Scheduled Maintenance

Post by ssl »

Hi
French translation for 1.0.1 version.
phpBB: 3.3.14 | PHP: 8.3
[Some French translation of extensions]

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

lause74
Users
Users
Status: Offline
User theme: Dark
Posts: 3
Joined: Feb 6th, '20, 18:48
    Windows 10 Chrome

Re: Scheduled Maintenance

Post by lause74 »

Deutsches Sprachpaket
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

max-ima
Users
Users
Status: Offline
User theme: Dark
Posts: 139
Joined: Mar 25th, '22, 06:11
    Windows 10 Firefox

Re: Scheduled Maintenance

Post by max-ima »

Tested on 3.3.7 and works. Thanks

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

ditch
Users
Users
Status: Offline
User theme: Dark
Posts: 6
Joined: Apr 22nd, '23, 12:37
    Windows 10 Chrome

Re: Scheduled Maintenance

Post by ditch »

RU Translation
1.0.1-ru_scheduledmaintenance.rar
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

Previous topicNext topic