-
Notifications
You must be signed in to change notification settings - Fork 1k
Email & Push Notification Guide
This guide explains which notifications exist in AVideo, when they happen, and where to configure them in the admin panel.
Emails will not work until email sending is configured.
You must configure SMTP first using this guide:
https://github.com/WWBN/AVideo/wiki/Setting-up-AVideo-Platform-to-send-emails
If this step is not done, no emails will be sent, even if notifications are enabled in the admin panel.
| Plugin | Location |
|---|---|
| Notifications | Admin Panel → Plugins → Notifications → Edit |
| CustomizeUser | Admin Panel → Plugins → CustomizeUser → Edit |
| UserNotifications | Admin Panel → Plugins → UserNotifications → Edit |
Configured in:
Admin Panel → Plugins → CustomizeUser → Edit
You can also access it here:
Admin Panel → General Settings → User Settings
AVideo can require users to verify their email after registering.
- A user creates an account.
- If Send Verification Email Automatically is enabled, the system sends a verification email.
- The email contains a verification button.
- When the user clicks the button, the email is marked as verified.
The verification link uses:
objects/userVerifyEmail.php?code=...
There is a 30-minute cooldown, so the system will not send another verification email during that time.
Users can also resend the verification email from their profile page.
| Setting | Description |
|---|---|
| Send Verification Email Automatically | Send verification email right after registration |
| Unverified Emails Cannot Login | User cannot login until email is verified |
| Unverified Emails Cannot Comment | Block comments for unverified users |
| Unverified Emails Cannot Live Stream | Block live streaming |
| Only Verified Emails Can Upload | Block video uploads |
| Auto-Delete Unverified Users After X Days | Remove accounts that never verified their email |
| Show Email Verified Mark | Show a checkmark on verified users |
These fields control the content of the verification email.
| Setting | Default |
|---|---|
| Verification Email Text Line 1 | Welcome message |
| Verification Email Text Line 2 | Team signature |
| Verification Email Text Line 3 | Intro message |
| Verification Email Text Line 4 | Instruction to verify email |
| Verification Button Label | "Verify" |
Configured in:
Admin Panel → Plugins → CustomizeUser → Edit
Triggered when a user clicks Forgot Password.
| Setting | Description |
|---|---|
| Recovery Email Subject | Subject of the recovery email |
| Recovery Email Text | Message shown above the reset link |
This plugin handles:
- Email notifications
- Bell notifications inside the site
- Push notifications (OneSignal)
| Setting | Description |
|---|---|
| Email Enabled | Enable or disable all email notifications |
| Bell Notification Enabled | Enable notifications in the site bell icon |
| Email Logo | Logo displayed in notification emails |
| Notify Verified Users Only | Send notifications only to verified users |
Triggered when a video becomes public.
| Setting | Description |
|---|---|
| Notify Video Owner | Email sent to the uploader |
| Notify Subscribers | Email sent to channel subscribers |
| Notify Tag Subscribers | Email sent to users following the video's tags |
| Notify Extra Email | Always send to these email addresses |
| Subject | Email subject |
| Message Text | Email message |
| Webhook URL | Send video data to an external system |
Available variables:
{user}
{videoName}
{videoLink}
This event can also trigger:
- Bell notifications
- OneSignal push notifications
Triggered when a new comment is posted on a video.
| Setting | Description |
|---|---|
| Notify Video Owner | Notify the video owner |
| Notify Extra Email | Send to extra email addresses |
| Subject | Email subject |
| Message Text | Email message |
Variables available:
{user}
{videoName}
{videoLink}
The email includes the comment text.
Triggered when someone replies to a comment.
| Setting | Description |
|---|---|
| Notify Video Owner | Notify the video owner |
| Notify Original Commenter | Notify the person who wrote the original comment |
| Notify Extra Email | Send to extra email addresses |
| Subject | Email subject |
| Message Text | Email message |
Variables available:
{user}
{videoName}
{videoLink}
Triggered when someone starts a public live stream.
| Setting | Description |
|---|---|
| Notify Subscribers When Someone Goes Live | Enable or disable |
| Subject | Email subject (supports {user}) |
| Message Text | Email message |
Variables supported:
{user}
{siteURL}
{siteTitle}
Notes:
- Emails are sent in batches of 100
- There is a 5-minute cooldown to prevent duplicates
This can also trigger:
- Bell notifications
- OneSignal push notifications
Triggered when a new user creates an account.
| Setting | Description |
|---|---|
| Notify Admin on New Sign-Up | Email sent to the site contact email |
| Notify When User Requests Upload Rights | Notify admin |
| Notify When User Requests Livestream Rights | Notify admin |
| Sign-Up Auto Response Message | Welcome email sent to the new user |
Variables supported:
{user}
{siteURL}
{siteTitle}
Push notifications sent to browsers and mobile apps.
| Setting | Description |
|---|---|
| OneSignal Enabled | Enable push notifications |
| Push on New Video | Send push when a video is published |
| Push on Live Stream | Send push when someone goes live |
| App ID | OneSignal App ID |
| REST API Key | OneSignal REST API Key |
| Firebase Sender ID | Firebase Sender ID |
| Debug Mode | Enable logs for troubleshooting |
Setup guide:
https://github.com/WWBN/AVideo/wiki/Notifications-Plugin#onesignal
The bell icon 🔔 shows notifications to logged-in users.
Requires both plugins:
- Notifications
- UserNotifications
| Event | Who receives it |
|---|---|
| New video published | Channel subscribers |
| Live stream started | Channel subscribers |
Notification colors:
| Type | Color |
|---|---|
| success | green |
| info | blue |
| warning | yellow |
| danger | red |
| Variable | Meaning |
|---|---|
| {user} | Name of the user who triggered the action |
| {videoName} | Video title |
| {videoLink} | Link to the video |
| {siteURL} | Site URL |
| {siteTitle} | Site title |
The Open Source Video Platform Solution
| Service | Description | Link |
|---|---|---|
| 🎯 | Professional Support - Direct assistance from core developers | Contact |
| ☁️ | AVideo CDN - High-performance video delivery network | Pricing |
AVideo Platform © 2024 - Self-hosted video streaming platform
Made with ❤️ by WWBN and the open source community