- Posts: 140
COMMUNITY FORUM
K2 Comments per item
- Uzi
- Topic Author
- Offline
- Premium Member
Less
More
6 years 11 months ago - 6 years 11 months ago #165888
by Uzi
K2 Comments per item was created by Uzi
Hello,
Is it possible to activate comments per item? I tried do that via the menu, but it seems that the standard implementation doesn't work like this. When I set the general one on disabled, and enable the comments per item, it doesn't display.
Maybe this is something regarding the template code? Is this possible without hacking k2 core?
EDIT: Or do I need to activate the comments in the website, and per category configure when the comments can display? And then per item configure if you want to display it or not?
Is it possible to activate comments per item? I tried do that via the menu, but it seems that the standard implementation doesn't work like this. When I set the general one on disabled, and enable the comments per item, it doesn't display.
Maybe this is something regarding the template code? Is this possible without hacking k2 core?
EDIT: Or do I need to activate the comments in the website, and per category configure when the comments can display? And then per item configure if you want to display it or not?
Last edit: 6 years 11 months ago by Uzi.
Please Log in or Create an account to join the conversation.
- william white
- Offline
- Platinum Member
Less
More
- Posts: 3722
6 years 11 months ago #165889
by william white
Replied by william white on topic K2 Comments per item
I would set comments on for either registared or all in the k2 options first
Next enable comments for the category
and then try enable and or disable comments at the item level to see what results you get.
There is inheritance going on, i just cannot remember exactly which ones , testing should tell
Also, be sure to turn off comments at the category level if you do not want comments on other categories to show
Next enable comments for the category
and then try enable and or disable comments at the item level to see what results you get.
There is inheritance going on, i just cannot remember exactly which ones , testing should tell
Also, be sure to turn off comments at the category level if you do not want comments on other categories to show
Please Log in or Create an account to join the conversation.
- Uzi
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 140
6 years 11 months ago #165891
by Uzi
Replied by Uzi on topic K2 Comments per item
Ok, thank you. I will test and see what works. I hope the template code is sufficient!
Please Log in or Create an account to join the conversation.
- Uzi
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 140
6 years 11 months ago #165893
by Uzi
Replied by Uzi on topic K2 Comments per item
OK I thoroughly tested the comments but it's not working as I'd like.
When I enable the comments in the global, it always displays the comment form, regardless if I hide the comments via the category or the item itself.
When I disable the comments in global it won't display, ever.
I think the template code is just wonky. Can someone fix that so it only displays when on the item it configured to show the comments., regardless of the category setting or the global one. I want to configure this per item.
When I enable the comments in the global, it always displays the comment form, regardless if I hide the comments via the category or the item itself.
When I disable the comments in global it won't display, ever.
I think the template code is just wonky. Can someone fix that so it only displays when on the item it configured to show the comments., regardless of the category setting or the global one. I want to configure this per item.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
6 years 11 months ago #165932
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic K2 Comments per item
Hello Uzi,
if you use the default template, is the form working as expected?
Most likely the template's overrides lack some essential if/ else statements.
if you use the default template, is the form working as expected?
Most likely the template's overrides lack some essential if/ else statements.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Uzi
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 140
6 years 11 months ago #165936
by Uzi
Replied by Uzi on topic K2 Comments per item
I got it working with the default K2 code.
This is how I did it, for future reference when people have the same problem.
Activate comments for everyone in the config.
Per category hide the comments default.
Now you can set the comments to show per item.
The last problem I encounter though is the problem that name and emailaddress are unique, probably due to the fact that it tries to make a account for that commentor?
Can I remove this option? So that people with the same name or email can comment, mainly because I don't actually want people to make an account, that is unnecessary for me. Is that possible?
This is how I did it, for future reference when people have the same problem.
Activate comments for everyone in the config.
Per category hide the comments default.
Now you can set the comments to show per item.
The last problem I encounter though is the problem that name and emailaddress are unique, probably due to the fact that it tries to make a account for that commentor?
Can I remove this option? So that people with the same name or email can comment, mainly because I don't actually want people to make an account, that is unnecessary for me. Is that possible?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
6 years 11 months ago #165953
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic K2 Comments per item
The name and email address are not 'unique'.
If a user has registered in your site, another user cannot use his name nor his email.
That would create a real credibility issue. Imagine another person here commenting as "Krikor Boghossian" or a person impersonating you at your website.
Finally if that email is not in use, then users can comment freely.
If a user has registered in your site, another user cannot use his name nor his email.
That would create a real credibility issue. Imagine another person here commenting as "Krikor Boghossian" or a person impersonating you at your website.
Finally if that email is not in use, then users can comment freely.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.