Custom code in bin/phpbbcli.php

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

Custom code in bin/phpbbcli.php

Post by </Solidjeuh> » Fri Nov 16, 2018 4:08 pm

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');
}
We offer fun HTML5 games for young and old.
Register a free account & enjoy all functions!
Save your score, challenge other members or play along with our tournaments.


~~~ https://www.solidjeuh.be ~~~

User avatar
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 24789
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 » Fri Nov 16, 2018 5:03 pm

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.
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

User avatar
</Solidjeuh>
Registered User
Posts: 1154
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> » Fri Nov 16, 2018 7:04 pm

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 ..
We offer fun HTML5 games for young and old.
Register a free account & enjoy all functions!
Save your score, challenge other members or play along with our tournaments.


~~~ https://www.solidjeuh.be ~~~

Post Reply

Return to “Extension Writers Discussion”

Who is online

Users browsing this forum: </Solidjeuh>, RedactUK and 14 guests