- Posts: 2
COMMUNITY FORUM
Hide K2 Comments for guests
- TLWebdesign
- Topic Author
- Offline
- New Member
Less
More
11 years 9 months ago #108428
by TLWebdesign
Hide K2 Comments for guests was created by TLWebdesign
Hi Guys,
I need to hide the comments for guests. If i set parameter to Registered only. It still displays the posted comments to everyone. using JA Lens template. So i really don't want to use a ugly extension like JComments. Since K2 Comments is already styled completely like the template.
Hope someone can help me out. should be very simple to do. But got very limited coding skills.
Any help greatly appreciated!!
I need to hide the comments for guests. If i set parameter to Registered only. It still displays the posted comments to everyone. using JA Lens template. So i really don't want to use a ugly extension like JComments. Since K2 Comments is already styled completely like the template.
Hope someone can help me out. should be very simple to do. But got very limited coding skills.
Any help greatly appreciated!!
Please Log in or Create an account to join the conversation.
- william white
- Offline
- Platinum Member
Less
More
- Posts: 3722
11 years 9 months ago #108429
by william white
Replied by william white on topic Re: Hide K2 Comments for guests
this may help
williamwhitejr.com/index.php/k2-tips/item/22-hiding-things-from-non-registared-users
feel free to contact me if you need help
williamwhitejr.com/index.php/k2-tips/item/22-hiding-things-from-non-registared-users
feel free to contact me if you need help
Please Log in or Create an account to join the conversation.
- TLWebdesign
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
11 years 9 months ago - 11 years 9 months ago #108430
by TLWebdesign
Replied by TLWebdesign on topic Re: Hide K2 Comments for guests
Thanks for the tip! Finally got it working. Used this code:
edited item.php
just after (around line 631):
edited item.php
just after (around line 631):
Log in or Create an account to join the conversation.