Latest news
Home » SocialEngine » Zend getting user profile picture in SocialEngine

Zend getting user profile picture in SocialEngine

Zend getting user profile picture in SocialEngine

<?php
$smarttipsuser = Engine_Api::_()->user()->getUser($user_id);
echo $this->htmlLink($smarttipsuser->getHref(), $this->itemPhoto($member2, 'thumb.icon'))
?>

Leave a Reply

x

Check Also

Pass custom error message to zend/socialengine form from controller

$this->view->form = $form = new User_Form_Admin_Universities_Createdomain(); $this->view->university_id = $iId = $this->_getParam(‘id’, null); $form->populate(array(‘university_id’=>$iId)); if($this->getRequest()->isPost() && ...