How to show the easydiscuss group discussions on to easydiscuss forum page?
Please tell me how I could apply this.
Please tell me how I could apply this.
Unfortunately that was not possible to show Easysocial group discussion on forums page.
Unless you modify on this file -> JoomlaFolder/components/com_easydiscuss/views/forums/view.html.php .
'sort' => $sort,
'category' => $cats,
'filter' => $filter,
'limit' => $limit,
'featured' => false
BY
'sort' => $sort,
'category' => $cats,
'filter' => $filter,
'limit' => $limit,
'includeCluster' => true,
'featured' => false
'sort' => $sort,
'category' => $categoryIds,
'filter' => $filterType,
'limit' => $limit,
'featured' => false
BY
'sort' => $sort,
'category' => $categoryIds,
'filter' => $filterType,
'limit' => $limit,
'includeCluster' => true,
'featured' => false
'userId' => $this->my->id,
'includeChilds' => $includeChilds
BY
'userId' => $this->my->id,
'includeCluster' => true,
'includeChilds' => $includeChilds
// Do not include cluster item here.
$query .= ' AND t.`cluster_id` = ' . $db->Quote(0);
By
// Do not include cluster item here.
// $query .= ' AND t.`cluster_id` = ' . $db->Quote(0);
// Do not include cluster item here.
$query .= ' AND c.`cluster_id` = ' . $db->Quote(0);
By
// Do not include cluster item here.
// $query .= ' AND c.`cluster_id` = ' . $db->Quote(0);
// Determine if user are allowed to view the discussion item that belong to another cluster.
if ($post->isCluster()) {
$easysocial = ED::easysocial();
if (!$easysocial->isGroupAppExists()) {
ED::getErrorRedirection(JText::_('COM_EASYDISCUSS_SYSTEM_INSUFFICIENT_PERMISSIONS'));
}
$cluster = $easysocial->getCluster($post->cluster_id, $post->getClusterType());
if (!$cluster->canViewItem()) {
ED::getErrorRedirection(JText::_('COM_EASYDISCUSS_SYSTEM_INSUFFICIENT_PERMISSIONS'));
}
}