From 3b68240174de616a2217b40b739a548c9b0b4bc0 Mon Sep 17 00:00:00 2001 From: rica-carv Date: Thu, 5 May 2016 10:36:18 +0100 Subject: [PATCH] Change proposal of forum description Changed proposal to parse embeded shortcodes on the forum description, if any present.... --- e107_plugins/forum/forum.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e107_plugins/forum/forum.php b/e107_plugins/forum/forum.php index 6013f0fc3..7249e80f5 100644 --- a/e107_plugins/forum/forum.php +++ b/e107_plugins/forum/forum.php @@ -411,7 +411,7 @@ function parse_forum($f, $restricted_string = '') //$url= $e107->url->create('forum/forum/view', $f); $url = e107::url('forum', 'forum', $f); $fVars->FORUMNAME = "{$f['forum_name']}"; - $fVars->FORUMDESCRIPTION = $f['forum_description'].($restricted_string ? "
$restricted_string" : ""); + $fVars->FORUMDESCRIPTION = e107::getParser()->toHTML($f['forum_description'].($restricted_string ? "
$restricted_string" : ""), TRUE, "TITLE"); $fVars->THREADS = $f['forum_threads']; $fVars->REPLIES = $f['forum_replies']; $fVars->FORUMSUBFORUMS = ''; @@ -775,4 +775,4 @@ function forum_track() } -?> \ No newline at end of file +?>