Author: Senky
Extension Description:
Allows to send mass board notification just like Mass email works.
Screenshots:
Extension Download:
https://github.com/senky/phpbb-ext-massnotification
Installation:
- Download the latest release.
- Unzip the downloaded release, and change the name of the folder to `
massnotification
`. - In the `
ext
` directory of your phpBB board, create a new directory named `senky
` (if it does not already exist). - Copy the `
massnotification
` folder to `/ext/senky/
` if done correctly, you'll have the main extension class at
(your forum root)/ext/senky/massnotification/composer.json
- Navigate in the ACP to `Customise -> Manage extensions`
- Look for `
Mass Notification
` under the Disabled Extensions list, and click its `Enable
` link.
Note for developers:
This extension can also be used as a base for your extension that sends special one-time notifications. Just make sure this extension is installed and use it to add your one-time notification like this:
Code: Select all
$this->config->increment('senky_massnotification_id', 1);
$this->notifications_manager->add_notifications('senky.massnotification.notification.type.manual', [
'notification_id' => $this->config['senky_massnotification_id'], // you can use your own item_id or get advantage of this incrementer
'user_ids' => $user_ids, // user IDs to send notification to
'title' => $title, // notification title
'message' => $message, // notification reference
'url' => $url, // notification URL (user will be redirected here after clicking on the extension)
'author_id' => $author_id, // notification author (use 0 for notifications without author)
]);