MFL History (External)

Be sure your league is setup properly before installing any scripts.Setup Video
Place the script in any homepagemessage and link to it. This script is only for those who have purchased MFLHistory.com addon and want to embed it within their MFL page. The script uses custom tabs which also must be installed, you can find that script here
This script can be installed in a homepagemessage and linked to or placed on home page.
The directory contains an "uncompressed" version of this script to allow for editing and self hosting. See below for instructions
All scripts require 1 instance of the cache.js file to be placed in a header message as the 1st line
<script src="https://www.mflscripts.com/mfl-apps/global/cache.js"></script>

MFL HistoryPlace in any HPM

<script>
 var mflHistoryId = 430;  // CHANGE 3 DIGIT HISTORY ID TO MATCH YOUR MFL HISTORY URL
</script>

<!--  HISTORY TABS HTML -->
<div id="mflhistory">
    <div id="admin"></div>

    <div id="myfantasyleague_tabs" class="mobile-wrap">
        <table class="homepagemodule report" id="tab_mflHistory" cellspacing="1" align="center">
            <caption><span>MFL History</span>
            </caption>
            <tbody></tbody>
        </table>
        <div class="toggle_tabs">
            <table class="report">
                <tbody>
                    <tr>
                        <td>
                            <div class="myfantasyleague_tabmenu">
                                <span id="tab_title_2000">2000</span>
                                <input id="sub2000" type="checkbox">
                                <label for="sub2000"><span></span>
                                </label>
                                <ul id="homepagetabs">
                                    <li id="tab2000" onclick="javascript:show_custom_tab('2000');"><a class="no-sub">Single Game<input id="sub2000" type="checkbox"><label for="sub2000"></label></a>
                                    </li>
                                    <li id="tab2001" onclick="javascript:show_custom_tab('2001');"><a class="no-sub">Single Season<input id="sub2000" type="checkbox"><label for="sub2000"></label></a>
                                    </li>
                                    <li id="tab2002" onclick="javascript:show_custom_tab('2002');"><a class="no-sub">Career<input id="sub2000" type="checkbox"><label for="sub2000"></label></a>
                                    </li>
                                    <li id="tab2003" onclick="javascript:show_custom_tab('2003');"><a class="no-sub">PostSeason<input id="sub2000" type="checkbox"><label for="sub2000"></label></a>
                                    </li>
                                    <li id="tab2004" onclick="javascript:show_custom_tab('2004');"><a class="no-sub">Milestones<input id="sub2000" type="checkbox"><label for="sub2000"></label></a>
                                    </li>
                                    <li id="tab2005" onclick="javascript:show_custom_tab('2005');"><a class="no-sub">Players<input id="sub2000" type="checkbox"><label for="sub2000"></label></a>
                                    </li>
                                    <li id="tab2006" onclick="javascript:show_custom_tab('2006');"><a class="no-sub">Standings<input id="sub2000" type="checkbox"><label for="sub2000"></label></a>
                                    </li>
                                    <li id="tab2007" onclick="javascript:show_custom_tab('2007');"><a class="no-sub">Team Pages<input id="sub2000" type="checkbox"><label for="sub2000"></label></a>
                                    </li>
                                    <li id="tab2008" onclick="javascript:show_custom_tab('2008');"><a class="no-sub">Game Center<input id="sub2000" type="checkbox"><label for="sub2000"></label></a>
                                    </li>
                                </ul>
                            </div>
                        </td>
                    </tr>
                </tbody>
            </table>
            <div class="tabs_scroll">
                <div id="tabcontent2000" class="homepagetabcontent">
                    <div id="mfl-singlegame"></div>
                </div>
                <div id="tabcontent2001" class="homepagetabcontent">
                    <div id="mfl-singleseason"></div>
                </div>
                <div id="tabcontent2002" class="homepagetabcontent">
                    <div id="mfl-career"></div>
                </div>
                <div id="tabcontent2003" class="homepagetabcontent">
                    <div id="mfl-postseason"></div>
                </div>
                <div id="tabcontent2004" class="homepagetabcontent">
                    <div id="mfl-milestones"></div>
                </div>
                <div id="tabcontent2005" class="homepagetabcontent">
                    <div id="mfl-players"></div>
                </div>
                <div id="tabcontent2006" class="homepagetabcontent">
                    <div id="mfl-standings"></div>
                </div>
                <div id="tabcontent2007" class="homepagetabcontent">
                    <div id="mfl-teampages"></div>
                </div>
                <div id="tabcontent2008" class="homepagetabcontent">
                    <div id="mfl-gamecenter"></div>
                </div>
            </div>
        </div>
    </div>
    <script>
        show_custom_tab(2000);
    </script>
</div>

<script src="https://www.mflscripts.com/mflscripts.com/mfl-apps/history/external/script.js"></script>