From f9a8388e64496d6745f7f96b6495a6b8c236653a Mon Sep 17 00:00:00 2001 From: Alexei Kochetov Date: Wed, 6 Nov 2013 10:40:38 +0300 Subject: [PATCH] Update README.md --- README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1404cf5..f07588b 100644 --- a/README.md +++ b/README.md @@ -4,13 +4,18 @@ This adds [map] and [mapid] to FUDForum 3.0.2 and newer. See the [FUDforum's wik ## Installation -Unzip `dist/mapbbcode_fud.zip` into `FUDforumData/plugins`. If you have FUDforum 3.0.2 (not newer), you would need to modify a script: +1. Unzip `dist/mapbbcode_fud.zip` into `{$DATA_DIR}/plugins`. -1. Open `FUDforumData/includes/compiler.inc` -2. Find the second line with `FINALIZE` (in uppercase) in it. -3. Replace `array($file_data));` with `array($file_data, $dst));` +1.1 (Only version <= 3.0.2) If you have FUDforum 3.0.2 and older, you need to modify the `{$DATA_DIR}/include/compiler.inc` script: + Find and replace line + `list($file_data) = plugin_call_hook('COMPILER_FINALIZE_PAGE', array($file_data));` + with + `list($file_data) = plugin_call_hook('COMPILER_FINALIZE_PAGE', array($file_data,$dst));` -Then open the Plugin Manager, find "MapBBCode" and enable it. After then open the configuration panel and change some settings. When done, you would need to rebuild forum's themes ("Theme Manager", "Rebuild all Themes"). + + +2. Open the Plugin Manager in the admin panel, find "MapBBCode" and enable it. Then open the plugin configuration page and arrange settings. +3. Finally rebuild forum's themes ("Admin panel" -> "Theme Manager" -> "Rebuild all Themes"). ## Author and License