By kerrykwong on Friday, 13 January 2017
Posted in General
Likes 0
Views 152
Votes 0
I know I cannot ask you do this function

but if I want to replace the comment area by a list of user

which file or what can I do can achive it?
Hi Kerry,

Correct me if I'm wrong here, do you mean you want to disable the location in entry page and replace it with a list of easyblog user?
Actually the location can be disable on the backend setting (Settings>Workflow>Locations)
refer this: https://www.screencast.com/t/BkGNKzbbC
and you can add the code of easyblog user in the file:
JoomlaFolder/components/com_easyblog/themes/default/blog.read.php
after the statement below:

<?php if( $system->config->get( 'main_locations_blog_entry' ) ){ ?>
·
Thursday, 19 January 2017 15:40
·
0 Likes
·
0 Votes
·
0 Comments
·
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
·
Friday, 13 January 2017 12:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for you reply !!

I would like to know whether your company still accept custom the easyblog paid service !

Just like the question above ! if I would like to ask your company to help to edit the easyblog whcih can list the user under the blog

Do you accept as paid custom modification job ?

Thanks
Kerry
·
Friday, 13 January 2017 17:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Kerry,

If you require us to perform the customization for you, you can always request for a quote from us at https://crm.stackideas.com and select "Customizations" .
Our sales person would be glad to send you a quote for the customization that you have requested.
·
Friday, 13 January 2017 18:22
·
0 Likes
·
0 Votes
·
0 Comments
·
I would like to ask little more see can you answer me ?
if I dont care the location, Can I list the easyblog user manually under the blog ?
and hint I can do this?
·
Thursday, 19 January 2017 02:34
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post