From 95d4e6aa97606f427f56644c03e1253aa3235382 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 27 Dec 2013 15:25:03 +0100 Subject: [PATCH 1/3] [ticket/11996] Add explanation how to correctly remove and update an extension See http://area51.phpbb.com/phpBB/viewtopic.php?f=81&t=44001 for more information about the decision. PHPBB3-11996 --- phpBB/adm/style/acp_ext_list.html | 2 ++ phpBB/language/en/acp/extensions.php | 21 ++++++++++++++++++--- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/phpBB/adm/style/acp_ext_list.html b/phpBB/adm/style/acp_ext_list.html index 8408ebe748..dad1838ed3 100644 --- a/phpBB/adm/style/acp_ext_list.html +++ b/phpBB/adm/style/acp_ext_list.html @@ -6,6 +6,8 @@

{L_EXTENSIONS_EXPLAIN}

+

{L_EXTENSION_ACTIONS_EXPLAIN}

+ diff --git a/phpBB/language/en/acp/extensions.php b/phpBB/language/en/acp/extensions.php index 67b34ff0c7..cbdc97b547 100644 --- a/phpBB/language/en/acp/extensions.php +++ b/phpBB/language/en/acp/extensions.php @@ -64,9 +64,24 @@ $lang = array_merge($lang, array( 'EXTENSION_DISABLE_SUCCESS' => 'The extension was disabled successfully', 'EXTENSION_ENABLE_SUCCESS' => 'The extension was enabled successfully', - 'EXTENSION_NAME' => 'Extension Name', - 'EXTENSION_ACTIONS' => 'Actions', - 'EXTENSION_OPTIONS' => 'Options', + 'EXTENSION_NAME' => 'Extension Name', + 'EXTENSION_ACTIONS' => 'Actions', + 'EXTENSION_ACTIONS_EXPLAIN' => 'In order to completly remove an extension from your board, you need to perform the following 3 steps:

+
    +
  1. Disable the extension
  2. +
  3. Delete the extension’s data
  4. +
  5. Delete the extension’s files from the filesystem
  6. +

+

In order to update an extension from your board, you need to perform the following 6 steps:

+
    +
  1. Disable the extension
  2. +
  3. Delete the extension’s files from the filesystem
  4. +
  5. Upload the new files
  6. +
  7. Disable the board (optional but recommended)
  8. +
  9. Enable the extension
  10. +
  11. Enable the board
  12. +

', + 'EXTENSION_OPTIONS' => 'Options', 'EXTENSION_DELETE_DATA_CONFIRM' => 'Are you sure that you wish to delete the data associated with “%s”?

This removes all of its data and settings and cannot be undone!', 'EXTENSION_DISABLE_CONFIRM' => 'Are you sure that you wish to disable the “%s” extension?', From b155056cb9f72295eaae877a2335094e4cf747d8 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 13 Jan 2014 10:31:54 +0100 Subject: [PATCH 2/3] [ticket/11996] Use a table for better styling PHPBB3-11996 --- phpBB/adm/style/acp_ext_list.html | 19 +++++++++++++++++-- phpBB/language/en/acp/extensions.php | 24 +++++++++++------------- 2 files changed, 28 insertions(+), 15 deletions(-) diff --git a/phpBB/adm/style/acp_ext_list.html b/phpBB/adm/style/acp_ext_list.html index dad1838ed3..09cf6a31f5 100644 --- a/phpBB/adm/style/acp_ext_list.html +++ b/phpBB/adm/style/acp_ext_list.html @@ -6,8 +6,6 @@

{L_EXTENSIONS_EXPLAIN}

-

{L_EXTENSION_ACTIONS_EXPLAIN}

-
@@ -57,5 +55,22 @@
+
+ + + + + + + + + + + + + + + +
{L_EXTENSION_UPDATE_HEADLINE}
{L_EXTENSION_UPDATE_EXPLAIN}
{L_EXTENSION_REMOVE_HEADLINE}
{L_EXTENSION_REMOVE_EXPLAIN}
diff --git a/phpBB/language/en/acp/extensions.php b/phpBB/language/en/acp/extensions.php index cbdc97b547..c024c92e61 100644 --- a/phpBB/language/en/acp/extensions.php +++ b/phpBB/language/en/acp/extensions.php @@ -66,22 +66,20 @@ $lang = array_merge($lang, array( 'EXTENSION_NAME' => 'Extension Name', 'EXTENSION_ACTIONS' => 'Actions', - 'EXTENSION_ACTIONS_EXPLAIN' => 'In order to completly remove an extension from your board, you need to perform the following 3 steps:

-
    -
  1. Disable the extension
  2. -
  3. Delete the extension’s data
  4. -
  5. Delete the extension’s files from the filesystem
  6. -

-

In order to update an extension from your board, you need to perform the following 6 steps:

-
    + 'EXTENSION_OPTIONS' => 'Options', + 'EXTENSION_UPDATE_HEADLINE' => 'Updating an extension', + 'EXTENSION_UPDATE_EXPLAIN' => '
    1. Disable the extension
    2. Delete the extension’s files from the filesystem
    3. Upload the new files
    4. -
    5. Disable the board (optional but recommended)
    6. -
    7. Enable the extension
    8. -
    9. Enable the board
    10. -

    ', - 'EXTENSION_OPTIONS' => 'Options', +

  1. Enable the extension, note that the board will be automatically disabled for this step
  2. +
', + 'EXTENSION_REMOVE_HEADLINE' => 'Completly removing an extension from your board', + 'EXTENSION_REMOVE_EXPLAIN' => '
    +
  1. Disable the extension
  2. +
  3. Delete the extension’s data
  4. +
  5. Delete the extension’s files from the filesystem
  6. +
', 'EXTENSION_DELETE_DATA_CONFIRM' => 'Are you sure that you wish to delete the data associated with “%s”?

This removes all of its data and settings and cannot be undone!', 'EXTENSION_DISABLE_CONFIRM' => 'Are you sure that you wish to disable the “%s” extension?', From c7f6cccdf13d6e461f212aa1fe3134a2613a4de2 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 3 Feb 2014 20:48:01 +0100 Subject: [PATCH 3/3] [ticket/11996] Remove note until we really do disable the board PHPBB3-11996 --- phpBB/language/en/acp/extensions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/language/en/acp/extensions.php b/phpBB/language/en/acp/extensions.php index c024c92e61..409b800ba6 100644 --- a/phpBB/language/en/acp/extensions.php +++ b/phpBB/language/en/acp/extensions.php @@ -72,7 +72,7 @@ $lang = array_merge($lang, array(
  • Disable the extension
  • Delete the extension’s files from the filesystem
  • Upload the new files
  • -
  • Enable the extension, note that the board will be automatically disabled for this step
  • +
  • Enable the extension
  • ', 'EXTENSION_REMOVE_HEADLINE' => 'Completly removing an extension from your board', 'EXTENSION_REMOVE_EXPLAIN' => '