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

3.2 & 3.3 Extensions Database 3.2 / 3.3Editor extension

<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

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

Re: Editor extension

Post by max-ima »

Editor extension_1.0.2-Slovenian.zip
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

Sniper_E
VIP
VIP
Status: Offline
User theme: Dark
Posts: 1157
Joined: Oct 14th, '14, 17:01
    Windows 10 Firefox

Re: Editor extension

Post by Sniper_E »

Onnozel Manneke wrote: Oct 4th, '21, 13:12 Okay I need some help on how to replace php code with this ext.

So lets say in /includes/acp/acp_email.php I need to add $messenger->set_mail_html(true); below this code $messenger = new messenger($use_queue);


How can I do that?
Would this be close?

Code: Select all

		$replacements = array(
			'files' => array(
				0 => '/includes/acp/acp_email.' . $this->php_ext,
			),
			'searches' => array(
				0 => array(
					0 => '				$messenger = new messenger($use_queue);',
				)
			),
			'replaces' => array(
				0 => array(
					0 => '				$messenger = new messenger($use_queue);
				$messenger->set_mail_html(true);',
				)
			)
		);
Oh shit that question was years ago :lol: my bad. But does this code look right?
Last edited by Sniper_E on Jan 12th, '24, 09:34, edited 2 times in total.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

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

Sniper_E
VIP
VIP
Status: Offline
User theme: Dark
Posts: 1157
Joined: Oct 14th, '14, 17:01
    Windows 10 Firefox

Re: Editor extension

Post by Sniper_E »

Quick question...

Does Editor extension work on editing style/prosilver/template/files and include/files like in the above post or can it only edit extension files?

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

exemplary
Users
Users
Status: Offline
User theme: Dark
Posts: 4
Joined: Mar 3rd, '24, 10:09
    Windows 8.1 Firefox

Re: Editor extension

Post by exemplary »

Hello,
I installed this on 3.3.13 and now I can't uninstall. It gives a blank page while clicking disable > Disable button.
Any solution ?
Thank you.

[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: 5107
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Editor extension

Post by martin »

Dont use the ext uploader to disable the ext use phpbb's built in ext manager.
Image

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

exemplary
Users
Users
Status: Offline
User theme: Dark
Posts: 4
Joined: Mar 3rd, '24, 10:09
    Windows 8.1 Firefox

Re: Editor extension

Post by exemplary »

martin wrote: Sep 13th, '24, 23:54 Dont use the ext uploader to disable the ext use phpbb's built in ext manager.
Hello,
Thank you for the the reply.
I am using phpbb's ext manager. I tried on localhost, and it gets uninstalled immediately, but on my live website, it takes time and then gives a blank page. If I change folder name (editor under dmzx) on my host, the ACP goes blank. Could it be conflicting with other extensions ? I am using all official extension of phpbb. This is a fresh installation, set up few days ago and havn't made many changes.

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

ivailo95
Users
Users
Status: Offline
User theme: Dark
Posts: 918
Joined: Feb 2nd, '18, 11:04
    Windows 10 Opera

Re: Editor extension

Post by ivailo95 »

When i tried to make topic normal or sticky i see lot of errors but one of them is

Code: Select all

Deprecated:  Optional parameter $replacements declared before required parameter $revert is implicitly treated as a required parameter in /var/www/html/ext/dmzx/editor/editor.php on line 44
изображение_2025-05-12_022312713.png
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
Last edited by ivailo95 on May 11th, '25, 23:28, edited 1 time in total.
Feed like a disease
And bring them to their knees
They'll pay for their deceit

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

ivailo95
Users
Users
Status: Offline
User theme: Dark
Posts: 918
Joined: Feb 2nd, '18, 11:04
    Windows 10 Opera

Re: Editor extension

Post by ivailo95 »

Little help??