diff --git a/e107_plugins/forum/forum_class.php b/e107_plugins/forum/forum_class.php index 0c0b9c9ca..3b4d10250 100644 --- a/e107_plugins/forum/forum_class.php +++ b/e107_plugins/forum/forum_class.php @@ -507,7 +507,7 @@ class e107forum { if($tmp = e107::getCache()->setMD5(e_LANGUAGE.USERCLASS_LIST)->retrieve('forum_perms')) { - e107::getMessage()->addDebug("Using Permlist cache: True"); + e107::getDebug()->log("Using Permlist cache: True"); $this->permList = e107::unserialize($tmp); @@ -516,7 +516,7 @@ class e107forum } else { - e107::getMessage()->addDebug("Using Permlist cache: False"); + e107::getDebug()->log("Using Permlist cache: False"); $this->_getForumPermList(); $tmp = e107::serialize($this->permList, false); e107::getCache()->setMD5(e_LANGUAGE.USERCLASS_LIST)->set('forum_perms', $tmp); diff --git a/e107_plugins/forum/forum_post.php b/e107_plugins/forum/forum_post.php index 0e1b430cf..9bf439325 100644 --- a/e107_plugins/forum/forum_post.php +++ b/e107_plugins/forum/forum_post.php @@ -666,6 +666,14 @@ class forum_post_handler } + private function renderBreadcrumb() + { + $sc = e107::getScBatch('post', 'forum')->setScVar('forum', $this->forumObj)->setScVar('threadInfo', vartrue($this->data))->setVars($this->data); + return e107::getParser()->parseTemplate("