UPDATES EasyBlog 6.0.11 Released! Update to the latest version now!

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!
  Support is offline

Some help with notifaiction files

L'Eclaireur SARL · ·
5:47 PM Saturday, 06 May 2017
Normal
Hi,

I try to notify members groups when a file is upload on group.

I do that but I don't unserstand one point -> How I can send list of members groups ? I use

$model = ES::model('Groups');
$targets = $model->getMembers($group->id, array('state' => SOCIAL_STATE_PUBLISHED));

but It seems don't working.
If $targets = ['421, '326'], I have notification.

Can you help me, I haven't find documentation about that.

I join my code. You can find it in row 454

Thank you
The replies under this section are restricted to logged in users or users with an active subscription with us