UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible 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 online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

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