Developing a ccomment plugin
In the context of CComment we will talk about 2 kinds of plugins. The standard joomla plugins (JPlugin) and CComment Plugin. You basically need the JPlugin to initialise the CComment component. The CComment plugin on the other side -> decides if the component should show the comment form, or read more buttons. It also creates a proper link to each comment, finds out who is the moderator of the item (article, photo, video etc) that the comment belongs to. Now that we know all this, let us look at some code.