[CDB] Disable All Extensions

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Anti-Spam Guide
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
david63
Registered User
Posts: 16321
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

[CDB] Disable All Extensions

Post by david63 » Wed Feb 15, 2017 10:18 am

Extension Name: Disable all extensions
Author: david63

Description: Adds an option to disable all extensions (except this one).

Extension Version: [RC] 2.1.0-rc3

Requirements: phpBB 3.2.0

Notes:
  • This extension will only disable all of your extensions - it will not delete the data and it will not remove the files.
Installation:
  • Download the latest release and unzip it.
  • Upload the unzipped files to root/ext/david63/disableext and enable it in the ACP
GitHub Repository: https://github.com/david63/david63-disableext
Extension Download: https://github.com/david63/david63-disa ... ve/3.2.zip
Last edited by david63 on Sun Jun 11, 2017 8:07 pm, edited 3 times in total.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
david63
Registered User
Posts: 16321
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [3.2][RC] Disable All Extensions

Post by david63 » Wed Feb 15, 2017 10:19 am

Reserved
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
javiexin
Code Contributor
Posts: 1157
Joined: Wed Oct 12, 2011 11:46 pm
Location: Madrid, Spain
Name: Javier
Contact:

Re: [3.2][RC] Disable All Extensions

Post by javiexin » Wed Feb 15, 2017 10:40 am

Hi David,

What is the intended use case for this?

I see not many cases where you would want to do that...

Thanks,
-javiexin

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [3.2][RC] Disable All Extensions

Post by RMcGirr83 » Wed Feb 15, 2017 11:08 am

There are, in fact, quite a few support questions on how to do just that. David probably made it for those that install 3.2 and have an extension that doesn't work in 3.2.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
david63
Registered User
Posts: 16321
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [3.2][RC] Disable All Extensions

Post by david63 » Wed Feb 15, 2017 11:12 am

javiexin wrote:
Wed Feb 15, 2017 10:40 am
What is the intended use case for this?
My initial use for this was to disable all of my extensions when upgrading my live board from 3.1 to 3.2 - but another use is when you have a problem with an extension and you do not know which one. I find that where you have a number of extensions disabling them one at a time is a somewhat laborious process.

It is also useful in a development environment
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
canonknipser
Registered User
Posts: 2018
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: [3.2][RC] Disable All Extensions

Post by canonknipser » Wed Feb 15, 2017 11:25 am

So, this ext is just updating the "active"-field in the ext-table with "0" for all extensions?
Like UPDATE phphbb_ext SET ext_active = 0?

How do you install or call this ext if your acp (or complete board) is currently broken by a incompatible ext or a ext in error?
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB

User avatar
null2
Registered User
Posts: 472
Joined: Wed Jan 20, 2010 11:03 am

Re: [3.2][RC] Disable All Extensions

Post by null2 » Wed Feb 15, 2017 11:28 am

david63 wrote:
Wed Feb 15, 2017 11:12 am
javiexin wrote:
Wed Feb 15, 2017 10:40 am
What is the intended use case for this?
My initial use for this was to disable all of my extensions when upgrading my live board from 3.1 to 3.2 - but another use is when you have a problem with an extension and you do not know which one. I find that where you have a number of extensions disabling them one at a time is a somewhat laborious process.

It is also useful in a development environment
Perfect!

Im going to use it right now to find a problem in extensions.

Thank you!
Sorry for my bad english. I'm from USA.

User avatar
uruguayito
Registered User
Posts: 266
Joined: Mon Dec 13, 2010 2:46 pm
Location: Montevideo - Uruguay

Re: [3.2][RC] Disable All Extensions

Post by uruguayito » Wed Feb 15, 2017 11:45 am

david63 wrote:
Wed Feb 15, 2017 11:12 am
My initial use for this was to disable all of my extensions when upgrading my live board from 3.1 to 3.2
Hi David... Have you got this ext but for 3.1 or can I use this one? :roll:
I speak spanish
Sorry for my bad english

User avatar
null2
Registered User
Posts: 472
Joined: Wed Jan 20, 2010 11:03 am

Re: [3.2][RC] Disable All Extensions

Post by null2 » Wed Feb 15, 2017 11:57 am

After I use it, my board went to inaccessible. I had to delete all data in foodomain/forum/cache. It works fine and its very good to find problems in extensions.
Last edited by null2 on Thu Feb 16, 2017 9:17 pm, edited 1 time in total.
Sorry for my bad english. I'm from USA.

User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 3998
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: [3.2][RC] Disable All Extensions

