Popup Notification Addon

Be sure your league is setup properly before installing any scripts.Setup Video
This directory contains the popup notification script. This script is an "addon" to the player popup script and will not work unless that is installed. This notification script places icons in the menu to notify owners if there is a new message board post , private message , new poll or trade offer. The script has variables which can be turned off or on for any of the 4 mentioned above. The icons in the menu sit alongside the login , search and other popup icon which the main player popup script installs.
The "script.js" file has an uncompressed version that can be edited and hosted on your own server.
This script will not function unless you already have the player popup installed on your site. See Here
All scripts require cache.js and font awesome file to be placed in a header message as the 1st line. Please review the section "Custom Scripts" Here
This script is already included in our custom template. Do not install it again. Custom template users do not need to load cache.js or font awesome.

NotificationPlace in footer message

<!-- MFL POPUP ADD-ON SETTINGS -->
<script>
var enableAddonNewPM = true;      // SET TO TRUE TO ENABLE NOTIFICATION IN MENU THAT A NEW PRIVATE MESSAGE BOARD HAS BEEN SENT TO YOU
var enableAddonNewPost = true;    // SET TO TRUE TO ENABLE NOTIFICATION IN MENU THAT A NEW PRIVATE MESSAGE BOARD POST WAS CREATED
var enableAddonPoll = true;       // SET TO TRUE TO ENABLE NOTIFICATION IN MENU THAT A NEW POLL HAS BEEN CREATED
var enableAddonTrade = true;      // SET TO TRUE TO ENABLE NOTIFICATION IN MENU THAT A NEW TRADE HAS BEEN OFFERED
</script>

<!-- MFL POPUP ADD-ON HTML -->
<div id="message_board_check" style="display:none"><module name="MESSAGE_BOARD_SUMMARY"/></div>
<div id="poll_check" style="display:none"><module name="POLL_SUMMARY"/></div>
<div id="poll_check" style="display:none"><module name="POLL"/></div>
<div id="trade_check" style="display:none"><module name="TRADES"/></div>

<!-- MFL POPUP ADD-ON JS FILE -->
<script src="https://www.mflscripts.com/mfl-apps/popups/addon/script.js"></script>

<!-- MFL POPUP ADD-ON CSS -->
<style>
.addon-icons {
  display: inline-block;
  color:#fff;
}
.addon-icons .fa {
    font-size: 24px;
    float: right;
    padding-left: 8px;
}
@media only screen and (max-width: 48em) {
  .myfantasyleague_menu ul li.addon-icons {
    display:inline-block
  }
}
</style>