On many of my large leagues I commish , i find it time consuming going through each weeks starting lineups options_06 page to verify each owner has a full lineup submitted. MFL offers no alerts or modules to display this simple data. I combed through the API and modules and couldn't find anything. So i just pulled the info from the options_06 HTML and appended it to create a new module called "Lineup Alert" or you can name it whatever you'd like.
Demo Site here - "Lineup Alert" module located on homepage right side - https://www57.myfant...2019/home/10065
This script will not work on leagues that hide their starting lineups , well i should say , it won't work until the starters are displayed in that case. Any team found with an invalid amount of starters will be displayed in the module , along with a quick link to submit a lineup. When all teams have valid lineups , the module will display text "All Teams Have Valid Lineups?
<script src="//nitrografixx.com/MFL-Lineup/lineupAlert.js"></script> <script> var donotcountBye = true; // SETTING TO FALSE WILL NOT ALERT IF A OWNER IS STARTING A BYE WEEK PLAYER var donotcountI = true; // SETTING TO FALSE WILL NOT ALERT IF A OWNER IS STARTING A INJURED PLAYER var donotcountS = true; // SETTING TO FALSE WILL NOT ALERT IF A OWNER IS STARTING A SUSPENDED PLAYER var donotcountO = true; // SETTING TO FALSE WILL NOT ALERT IF A OWNER IS STARTING A PLAYER DEEMED OUT </script> <div class="mobile-wrap"> <table class="homepagemodule report" id="InvalidLineup" align="center" cellspacing="1"> <caption><span>LINEUP ALERT</span></caption> <tbody> <tr class="invalid-teams" style="display:none"><th colspan="2">The Following Teams Have Invalid Lineups</th></tr> <tr class="valid-teams" style="display:none"><th colspan="2">All Teams Have Valid Lineups</th></tr> <tr class="reportfooter" style="display:none"> <td colspan="2" align="center"> <a href='//%HOST%/%YEAR%/options?LEAGUE_ID=%LEAGUEID%&O=02&%FRANCHISEID%' style='text-decoration:none'> <input type='button' value='Submit Valid Lineup' /> </a> </td> </tr> </tbody> </table> </div>