Player News Popup

Be sure your league is setup properly before installing any scripts.Setup Video
This directory contains the player news script. The script places icons next to each players names and when clicked gives various details for each player. In addition to player news icons , the script also places an icon in the menu that can be clicked to show messages , polls , reminders and trades for each franchise. The script needs to be placed in header marked message and requires font awesome to be installed.
The "script.js" file has an uncompressed version that can be edited and hosted on your own server.
There is an addon for this script you can read about and find 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.

Player News PopupPlace in header message

<script>
//ENABLE PLAYER NEWS POPUP
var MFLPopupEnablePlayerNews = true;

//ENABLE SCORES POPUP
var MFLScoreDetailsPopup = false;  // Set to true to enable a popup for player scores

//ENABLE FRANCHISE POPUP
var MFLFranchisePopup   = true;    // Set to true to enable a popup for player scores "var MFLScoreDetailsPopup" MUST be set to true in order to use the Franchise Popup
var includeBiologo      = false;   // Set to true to include team logo in the Bio tab
var includeBiologoAsset = false;    // Set to true to include team assets in the Bio tab

//SCORES AND FRANCHISE POPUP CSS - DISREGARD THIS SETTING IF "ENABLE SCORES POPUP" AND "ENABLE FRANCHISE POPUP" SET TO FALSE
var detailsOverlay          = "rgba(0,0,0,.5)";            // Set bg color and opacity for overlay background
var detailsWrapBG           = "#fff";                      // Set color of background for popup box
var detailsWrapBorder       = "#333";                      // Set color border around the popup box
var detailsWrapBorWidh      = "2px";                       // Set width of border around the popup box
var detailsWrapBoxShdw      = "0 0 5px #000";              // Set popup box shadow
var detailsWrapPadding      = "10px";                      // Set popup box padding
var detailsWrapRadius       = "3px";                       // Set border radius for popup box

//SET COMMISH FRANCHISE ID
var commishTeam = "0002";

// ALL PLAY OR BEST BALL OPTIONS
var removeSchedule  = false;   // set to true to remove the tab and table content for Schedules - which may not apply to All Play or Best Ball Leagues
var removeWatchlist = false;   // set to true to remove the tab and table content for Watch List - which may not apply to All Play or Best Ball Leagues
var removeLineup    = false;   // set to true to remove the tab and table content for Lineup - which may not apply to All Play or Best Ball Leagues
var hideLinks       = false;   // set to true to remove links for "Propose Trade" , "Trade Bait" and "Transactions"  - which may not apply to All Play or Best Ball Leagues

//ENABLE ARTICLE POPUP
var MFLPopupEnableArticle = true;

//ENABLE NOTIFICATION - 7 SETTING OPTIONS
var MFLPopupEnableAutoNotification = true;
var MFLPopupEnableTrade = true;
var MFLPopupEnableTradePoll = true;
var MFLPopupEnableReminders = true;
var MFLPopupEnableMessages = true;
var MFLPopupEnableCommishMessage = true;
var MFLPopupCommishMessage = "<p>Enter Custom League Message Here</p>";

//SETTINGS FOR LOGIN AND SEARCH
var ShowMFLlogin = true; // Set this to true to have a login button added to menu -  MFL Scripts Template Users can not enable this must be false
var ShowMFLsearch = true; // Set this to true to have a player button added to menu
var LoginSearchMobileCSS = true; // If using the login or search popup and site designed for mobile set this to true

//OTHER OPTIONS
var MFLPlayerPopupIncludeNFLLogo = true;
var MFLPlayerPopupLinkPopup = true; //CLICKING PLAYER LINK OPENS POPUP
var MFLPlayerPopupIncludeProjections = true;
</script>

<!-- PLAYER POPUP JS FILE -->
<script src="https://www.mflscripts.com/mfl-apps/popups/players/script.js"></script>