Company | Newzulu Platform | Developer

Developer Template Documentation v4.12.5.3

Email Media Approved


Email Media Approved or Denied

The Media Approved and Media Denied emails are sent to the owner of a media when its status is changed (moderated) to approved or denied.
The email templates are set in the channeldetail page of the channel that the moderated media are in.
There may be two Media Approved (and two Media Denied) templates, English and French, so make sure to enter the appropriate template for each language in each channeldetail page.

To create the Media Approved (or Denied) template:

To use the Media Approved and Media Denied templates:

1. Go to the Project Settings of the application and set the Media Moderation fields, which are:

2. In your project, go to the channeldetail page for the channel that the moderated media are in.

Supported Attributes

Name Description
deniedReason (String) The reason why the media has been moderated (if indeed it has been denied).
firstname (String) The first name of the owner of the media that has been moderated.
media_id (Integer) The id of the media that has been moderated.
moderationStatus(Integer) The moderation status of the media.
selectedVHost (Integer) The VHost id of the media has been moderated.
u (Integer) The id of the owner of the media that has been moderated.

Example 1: Media Approved (en)

<table width="500" style="font-family:Arial;"> <tr> <td> <center> <img src="/static/vidcom/v3/images/logo.png" alt="Newzulu" /> </center> </td> </tr> <tr> <td style="border:1px solid #ccc; padding: 10px;"> <table> <tr> <td> <p style="font-size:12px;"> Thank you for your submission to the <b>Newzulu Media Community</b>. It has been approved by our moderators. </p> <p> <a href="http://community3.staging.filemobile.com/mediadetail/{$$media_id}"><img src="http://fmdevs3.filemobile.com/storage/{$$media_id}/15"></a> </p> <p> You can view your submission at http://community3.staging.filemobile.com/mediadetail/{$$media_id} </p> </td> </tr> </table> </td> </tr> </table>

Example 2: Media Denied (en)

<table width="500" style="font-family:Arial;"> <tr> <td> <center> <img src="/static/contest/images/logo.png" alt="Newzulu" /> </center> </td> </tr> <tr> <td style="border:1px solid #ccc; padding: 10px;"> <table> <tr> <td> <p style="font-size:12px;"> Thank you for your submission. Unfortunately, it has been denied by our moderators. </p> <table width="500"> <tr> <td style="margin-top:10px; padding:10px; background-color:#e2e2e2;" width="318"> <p style=" font-size:14px;"> Denied reason: {$deniedReason} </p> <p> <ul style="font-size:12px; padding:0px 0px 0px 10px; list-style:none;"> <li style="margin-bottom:10px;"><b>Copyright infringement:</b> You may have used copyrighted video, which is not allowed. Also, make sure you are not wearing a branded t-shirt or have a poster in the background.</li> <li style="margin-bottom:10px;"><b>Invalid content:</b> The video or photo you have submitted is not related to this contest. Make sure you are uploading to the right place.</li> <li style="margin-bottom:10px;"><b>Inappropriate content:</b> Our moderators have deemed your content to be offensive or otherwise inappropriate.</li> <li style="margin-bottom:10px;"><b>Incompatible filetype:</b> The video or photo that you submitted isn't working on our end. It might be that you uploaded the wrong kind of file, or maybe the sound wasn't working.</li> <li><b>Duplicate:</b> You have uploaded the same content more than once. Please be patient, as our moderators will have your content posted shortly.</li> </ul> </p> </td> </tr> </table> <p style="font-size:12px;"> If you would like more information, visit the Frequently Asked Questions at http://contest.projects.fm/faq or email support at support@yourdomain.com. </p> </td> </tr> </table> </td> </tr> </table>

See Also:

<< 3.1.4.8 Email Media Added To Group 3.1.4.10 Email Registration >>