By John Candido on Tuesday, 02 June 2015
Posted in Technical Issues
Likes 0
Views 1.9K
Votes 0
I have a K2 blog called NewsBlog containing some blogs with comments. But the items in that category show date, author, category and No Comment even when there are Komento comments below the article. I think I have Komento properly integrated with K2 but something is wrong.
(btw, I am using EasyBlog for another blog under Q Street, but it's easier to keep these two blogs separate.)
Hello John,

I am sorry for the delay of this reply.

I've checked your site and it seems like the komento is appearing in your k2 blog. Check my screenshot here, http://screen.stackideas.com/2015-06-02_1816.png . Am I missing something here? Please advise.
·
Tuesday, 02 June 2015 18:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Let me try to explain the issue better.

If you go to the K2 blog Newsblog and select the item "Call me Caitlyn" for example, you will see that at the top of the item it says "No Comment" -see attached image newsblog1.png. Now scroll down to the bottom of the article and you will see 1 comment -see attached image newsblog2.png.

The question is, Why does it say No comment at the top when there is one comment?
·
Tuesday, 02 June 2015 20:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi John,

I'm really sorry that delayed of this reply,

I have checked in your site, it seems like your current template override a lot of K2 file. Perhaps you can try load original K2 template file and see how it goes?

Because I tried in my locally, it should work fine, check my screenshot below.
·
Friday, 05 June 2015 02:44
·
0 Likes
·
0 Votes
·
0 Comments
·
It shows there but not at the top of the article or in the category list as you can see -just says "No Comments" even tho four show up below . I found this older post but and added line 78 but it doesn't seem to do anything.

Second, I upgraded to Komento 2, but now my comments do not show automatically -you need to click to show comments. Where is the setting to change that?

John
------------------------------------------------------------------------------------------
Jason Rey on Tuesday, October 23 2012, 01:08 PM #
Hi Peter,

I am sorry for the late reply of this issue.

As it turns out, the edit was much more simple than I expected. (I was afraid that K2 is using their propriety function to grab the comment count, and it would be hard to hack that)

Seems like K2 is using manual SQL, in which made the change relatively easy to achieve. Here are the edits I've made on your site:

/modules/mod_k2_user/helper.php
comment out line 77
add line 78:

$query = "SELECT COUNT(*) FROM `#__komento_comments` WHERE `created_by` = " . (int)$userID . " AND published=1";



Any time you want to switch back, just comment out line 78 and uncomment line 77.
·
Wednesday, 10 June 2015 01:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi John,

Sorry for late reply to this,

After investigated long time ago, it seems like this plugin "Content - BT Social Share" trigger the Facebook comment in your K2 article.

Because I noticed this "Comment" count is actually count the Facebook comment, check my screenshot.

After I disabled that plugin, it work fine now.
·
Thursday, 11 June 2015 09:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you very much
·
Thursday, 11 June 2015 21:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello John,

You are most welcome. Glad that your issue has been resolved now.
·
Friday, 12 June 2015 11:43
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post