Disable some or all Extensions in ACP

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The next feature release of phpBB 3 will be 3.3/Proteus.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.2.x. If you need support for phpBB 3.2.x please visit the 3.2.x Support Forum on phpbb.com.

If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
Post Reply
User avatar
Meis2M
Registered User
Posts: 432
Joined: Fri Apr 23, 2010 10:18 am
Contact:

Disable some or all Extensions in ACP

Post by Meis2M » Tue Jun 10, 2014 11:50 am

Hello

what you think about Disable some or all Extensions from ACP?
now we can one by one...

some time we have many Extensions and we have to disable all of them or some of them.

User avatar
nickvergessen
Former Team Member
Posts: 733
Joined: Sun Oct 07, 2007 11:54 am
Location: Stuttgart, Germany
Contact:

Re: Disable some or all Extensions in ACP

Post by nickvergessen » Tue Jun 10, 2014 12:22 pm

It will be a nightmare to implement.
That's why I would just say 1by1 is fine
Member of the Development-TeamNo Support via PM

User avatar
PayBas
Registered User
Posts: 305
Joined: Tue Jul 29, 2008 6:08 pm
Contact:

Re: Disable some or all Extensions in ACP

Post by PayBas » Tue Jun 10, 2014 12:23 pm

Besides, extensions can have pretty serious functionality. I think it would be good to stop-and-think before disabling/enabling each one.

User avatar
Meis2M
Registered User
Posts: 432
Joined: Fri Apr 23, 2010 10:18 am
Contact:

Re: Disable some or all Extensions in ACP

Post by Meis2M » Tue Jun 10, 2014 1:08 pm

this will be useful for:
1- when we decide to update phpBB core.
2- and use for test forum and dev forums.

if it is hard to do that, is it possible add a code to config.php to disable all of them like vbulletin code in config file?:
this code ( use in vb) :

Code: Select all

define('DISABLE_HOOKS', true);

Nicofuma
3.2 Release Manager
3.2 Release Manager
Posts: 299
Joined: Sun Apr 13, 2014 1:40 am
Location: Paris

Re: Disable some or all Extensions in ACP

Post by Nicofuma » Tue Jun 10, 2014 1:22 pm

this kind of option should be possible
@nickvergessen thought?

EDIT: after thought, it is possible but the uses are very limited... so i'm not sure that it should be done (and also it will complicate the code of common.php again...).
Member of the phpBB Development-Team
No Support via PM

User avatar
VSE
Extension Customisations
Extension Customisations
Posts: 670
Joined: Mon Mar 08, 2010 9:18 am

Re: Disable some or all Extensions in ACP

Post by VSE » Wed Jun 11, 2014 1:55 am

Extensions should be handled one at a time... You should put some thought into what you are doing and not have a nuke-it button!
Meis2M wrote:this will be useful for:
1- when we decide to update phpBB core.
Not really, Extensions do not touch the core. If things go haywire after an update, you're going to have to go through them one by one anyways, in order to find out which ones may not be compatible with the update and causing problems anyways.
Has an irascible disposition.

User avatar
nickvergessen
Former Team Member
Posts: 733
Joined: Sun Oct 07, 2007 11:54 am
Location: Stuttgart, Germany
Contact:

Re: Disable some or all Extensions in ACP

Post by nickvergessen » Thu Jun 12, 2014 12:51 pm

If we add a disable option, we can do that in 3.2 with the enviroments.
Member of the Development-TeamNo Support via PM

User avatar
Meis2M
Registered User
Posts: 432
Joined: Fri Apr 23, 2010 10:18 am
Contact:

Re: Disable some or all Extensions in ACP

Post by Meis2M » Fri Jun 29, 2018 6:00 am

up this topic to suggest add in the core.

User avatar
david63
Registered User
Posts: 278
Joined: Mon Feb 07, 2005 7:23 am
Location: Lancashire, UK

Re: Disable some or all Extensions in ACP

Post by david63 » Fri Jun 29, 2018 10:30 am

David
Remember: You only know what you know -
and you do not know what you do not know!

Post Reply