Disable some or all Extensions in ACP

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The current feature release of phpBB 3 is 3.3/Proteus.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.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: 448
Joined: Fri Apr 23, 2010 10:18 am
Contact:

Disable some or all Extensions in ACP

Post by Meis2M »

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 »

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 »

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: 448
Joined: Fri Apr 23, 2010 10:18 am
Contact:

Re: Disable some or all Extensions in ACP

Post by Meis2M »

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 »

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
MattF
Extension Customisations
Extension Customisations
Posts: 675
Joined: Mon Mar 08, 2010 9:18 am

Re: Disable some or all Extensions in ACP

Post by MattF »

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 »

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: 448
Joined: Fri Apr 23, 2010 10:18 am
Contact:

Re: Disable some or all Extensions in ACP

Post by Meis2M »

up this topic to suggest add in the core.

User avatar
david63
Registered User
Posts: 355
Joined: Mon Feb 07, 2005 7:23 am

Re: Disable some or all Extensions in ACP

Post by david63 »

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

Post Reply