Keyword

How to show the comments for Registered users ONLY?

  • mattian
  • mattian's Avatar Topic Author
  • Offline
  • Senior Member
More
13 years 1 week ago #100063 by mattian
Hi,

 

I know how to show the comment-form for registered only. I use K2 and JComments together. But is there a way to define so that the actual approved comments show for a certain group ONLY! Idea is to use the Comments functions for in-house conversation about the article, not as a reader-comments system.

 

Any ideas how this could be achieved?

 

Amy

Please Log in or Create an account to join the conversation.

More
13 years 1 week ago #100064 by william white
Replied by william white on topic How to show the comments for Registered users ONLY?
Create an override

Edit Item.php in the override and use the following code around the comments display block

$user =& JFactory::getUser(); if($user->get('guest') ==0 ):

     comments display block

endif

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum