Back to marketplace
73

Mass Notification

Buy now

Send notifications to all users of one or more spaces about a publication. Emails can be sent via Brevo API, as a campaign.

Translations

To use translations customized in the space's module settings, use the t() function of the Mn model. The $message param must be created by the Yii::t() function in order to have automatic messages creations with the yii message/extract-module function. But this $message param must be in english without replacement of the placeholders, so use , [], 'en' params in the Yii::t() function. E.g.:

$mn = new Mn(['space' => $this->space]);
echo $mn->t('notification', Yii::t('MassNotificationModule.notification', 'Message from {displayName}:', [], 'en'), ['displayName' => $user->getDisplayName()]);

Mass notifications module development

If minimal Humhub version changes, update the PHP version in composer.json to the minimal PHP version for this Humhub and update: composer update

Installation using Git

For a git based installation you'll need a composer install on the module root in order to fetch dependencies.

Module Information

Price:
90 €
Latest version release:
1.6.4 - April 5, 2024
Publisher:
Author(s):
Website:
Compatibility:
HumHub 1.12 - Latest