By T.W. van Urk on Tuesday, 14 June 2016
Posted in General Issues
Likes 0
Views 680
Votes 0
Hi there,

At my Homepage I have set a 'Most Commented Post Module' with the (Dutch) name "Meeste reacties".
However, the number of hits is shown of each article, but the intended Comment Count is not !? The option "show Comment Counter" is enabled (see screenshots).
How can I show the Comment Counter?

Kind regards, T.W. van Urk
Hello there,

I have made some modification on codes to enable the commend count below at line 160 at this path ..\modules\mod_easyblogmostcommentedpost\tmpl\default_item.php.

<?php if ($params->get('showcommentcount', 1)) { ?>
<div class="mod-cell pr-10">
<a href="<?php echo $post->getPermalink();?>">
<?php echo EB::string()->getNoun('MOD_EASYBLOGMOSTCOMMENTEDPOST_COMMENTS', $post->commentCount, true);?>
</a>
</div>
<?php } ?>


I already enable it for you. See this screenshot. http://screencast.com/t/7ZZp025IG. Give it a try

Hope this helps
·
Tuesday, 14 June 2016 12:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Abdul,

Thank you for your help. The solution works perfect!

One another small question. After the next update: do I have to repeat the fix you made?

Kind regards, T.W. van Urk
·
Tuesday, 14 June 2016 13:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

There is no need to re-apply the fix since I have pushed this fix in our repo. It will be included in the next release. By the way, this is a proper fix: Please replace the attached file in:../modules/mod_easyblogmostcommentedpost/mod_easyblogmostcommentedpost.xml and resave the module setting in backend.
·
Tuesday, 14 June 2016 16:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you all for your support.

One last minor remark. When disabling the hits the line has an indentation of one space !

Kind regards, T.W. van Urk
·
Wednesday, 15 June 2016 03:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Can you try to download the attached file and upload it into /modules/mod_easyblogmostcommentedpost/tmpl/ and see if the problems still persists?
·
Wednesday, 15 June 2016 22:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

Thanks for your support. Even the most minor problems are solved perfectly. See bitmap!

Thank you !

Kind regards, T.W> van Urk
·
Wednesday, 15 June 2016 23:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Thursday, 16 June 2016 02:47
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post