Custom code in bin/phpbbcli.php

Discussion forum for Extension Writers regarding Extension Development.
Post Reply
User avatar
</Solidjeuh>
Registered User
Posts: 1788
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Custom code in bin/phpbbcli.php

Post by </Solidjeuh> »

I have this ext to add custom css, html and language in my forum. https://github.com/Solidjeuh/BoardMagic
Now I have some extra code in bin/phpbbcli.php to work with the JV Arcade ext.
Is there anyway that I can add that code in my ext instead of editing the core file?
I thought maybe in the event listener, but can't get it to work ..
https://github.com/Solidjeuh/BoardMagic ... agic/event


Find

Code: Select all

$phpbb_container->get('request')->enable_super_globals();
Add after

Code: Select all

if (!defined('ARCADE_VERSION'))
{
	$phpbb_container->get('jv.arcade.constants');
}
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 28619
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: Custom code in bin/phpbbcli.php

Post by Paul »

To receive extension support please visit our Extensions Database and post in the specific extension's designated support area. The link to the support area for each released extension is also available in the first post of each released extension listed in the [3.2.x] Extension Database Releases forum. For extensions still in development (not recommended for a live board) support is in that extensions's topic in the Extensions in Development forum.
User avatar
</Solidjeuh>
Registered User
Posts: 1788
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: Custom code in bin/phpbbcli.php

Post by </Solidjeuh> »

I'm in forum: "Extension Writers Discussion".
This is a question about how to add that code into my extension.
I'm not asking support from another ext ..
Post Reply

Return to “Extension Writers Discussion”