Hello,
is there possible to echo votes users?
for example,like comment user profile:
$commentUser = JUserHelper::getProfile($comment->userID);
print_r($commentUser);
i tried many different way to echo user name like this,but empty...
$db = JFactory::getDBO();
$query = "SELECT * FROM #__k2_rating WHERE itemID = ".$id;
$db->setQuery($query);
$vote = $db->loadObject();
$K2RatingsInstances[$id] = $vote;
$cUser = JUserHelper::getRating(userID);
print_r($cUser);
thanks,
Best Regards.,