Using CjForum user avatars in your component
Prerequisites: Add the required CjForum API library: require_once JPATH_ROOT.'/components/com_cjforum/lib/api.php'; Now get the profile API: $profileApi = CjForumApi::getProfileApi(); Syntax: getUserAvatar Syntax of the getUserAvatar API call to get full HTML image…