Hi KerryKwong,
I'm sorry, I'm don't quite get where you referring this to, do you mean you want to replace this comment section in entry page
https://www.screencast.com/t/xdP7sxiJ to list a user, so there is no comment section in the entry page anymore?
I believe you still using the older version of EasyBlog3.9x?
For this older version of EasyBlog the code can be find in the file:
JoomlaFolder/components/com_easyblog/views/entry/view.html.php
and remove the code for comment
if ( $config->get('main_comment') && $blog->allowcomment )
{
// getting blog comments
$commentModel = $this->getModel( 'Comment' );
$blogComments = EasyBlogHelper::getHelper( 'Comment' )->getBlogComment( $blogId );
$commtPagination = EasyBlogHelper::getHelper( 'Comment' )->pagination;
$comments = array();
if(! empty( $blogComments ) )
{
foreach ($blogComments as $comment)
{
$row = $comment;
$row->comment = EasyBlogCommentHelper::parseBBCode($row->comment);
if($config->get('comment_likes'))
{
$row->likesAuthor = EasyBlogHelper::getLikesAuthors($row->id, 'comment', $my->id);
$row->isLike = $commentModel->isLikeComment($row->id, $my->id);
}
else
{
$row->likesAuthor = '';
$row->isLike = 0;
}
$comments[] = $row;
}
}
// compliant with the #comments at blog.item.comment.php
$commentHtml = ( $config->get('comment_jcomments' ) ) ? '' : '<a id="comments"></a>';
$commentHtml .= EasyBlogCommentHelper::getCommentHTML( $blog , $comments , $commtPagination );
}
$blog->totalComments = EasyBlogHelper::getHelper( 'Comment' )->getCommentCount( $blog );
with your code
OR you no need to remove the code as there is setting to disable the commenting (Settings>Comments>General>Disable comment system)
and just add the code below it