Plugin events

CComment has several plugin events that will allow you to extend the system without having to hack any core files.

  • onAfterCommentSave event

  • onAfterCommentEdit event

  • onAfterCommentDelete event

  • onAfterCommentVote event

  • onCommentAutoPublishing

  • onCommentGetAlternativeComments

  • onPrepareConfig - this event is fired right after the configuration for the specific component is created. This effectivly gives you the ability to modify it, right before it is saved in the instance object. Example uses -> modify the configuration on specific criteria -> such as the current category or something else.