Found the solution!
In C:\wamp\www\xxx\components\com_jcomments\tpl\default\tpl_form.php
line 213 à 228
Replace :
<?php
}
/*
*
* Displays link to show comments form
*
*/
function getCommentsFormLink()
{
$object_id = $this->getVar('comment-object_id');
$object_group = $this->getVar('comment-object_group');
?>
<div id="comments-form-link">
<a id="addcomments" class="showform" href="#addcomments" onclick="jcomments.showForm(<?php echo $object_id; ?>,'<?php echo $object_group; ?>', 'comments-form-link'); return false;"><?php echo JText::_('FORM_HEADER'); ?></a>
</div>
by
<?php
}
/*
*
* Displays link to show comments form
*
*/
function getCommentsFormLink()
{
$object_id = $this->getVar('comment-object_id');
$object_group = $this->getVar('comment-object_group');
?>
<?php
$user =& JFactory::getUser();
$user_id = $user->get('id');
$db = & JFactory::getDBO();
$sql= "SELECT owner FROM #__sobi2_item WHERE itemid = " .$sobi2Id=JRequest::getVar("sobi2Id") ;
$db->setQuery($sql);
$userid = $db->loadResult();
if( $user_id == $userid ) {
?>
<div id="comments-form-link">
<a id="addcomments" class="showform" href="#addcomments" onclick="jcomments.showForm(<?php echo $object_id; ?>,'<?php echo $object_group; ?>', 'comments-form-link'); return false;"><?php echo JText::_('FORM_HEADER'); ?></a>
<?php
}
?>
</div>