Hi,
Download
this packageUnzip it and follow this instruction (placed also in READ_ME file in package) :
Quick instruction:
1. Paste file 'com_comprofiler.plugin.php' placed in dir: 'Jcomments plugin' to Jcomments plugin dir: '\components\com_jcomments\plugins' - We gotta do it by ftp client.
2. Instal CB plugin(CB_koment-tab_by_Jcomments.zip) placed in dir: 'CB plugin' by CB's instalator.
3. To allow profile owner delete any comment on his profile yo must edit file 'jcomments.class.php' which is placed in Jcomments frontend dir: \components\com_jcomments. Find about 256 line function 'canDelete' ,which looks like this:
function canDelete($obj)
{
return (($this->canDelete || ($this->canDeleteOwn && ($obj->userid == $this->userID)))
&& (!$this->isLocked($obj))) ? 1 : 0;
}
Remember to save a copy of orginal file before editing in case of any problems.Edit this function with for example Notepad++ to look like below :
function canDelete($obj)
{
return (($this->canDelete || ($obj->object_id == $this->userID && $obj->object_group == 'com_comprofiler')
|| ($this->canDeleteOwn && ($obj->userid == $this->userID)))
&& (!$this->isLocked($obj))) ? 1 : 0;
}
4. Now turn on instaled in 2nd point Cb plugin and publish tab created by it.
That's all. If everything done correctly you have Cb profile comments tab by Jcomments.
The weak point of this solution is that you will have to edit jcomments.class after every update of component..