Post by HiFiKabin » Wed Feb 15, 2017 12:33 pm

canonknipser wrote:
Wed Feb 15, 2017 11:25 am
So, this ext is just updating the "active"-field in the ext-table with "0" for all extensions?
Like UPDATE phphbb_ext SET ext_active = 0?

How do you install or call this ext if your acp (or complete board) is currently broken by a incompatible ext or a ext in error?
That was my thought as well. Maybe making it as a php file to upload to the root and run it from there might be better?

Either way, a very useful tool

User avatar
Scanialady
Registered User
Posts: 272
Joined: Thu Jan 17, 2013 7:09 pm
Location: Germany
Name: Annette
Contact:

Re: [3.2][RC] Disable All Extensions

Post by Scanialady » Thu Feb 16, 2017 2:26 pm

Thank you for this extension -very helpful before upgrading a board.
Webseite, Blog, Wiki Deutsche Übersetzungen - german language files
My 2 cents: Whether an extension is in the CDB says nothing about its quality. It is more important to read the support topics for it. Better to avoid authors who do not answer support questions themselves, who do not update their stuff, and who do not fix bugs for years.

User avatar
Neuropass
Registered User
Posts: 1158
Joined: Fri Apr 17, 2009 2:02 pm
Location: SciTE4AutoIt3

Re: [3.2][RC] Disable All Extensions

Post by Neuropass » Thu Feb 16, 2017 3:36 pm

HiFiKabin wrote:
Wed Feb 15, 2017 12:33 pm
canonknipser wrote:
Wed Feb 15, 2017 11:25 am
So, this ext is just updating the "active"-field in the ext-table with "0" for all extensions?
Like UPDATE phphbb_ext SET ext_active = 0?

How do you install or call this ext if your acp (or complete board) is currently broken by a incompatible ext or a ext in error?
That was my thought as well. Maybe making it as a php file to upload to the root and run it from there might be better?

Either way, a very useful tool

A very useful tool that looks like was copied from "SiteSplat" This option was developed by "sitesplat" already over 2 years ago and it's been in use for his premium themes. Obviously his products dont break your board... I just don't get why there is people here keep coping ideas and then they even have the courage to add their own copyright. This is is so hilarious. People do whatever they want in this section and claim others people code and ideas as theirs. Then you see tons of comments. Oh this is useful oh this is great. Yeah sure. Too bad was ripped off.

User avatar
david63
Registered User
Posts: 16321
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [3.2][RC] Disable All Extensions

Post by david63 » Thu Feb 16, 2017 3:42 pm

@Neuropass

I have no idea who or what "sitesplat" is and every line of the code in this extension is my own - it is not copied from anyone or anywhere else. If you believe otherwise then please post the proof and/or report this topic to one of the Extensions Team.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17031
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: [3.2][RC] Disable All Extensions

Post by DavidIQ » Thu Feb 16, 2017 6:36 pm

Neuropass wrote:
Thu Feb 16, 2017 3:36 pm
A very useful tool that looks like was copied from "SiteSplat" This option was developed by "sitesplat" already over 2 years ago and it's been in use for his premium themes. Obviously his products dont break your board... I just don't get why there is people here keep coping ideas and then they even have the courage to add their own copyright. This is is so hilarious. People do whatever they want in this section and claim others people code and ideas as theirs. Then you see tons of comments. Oh this is useful oh this is great. Yeah sure. Too bad was ripped off.
Last time we are going to tell you: there is no such thing as ownership on an idea. Using ideas to make a better product happens all over the world and is why we have different companies making the same types of products, sometimes better than the original. The same goes for software. I seriously doubt david63 took someone else's code and simply posted it here. That his extension does the same thing as someone else's extension means absolutely nothing.


P.S. be aware that publicly making such accusations, especially when they're without basis or proof, are not welcome on our site. If you want to report any such activity via PM and express your concerns you're welcome to do so. Here in public? It will earn you a ban for repeat offenses.
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.

User avatar
null2
Registered User
Posts: 472
Joined: Wed Jan 20, 2010 11:03 am

Re: [3.2][RC] Disable All Extensions

Post by null2 » Thu Feb 16, 2017 9:21 pm

Is that correct in acp_disableext.php?

'DISABLE_EXTENSTIONS'
'DISABLE_EXTENSTIONS_EXPLAIN'
Last edited by null2 on Sun Feb 19, 2017 2:26 pm, edited 1 time in total.
Sorry for my bad english. I'm from USA.

Locked

Return to “Extensions in Development”