Skip to content

Email & Push Notification Guide

Daniel Neto edited this page Mar 12, 2026 · 3 revisions

AVideo — Email & Notification Guide

This guide explains which notifications exist in AVideo, when they happen, and where to configure them in the admin panel.


Important — Email Must Be Configured First

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.


Where to Configure Notifications

Plugin Location
Notifications Admin Panel → Plugins → Notifications → Edit
CustomizeUser Admin Panel → Plugins → CustomizeUser → Edit
UserNotifications Admin Panel → Plugins → UserNotifications → Edit

Email Verification

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.

How it works

  1. A user creates an account.
  2. If Send Verification Email Automatically is enabled, the system sends a verification email.
  3. The email contains a verification button.
  4. 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.


Verification Settings

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

Verification Email Text

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"

Password Recovery Email

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

Notifications Plugin

This plugin handles:

  • Email notifications
  • Bell notifications inside the site
  • Push notifications (OneSignal)

General Notification Settings

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

New Video Published

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

New Comment on Video

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.


Reply to a Comment

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}


Live Stream Started

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

New User Registration (Admin Notification)

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}


Web Push Notifications (OneSignal)

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


Bell Notifications (Inside the Site)

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

Variables Available in Messages

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

Clone this wiki locally