diff --git a/e107_plugins/forum/e_list.php b/e107_plugins/forum/e_list.php index 81e3d60e5..8888a3724 100644 --- a/e107_plugins/forum/e_list.php +++ b/e107_plugins/forum/e_list.php @@ -31,7 +31,7 @@ class list_forum $lvisit = $this->parent->getlvisit(); $qry = " SELECT t.thread_name AS parent_name, t.thread_id as parent_id, - f.forum_id, f.forum_name, f.forum_class, + f.forum_id, f.forum_name, f.forum_class, f.forum_sef, u.user_name, lp.user_name AS lp_name, t.thread_id, t.thread_views as tviews, t.thread_name, t.thread_datestamp, t.thread_user, tp.post_thread, tp.post_user, t.thread_lastpost, t.thread_lastuser, t.thread_total_replies @@ -49,7 +49,7 @@ class list_forum { // Most recently updated threads up to limit $qry = " SELECT t.thread_id, t.thread_name AS parent_name, t.thread_datestamp, t.thread_user, t.thread_views, t.thread_lastpost, - t.thread_lastuser, t.thread_total_replies, f.forum_id, f.forum_name, f.forum_class, u.user_name, lp.user_name AS lp_name + t.thread_lastuser, t.thread_total_replies, f.forum_id, f.forum_name, f.forum_class, f.forum_sef, u.user_name, lp.user_name AS lp_name FROM #forum_thread AS t LEFT JOIN #forum AS f ON f.forum_id = t.thread_forum_id LEFT JOIN #user AS u ON t.thread_user = u.user_id @@ -137,14 +137,16 @@ class list_forum $parent_name = $thread_name; } $rowheading = $this->parent->parse_heading($parent_name); - $lnk = ($parent_id ? $thread_id.".post" : $thread_id); + //$lnk = ($parent_id ? $thread_id.".post" : $thread_id); //"$user_name" $uparams = array('id' => $thread_user, 'name' => $user_name); $link = e107::getUrl()->create('user/profile/view', $uparams); $userlink = "".$user_name.""; - $record['heading'] = "".$rowheading.""; + //$record['heading'] = "".$rowheading.""; + $record['heading'] = ''.$rowheading.''; $record['author'] = ($this->parent->settings['author'] ? ($thread_anon ? $thread_user : $userlink) : ""); - $record['category'] = ($this->parent->settings['category'] ? "$forum_name" : ""); + //$record['category'] = ($this->parent->settings['category'] ? "$forum_name" : ""); + $record['category'] = ($this->parent->settings['category'] ? ''.$forum_name.'' : ""); $record['date'] = ($this->parent->settings['date'] ? $this->parent->getListDate($thread_datestamp) : ""); $record['icon'] = $bullet; $VIEWS = $thread_views;