Hi
I have checked into JA Comments helper.php
if (JACommentHelpers::checkComponent ( 'com_community' ) && (! isset ( $jacconfig ['layout'] ) || $jacconfig ['layout']->get ( 'enable_activity_stream', 0 ))) {
require_once (JPATH_ROOT . DS . 'components' . DS . 'com_community' . DS . 'libraries' . DS . 'core.php');
require_once (JPATH_ROOT . DS . 'components' . DS . 'com_community' . DS . 'libraries' . DS . 'activities.php');
include_once (JPATH_ROOT . DS . 'components' . DS . 'com_community' . DS . 'libraries' . DS . 'userpoints.php');
$act = new stdClass ( );
$act->cmd = 'com_jacomment.comment.' . $action;
$userPointModel = CFactory::getModel ( 'Userpoints' );
// Test command, with userpoint command. If is unpublished do not proceed into adding to activity stream.
$point = $userPointModel->getPointData ( $act->cmd );
$points = 0;
if ($point && ! $point->published) {
$points = 1;
} elseif ($point)
$points = $point->points;
$act->actor = $actor;
$act->target = $actor; // no target
$act->title = JText::_ ( $title );
$act->content = JText::_ ( 'This is the body' );
$act->app = 'com_jacomment.comment';
$act->cid = $cid;
$act->points = $points;
CFactory::load ( 'libraries', 'activities' );
CActivityStream::add ( $act );
/* Add points for user */
CuserPoints::assignPoint ( $act->cmd, $actor );
}
By this code it’s mean we do not define name or username will show on JomSocial.
So it’s mean you can config it in JomSocial.
administrator/index.php?option=com_community&view=configuration
Tab Layout – Display Name
And choose your needed.
Thank you,