If you're having problems with displaying avatars in the comments, try this.
Open
..\plugins\jcomments\jcomments.avatar.php with any text editor.
Search for this section:
case 'kunena':
if (count($users)) {
$db->setQuery('SELECT userid, avatar FROM #__kunena_users WHERE userid in (' . implode(',', $users) . ')');
$avatars = $db->loadObjectList('userid');
unset($users);
} else {
$avatars = array();
}
Under this section you will find 2 lines, simply replace them with this:
$avatarA = $mainframe->getCfg('absolute_path') . DS . 'media' . DS . 'kunena' . DS . 'avatars' . DS;
$avatarL = $mainframe->getCfg('live_site') . '/media/kunena/avatars/';
The result should look like this:
case 'kunena':
if (count($users)) {
$db->setQuery('SELECT userid, avatar FROM #__kunena_users WHERE userid in (' . implode(',', $users) . ')');
$avatars = $db->loadObjectList('userid');
unset($users);
} else {
$avatars = array();
}
$avatarA = $mainframe->getCfg('absolute_path') . DS . 'media' . DS . 'kunena' . DS . 'avatars' . DS;
$avatarL = $mainframe->getCfg('live_site') . '/media/kunena/avatars/';
Note: The initial code starts on line 196.