UPDATES EasyBlog 6.0.18 Released! Update to the latest version

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
It is currently off working hours and most of us aren't around

Rest assured that we will get back to you as soon as the day starts tomorrow!
It is currently a public holiday for us from where we are at.

There may be a delay in our responses but rest assured that we will be back at full speed when we are back to the office.
  Support is offline

Retrieve avatar of a group category

Alexandre Cayer · ·
2:26 PM Friday, 23 October 2015
None
Humm there might be something I miss behind the model (which make sense since avatar is not in table...) to get a group category avatar...

$catModel = FD::model('GroupCategories');
$b = $catModel->getCategories(array('id' => $category->esgroup_id, 'state' => SOCIAL_STATE_PUBLISHED, 'ordering' => 'ordering'));
$a.='<img src="'. $b->getAvatar(SOCIAL_AVATAR_SQUARE).'" class="avatar" />';

$b retrieve the good category... however getAvatar method fails... :/ which makes sense, how I link $b and getAvatar ?
The replies under this section are restricted to logged in users or users with an active subscription with us