- Posts: 14
COMMUNITY FORUM
K2 v.2.1 full integration with JComments 2.1
- Azhtar
- Offline
- New Member
Less
More
14 years 9 months ago #73387
by Azhtar
Replied by Azhtar on topic K2 v.2.1 full integration with JComments 2.1
It's allright, that was the easy part, but how do you get to count the comments and report the item counting to K2?
BBC said:Everything is working OK with 2.2. I tested it. In components/com_k2/templates/item.php find: (at line 499)
(Forum wont let me write the code, so i attached finished item.php file.
For components/com_k2/models/item.php is the same as explained at Joomlatune forum, by other words, same as with 2.1. And it is all, and working perfectly.
I attached finished item.php file.
BBC said:Everything is working OK with 2.2. I tested it. In components/com_k2/templates/item.php find: (at line 499)
(Forum wont let me write the code, so i attached finished item.php file.
For components/com_k2/models/item.php is the same as explained at Joomlatune forum, by other words, same as with 2.1. And it is all, and working perfectly.
I attached finished item.php file.
Please Log in or Create an account to join the conversation.
- BBC
- Offline
- Platinum Member
Less
More
- Posts: 663
14 years 9 months ago #73388
by BBC
Replied by BBC on topic K2 v.2.1 full integration with JComments 2.1
Azhtar Ferdash said:It's allright, that was the easy part, but how do you get to count the comments and report the item counting to K2?
I never had count of comments in K2 admin panel. (Disabled it because of page load, db queries. There is no point to have two)
I use count in Jcomments admin panel. It has article Title, extension info (com_k2), date, email, author, text, and IP info. I don´t need more.
May I ask why you need Jcomments in K2? Is there something you are missnig in K2 comments?
I use Jcomments (in K2) mainly because i want only one comment extension at my whole web site.
I never had count of comments in K2 admin panel. (Disabled it because of page load, db queries. There is no point to have two)
I use count in Jcomments admin panel. It has article Title, extension info (com_k2), date, email, author, text, and IP info. I don´t need more.
May I ask why you need Jcomments in K2? Is there something you are missnig in K2 comments?
I use Jcomments (in K2) mainly because i want only one comment extension at my whole web site.
Please Log in or Create an account to join the conversation.
- BBC
- Offline
- Platinum Member
Less
More
- Posts: 663
14 years 9 months ago #73389
by BBC
Replied by BBC on topic K2 v.2.1 full integration with JComments 2.1
One small thing. Comments in K2 has to be enabled if you want to see count number in category listing.
Please Log in or Create an account to join the conversation.
- Azhtar
- Offline
- New Member
Less
More
- Posts: 14
14 years 9 months ago #73390
by Azhtar
Replied by Azhtar on topic K2 v.2.1 full integration with JComments 2.1
Because I like to show how many comments an article has, also, it would be nice to have an option like most commented article in one module, but if Jcomments doesn't tell k2 how many comments are there you can't do just that.
I use it because of the tree comments view that K2 lacks and because the BBcode
BBC said:Azhtar Ferdash said:It's allright, that was the easy part, but how do you get to count the comments and report the item counting to K2?
I never had count of comments in K2 admin panel. (Disabled it because of page load, db queries. There is no point to have two)
I use count in Jcomments admin panel. It has article Title, extension info (com_k2), date, email, author, text, and IP info. I don´t need more.
May I ask why you need Jcomments in K2? Is there something you are missnig in K2 comments?
I use Jcomments (in K2) mainly because i want only one comment extension at my whole web site.
I use it because of the tree comments view that K2 lacks and because the BBcode
BBC said:Azhtar Ferdash said:It's allright, that was the easy part, but how do you get to count the comments and report the item counting to K2?
I never had count of comments in K2 admin panel. (Disabled it because of page load, db queries. There is no point to have two)
I use count in Jcomments admin panel. It has article Title, extension info (com_k2), date, email, author, text, and IP info. I don´t need more.
May I ask why you need Jcomments in K2? Is there something you are missnig in K2 comments?
I use Jcomments (in K2) mainly because i want only one comment extension at my whole web site.
Please Log in or Create an account to join the conversation.
- BBC
- Offline
- Platinum Member
Less
More
- Posts: 663
14 years 9 months ago #73391
by BBC
Replied by BBC on topic K2 v.2.1 full integration with JComments 2.1
Azhtar Ferdash said:>Because I like to show how many comments an article has, also, it would be nice to have an option like most commented article in one module, but if Jcomments doesn't tell k2 how many comments are there you can't do just that.
I use it because of the tree comments view that K2 lacks and because the BBcode
I just tested Jcomments "Latest comments" module and it is working even with K2!! Just in module settings put "com_k2" under "Source".
You have to choose some section and category, because with some settings it will list comments from everything.
Make a section named "Hidden" and a category named "Hidden" linked to "hidden" section. And never use it for anything. Just make it to force module not to list comments from other sections and categories.
I notice that "most commented" wont work (and one setting more), but it is not bug. Just in php files find code that trigger showing of comments and change it as you wish. Maybe it is coded not to show comments if they don´t have "x" number of comments per article, just guessing.
Ask at Joomlatune forum, will be best. If i find more time i can check it later by myself.
Module is nice, but tweak it as you wish in CSS.
I use it because of the tree comments view that K2 lacks and because the BBcode
I just tested Jcomments "Latest comments" module and it is working even with K2!! Just in module settings put "com_k2" under "Source".
You have to choose some section and category, because with some settings it will list comments from everything.
Make a section named "Hidden" and a category named "Hidden" linked to "hidden" section. And never use it for anything. Just make it to force module not to list comments from other sections and categories.
I notice that "most commented" wont work (and one setting more), but it is not bug. Just in php files find code that trigger showing of comments and change it as you wish. Maybe it is coded not to show comments if they don´t have "x" number of comments per article, just guessing.
Ask at Joomlatune forum, will be best. If i find more time i can check it later by myself.
Module is nice, but tweak it as you wish in CSS.
Please Log in or Create an account to join the conversation.
- BBC
- Offline
- Platinum Member
Less
More
- Posts: 663
14 years 9 months ago #73392
by BBC
Replied by BBC on topic K2 v.2.1 full integration with JComments 2.1
Seems that "most commented" and "latest commented" don´t work without external plugin for K2. Other 3 settings work.
Please Log in or Create an account to join the conversation.
- Alexis Valera
- Offline
- New Member
Less
More
- Posts: 18
14 years 7 months ago #73393
by Alexis Valera
Replied by Alexis Valera on topic K2 v.2.1 full integration with JComments 2.1
Hi
master can you post the modified files into a .zip with the structure so we the non masters of prgramong and coding dont die trying and can achieve what you are doing here.
We also love to have all the modules working with K2
We love to have the jcomments working in our site as the only main commnets system and all the modules as well
Please
Best regards.
Thanks in advance
master can you post the modified files into a .zip with the structure so we the non masters of prgramong and coding dont die trying and can achieve what you are doing here.
We also love to have all the modules working with K2
We love to have the jcomments working in our site as the only main commnets system and all the modules as well
Please
Best regards.
Thanks in advance
Please Log in or Create an account to join the conversation.
- Greii Worldwide, Inc
- Offline
- New Member
Less
More
- Posts: 7
14 years 7 months ago #73394
by Greii Worldwide, Inc
Replied by Greii Worldwide, Inc on topic K2 v.2.1 full integration with JComments 2.1
Any update on this? I'd like to have K2 with Jcomments but replacing the file would be easier than replacing the code since the new version of K2 has outdated the instructions to add Jcomments. Jcomments doesn't even have integration instructions anymore...
I wonder if K2 is coming up with something comparable to Jcomments?
I wonder if K2 is coming up with something comparable to Jcomments?
Please Log in or Create an account to join the conversation.
- frenesi
- Offline
- New Member
Less
More
- Posts: 3
14 years 7 months ago #73395
by frenesi
Replied by frenesi on topic K2 v.2.1 full integration with JComments 2.1
Hi!
first thank you very much for all your work, I love k2.
I have a question regarding the jcomments integration. In my website there are already hundreds of comments. I need to integrate jcomments but I discovered on a test site that all the comments previusly added through the k2 component will disapperar from the frontend. Is there a way to manage this problem?
I need to integrate jcomments without loosing the past comments...
any tip?
Thank you very much for your help
Angela
ps
I'm using k2 v. 2.1 and jcomments v.2.1.
first thank you very much for all your work, I love k2.
I have a question regarding the jcomments integration. In my website there are already hundreds of comments. I need to integrate jcomments but I discovered on a test site that all the comments previusly added through the k2 component will disapperar from the frontend. Is there a way to manage this problem?
I need to integrate jcomments without loosing the past comments...
any tip?
Thank you very much for your help
Angela
ps
I'm using k2 v. 2.1 and jcomments v.2.1.
Please Log in or Create an account to join the conversation.
- frenesi
- Offline
- New Member
Less
More
- Posts: 3
14 years 7 months ago #73396
by frenesi
Replied by frenesi on topic K2 v.2.1 full integration with JComments 2.1
Maybe there is a way to "import comments" from k2. But even if I integrated jcomments and k2 following the instruction (and it works), still I can't import into jcomments the old comments of k2...
thanks again
Angela
Angela Polimanti said:Hi! first thank you very much for all your work, I love k2.
I have a question regarding the jcomments integration. In my website there are already hundreds of comments. I need to integrate jcomments but I discovered on a test site that all the comments previusly added through the k2 component will disapperar from the frontend. Is there a way to manage this problem?
I need to integrate jcomments without loosing the past comments...
any tip?
Thank you very much for your help
Angela
ps
I'm using k2 v. 2.1 and jcomments v.2.1.
thanks again
Angela
Angela Polimanti said:Hi! first thank you very much for all your work, I love k2.
I have a question regarding the jcomments integration. In my website there are already hundreds of comments. I need to integrate jcomments but I discovered on a test site that all the comments previusly added through the k2 component will disapperar from the frontend. Is there a way to manage this problem?
I need to integrate jcomments without loosing the past comments...
any tip?
Thank you very much for your help
Angela
ps
I'm using k2 v. 2.1 and jcomments v.2.1.
Please Log in or Create an account to join the conversation.