Scheduled Maintenance: 10-11-2025 Electricity company maintenance between 09:00 and 15:00.
<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
dmzx
Founder
Status:
Offline
User theme: Dark
Posts: 6469 Joined: Jan 13th, '14, 20:45
Post
by dmzx » May 16th, '20, 05:08
Extension Name: Scheduled Maintenance
Author: dmzx
Special thanks to: martin
Extension Description:
Scheduled Maintenance message.
- Code update.
- Code cleanup.
Screenshots:
Extension Download:
Installation:
Download the latest release.
Unzip the downloaded release, and change the name of the folder to `scheduledmaintenance `.
In the `ext ` directory of your phpBB board, create a new directory named `dmzx ` (if it does not already exist).
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
Navigate in the ACP to `Customise -> Manage extensions`
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
dmzx
Founder
Status:
Offline
User theme: Dark
Posts: 6469 Joined: Jan 13th, '14, 20:45
Post
by dmzx » Aug 11th, '21, 08:18
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
Status:
Offline
User theme: Dark
Posts: 74 Joined: Dec 30th, '14, 21:23
Post
by Xxxbennyxxx » Nov 9th, '21, 19:17
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
Status:
Offline
User theme: Dark
Posts: 5107 Joined: Apr 6th, '14, 14:12
Post
by martin » Nov 9th, '21, 23:22
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
ssl
Donator
Status:
Offline
User theme: Dark
Posts: 137 Joined: Aug 19th, '20, 10:54
Post
by ssl » Nov 11th, '21, 22:04
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
Status:
Offline
User theme: Dark
Posts: 3 Joined: Feb 6th, '20, 18:48
Post
by lause74 » May 12th, '22, 11:08
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
Status:
Offline
User theme: Dark
Posts: 139 Joined: Mar 25th, '22, 06:11
Post
by max-ima » May 13th, '22, 05:00
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
Status:
Offline
User theme: Dark
Posts: 6 Joined: Apr 22nd, '23, 12:37
Post
by ditch » May 16th, '23, 16:40
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.