Hi, i tried using the code and i got working, but not perfect yet, i would like some help!
File 1
i uploaded to: components/
com_jcomments/plugins
com_comprofiler.plugin.php ,
File 2
components/
com_comprofiler/comprofiler.html.php
i put this code at the end, line 2127
Code:
<?php $uid = urldecode( stripslashes( cbGetParam( $_GET, 'user', '' ) ) );
$comments = JPATH_SITE . DS .'components' . DS . 'com_jcomments' . DS . 'jcomments.php';
if (file_exists($comments)) {
require_once($comments);
$cuser =& JFactory::getUser($uid);
//echo $uid.'------'.$cuser->name.'<br/>'; //ok
$title = $cuser->username."'s Profile.";
echo JComments::showComments($uid, 'com_comprofiler', $title);
} ?>
Results: worked, but the jcomments is appearing first and the profiles second!
i would like to have the comments bellow the user profile, where i have to paste the code (line) to have first profile, after jcomments?