From 87487bfaf7c0f00033217807c7280811ac0da679 Mon Sep 17 00:00:00 2001 From: Cameron Date: Wed, 16 Nov 2016 13:12:27 -0800 Subject: [PATCH] Issue #2029 - Shortcodes inside wrappers. --- e107_handlers/shortcode_handler.php | 4 ++-- e107_plugins/forum/templates/forum_template.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/e107_handlers/shortcode_handler.php b/e107_handlers/shortcode_handler.php index e4ae9d778..659c8d67e 100644 --- a/e107_handlers/shortcode_handler.php +++ b/e107_handlers/shortcode_handler.php @@ -1416,12 +1416,12 @@ class e_parse_shortcode if(strpos($pre, '{') !== false) // shortcode found in wrapper { - $pre = $this->parseCodes($pre, true); + $pre = $this->parseCodes($pre, true, $this->addedCodes); } if(strpos($post, '{') !== false) // shortcode found in wrapper { - $post = $this->parseCodes($post, true); + $post = $this->parseCodes($post, true, $this->addedCodes); } return $pre.$ret.$post; diff --git a/e107_plugins/forum/templates/forum_template.php b/e107_plugins/forum/templates/forum_template.php index 6305dcf20..bd640724a 100644 --- a/e107_plugins/forum/templates/forum_template.php +++ b/e107_plugins/forum/templates/forum_template.php @@ -136,7 +136,7 @@ $FORUM_TEMPLATE['main']['forum'] = " $FORUM_TEMPLATE['main']['end'] = ""; - +// $FORUM_WRAPPER['main']['forum']['USERINFOX'] = "{FORUM_BREADCRUMB}(html before){---}(html after)"; // Tracking $FORUM_TEMPLATE['track']['start'] = "{FORUM_BREADCRUMB}