Replace MFL Live Scoring

Be sure your league is setup properly before installing any scripts.Setup Video
The Replace MFL Scoring directory contains the files for standard H2H league and All Play leagues to convert the default MFL Live Scoring page into a custom scoring page. There is a var setting to use this script for AllPlay/Contest Leagues vs H2H Leagues. There are dark and light css files for standard leagues and only a light css file for all play leagues.
This script requires a small snippet of javascript in the header message , while the main script is placed in the footer message. All files have uncompressed version you can copy and edit and host on your own server if you wish. There are several "var" settings in the scoring script so ready through and setup the script to run how you want.
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.

Header Script for ScoringPlace in header message

<script>
//THIS NEEDS TO BE PLACED IN HEADER AND IS USED TO GO BACK IN HISTORY FOR MFL'S LIVE SCORING
if(document.getElementById("body_ajax_ls")) {
	var ls_liveScoringWeekCheck = parseInt(location.href.substr( location.href.indexOf("W2=")+3 , 2 ));
	if(ls_liveScoringWeekCheck>0&&ls_liveScoringWeekCheck<liveScoringWeek) {
		liveScoringWeek = parseInt(location.href.substr( location.href.indexOf("W2=")+3 , 2 ));
	}
}
</script>

LIVE SCORING JSPlace in footer message

<!-- MFL LIVE SCORING SCRIPT SETTINGS --> 
<script>
var ls_scoreboardName = "LEAGUE SCOREBOARD";	//enter text to name your scoreboard
var ls_commish_id = "0002";			//set the franchise ID of commissioners franchise to show those matchup first when logged in as commissioner
var ls_loader = false;				//use loading screen if scoreboard takes too long to load
var largeLeagueSB = false;			//set to true if scoreboard doesn't load all the time - this if for large leagues
var showTeamName = true;                      	//set to true to display franchise names in scoreboard header
var showTeamIcon = false;                       //set to true to display franchise icons in scoreboard header
var ls_includeProjections = true;              	//set to true to display projections next to player scores
var ls_includeInjuryStatus = true;     		//set to true to display injury status as per the norm
var ls_excludeIR = true;                       	//set to true to remove players on fantasy IR
var ls_excludeTaxi = true;                     	//set to true to remove players on taxi squad
var ls_popup_abbrev_name_icon = 1;             	//-1=disable; 0=abbrev; 1=name; 2=icon
var ls_orig_proj_when_final = true;         	//set true to change pace to projection when games go final
var ls_popup_status = true;                    	//set true to add status of player to popup
var ls_box_abbrev_name_icon = 1;               	//0=abbrev; 1=name; 2=icon; 3=icon+abbrev; 4=icon+name
var ls_hide_bye_teams = false;                 	//set to true to hide boxscore matchup teams on bye weeks
var ls_show_win_probability = true;           	//set to true to show MFL H2H win probability - only used for H2H leagues and MFL setting must be set to "true"
var BreakRows     = 1;       			//1=1 row of matchups(default);   2=2 rows of matchups;  3=3 rows of matchups

// ALL PLAY ----- PLAYOFFS LEAGUES ------ BEST BALL LEAGUES ONLY !!!!!!
var fixedWidthBox = true;       // Set to true to make box scores same sizes - set box width in next var
var setBoxWidth   = "150";      // MUST BE AT LEAST 150 WIDE IF USING FULL TEAM NAMES - DO NOT INCLUDE PX-EM-REM IN VALUE - ICONS AND  ABBR YOU CAN SET LESS WIDE
</script>

<!-- MFL LIVE SCORING SCRIPT H2H LEAGUES JS FILE -->
<script src="https://www.mflscripts.com/mfl-apps/scoreboard/replace-mflScoring/script.js"></script>

CSS FilesPlace in header or in css

H2h Light Skin CSS. Link in a homepagemessage or copy the uncompressed version and put in your stylesheet.
<link rel="stylesheet" href="https://www.mflscripts.com/mfl-apps/scoreboard/replace-mflScoring/light.css" type="text/css"/>
H2H Dark Skin CSS. Link in a homepagemessage or copy the uncompressed version and put in your stylesheet.
<link rel="stylesheet" href="https://www.mflscripts.com/mfl-apps/scoreboard/replace-mflScoring/dark.css" type="text/css"/>
All Play Light Skin CSS. Link in a homepagemessage or copy the uncompressed version and put in your stylesheet.
<link rel="stylesheet" href="https://www.mflscripts.com/mfl-apps/scoreboard/replace-mflScoring/light-allplay.css" type="text/css"/>