Jump to content


Photo

MFL Draft Room Script


26 replies to this topic

#1 theeohiostate

theeohiostate

    Veteran

  • Members
  • PipPipPip
  • 3,373 posts
  • Gender:Male
  • Location:O-H-I-O

Posted 08 July 2017 - 02:44 PM

Just finished this up and ready for use , there is a little style required to make it match your site

 

This will work for standard live drafts and deluxe league standard live drafts. I have another script almost finished that will be used for Auction league live drafts

 

Thanks to Habman for working along on this project

 

Need  to have jQuery library loaded in a header message , as well as font awesome and also have the custom tabs js file loaded.

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<script src="//use.fontawesome.com/6ccd97559b.js"></script>
<script src="//nitrografixx.com/MFL-CustomTabs/customTabs.js"></script>

 

Add this to your stylesheet , edit the "COLORING" area to match your site

/*  USE THIS TO HIDE ITEMS YOU DO NOT WANT SHOWING ON YOUR DRAFT ROOM PAGE  */
.banner-container,#tabmenu-wrap,footer{display:none!important}

/***************************************/
/*           DRAFT ROOM STYLE          */
/***************************************/
/*  COLORING  */
#custom_draftroom #draft_countdown_timer:before{color:#234b6c}
#custom_draftroom #draft-controller{color:#da3636}
#custom_draftroom #draft-edit a{color:#da3636}
#custom_draftroom #draft-edit a:hover{color:#234b6c}
#custom_draftroom .fa-pause-circle,#custom_draftroom .fa-stop-circle,#custom_draftroom .fa-step-forward,#custom_draftroom .fa-play-circle{color:#375a77}
#custom_draftroom .fa-pause-circle:hover,#custom_draftroom .fa-stop-circle:hover{color:#da3636}
#custom_draftroom .fa-step-forward:hover,#custom_draftroom .fa-play-circle:hover{color:green}
#custom_draftroom #make_pick .oddtablerow,#make_pick .eventablerow{background:none;background:#e8edf1}
#custom_draftroom #make_pick th.owner-away{background:#da3636;color:#fff;border:5px solid #e8edf1;border-top:0;border-bottom:0;}
#custom_draftroom #make_pick i{color:#234b6c}
#custom_draftroom #make_pick i:hover{color:#375a77}
/*  HIGHLIGHT BG COLOR  */
#custom_draftroom .moohighlight{background-color:#FFE3E3!important}
#custom_draftroom .moohighlight.done{background-color:transparent!important}
/*  PLAYER PROFILE  */
#custom_draftroom #player-profile{border:2px solid #e8edf1!important;background:#e8edf1}
#custom_draftroom #draft_player_link{color: #234b6c}
#custom_draftroom #player-profile th{background:#e8edf1}
#custom_draftroom #player-profile #draft_player_photo{border:2px solid #375a77}


/*   FORMATTING BELOW
======================= */
#custom_draftroom .myfantasyleague_tabmenu {margin-top:5px}
#custom_draftroom caption span.module_expand{display:none!important}
#custom_draftroom caption{cursor:default}
#custom_draftroom .toggle_tabs{text-align:center;}
/*  DRAFT TIMER  */
#custom_draftroom #draft_countdown_timer:before{content:"Draft Timer: ";}
#custom_draftroom #draft_countdown_timer{float:right;font-size:14px;font-weight:normal}
/*  DRAFT CONTROL BUTTONS  */
#custom_draftroom #draft-controller{position:relative;;text-align:center;font-size:20px;cursor:pointer;font-weight:bold;}
#custom_draftroom caption i{cursor:pointer}
#custom_draftroom #draft-edit{font-size:30px;position:absolute;left:0;right:0;top:30px;width: 40px;margin: 0 auto}
#custom_draftroom #draft-control{text-align:center;display:block}
#custom_draftroom #draft-control i{margin:0 10px;font-size:30px;}
#custom_draftroom #draft-control .fa-step-forward{margin-right:100px}
#custom_draftroom #draft-pick-edit input[type="button"]{padding:6px 4px}
/*  MAKE A PICK  */
#custom_draftroom #Customdraft_makepick h3{margin:15px 0;}
#custom_draftroom #make_pick{text-align:center;}
#custom_draftroom #make_pick select{width:100%;max-width:100%;margin:0}
#custom_draftroom #make_pick select[name="position"],#custom_draftroom #make_pick select[name="team"]{width:100px}
#custom_draftroom #make_pick td{display:block;text-align:center}
#custom_draftroom #make_pick th.owner-away{font-size:14px;font-weight:bold;padding:3px 0;display: block}
#custom_draftroom #make_pick #source_list{max-height:150px;margin-bottom:10px}
#custom_draftroom #make_pick #destination_list{max-height:100px;margin-bottom:5px}
#custom_draftroom #make_pick{position:relative;}
#custom_draftroom #make_pick i{font-size:30px;vertical-align:middle;cursor:pointer}
#custom_draftroom .source-list-arrow i.fa-arrow-circle-down{position:absolute;left:10px;margin-top:0px}
#custom_draftroom .source-list-arrow i.fa-arrow-circle-up{position:absolute;left:40px;margin-top:0px}
#custom_draftroom .draft-list-arrow{margin:0 10px}
#custom_draftroom #make_pick td[valign="top"]{text-align:right}
#custom_draftroom #make_pick .draftbutton{margin-top:0;margin-bottom:0;padding:5px;vertical-align:middle}
/*  DRAFT MESSAGES  */
#custom_draftroom #draft_status{overflow-y:auto;height:80px}
#custom_draftroom #draft_status ul{margin:0 5px;margin-left:0!important;padding:0 5px}
#custom_draftroom #draft_status ul li{list-style:none;margin:0;padding:0 3px;border:0;margin-bottom:3px}
/*  DRAFT PICKS  */
#custom_draftroom .draftpicks #draft_picks_container{overflow-y:auto;height:537px}
#custom_draftroom .draftpicks #draft_picks_container.commish-adjust{height:523px}
#custom_draftroom .draftpicks{text-align:center;margin:0;padding:0}
#custom_draftroom .draft_picks_header{position:relative}
#custom_draftroom .draftpicks td{font-size:12px;text-align:left}
#custom_draftroom .draftpicks td.pick{text-align:center}
#custom_draftroom .draftpicks td.franchise{max-width:150px;min-width:150px;width:150px;}
#custom_draftroom .draftpicks th,#custom_draftroom .draftpicks td{padding:0;margin:0;padding:2px}
#custom_draftroom .draftpicks th.pick{position:absolute}
#custom_draftroom .draftpicks .pick{text-align:center;max-width:40px;min-width:40px;width:40px}
#custom_draftroom .draftpicks th.franchise{position:absolute;left:40px}
#custom_draftroom .draftpicks th.selection{position:absolute;left:190px;}
#custom_draftroom .draftpicks .selection{padding-left:5px}
#custom_draftroom .draft_picks_header th:last-of-type:after{content:"Time";position:absolute;right:30px;visibility:visible;bottom:2px}
#custom_draftroom .draftpicks th.timestamp{visibility:hidden}
#custom_draftroom .draftpicks td.timestamp{text-align:right;font-style:italic;font-size:10px;white-space:nowrap;width:64px;max-width:64px}
#custom_draftroom .draftpicks b,#custom_draftroom .draftpicks a,#custom_draftroom .draftpicks br{display:none!important}
#custom_draftroom .draftpicks{font-size:0}
#custom_draftroom .draftpicks td{padding:10px 2px}
@media (pointer:coarse) {#custom_draftroom .draft_picks_header th:last-of-type:after{right:15px}}
/*  PLAYER PROFILE  */
#custom_draftroom #player-profile{padding:3px;table-layout:fixed;position:relative}
#custom_draftroom #player-profile caption span{color:transparent;font-size:0}
#custom_draftroom #draft_player_link{position:absolute;left:5px;top:6px;font-size: 22px;font-family:'Roboto Condensed',sans-serif;text-transform: uppercase;font-weight:700;text-decoration:none;pointer-events:none}
#custom_draftroom #player-profile #player_height_weight,#player-profile #player_dob_age,#player-profile #player_adp{text-align:center;}
#custom_draftroom #player-profile #draft_player_photo{margin:5px 0}
/*  ROSTERS  */
#custom_draftroom #rostertable td:first-of-type{text-align:center}
/*  DRAFT CHAT  */
#custom_draftroom .franchiseicon{width:100%;max-width:150px;height:auto}
/*  OWNER ACTIVITY MODULE  */
#custom_draftroom #owner_activity td,#custom_draftroom #owner_activity th{text-align:left;}
#custom_draftroom #avg_draft_time td:last-of-type,#custom_draftroom #avg_draft_time th:last-of-type{text-align:center}
/*  AVG DRAFT TIME MODULE  */
#custom_draftroom #avg_draft_time td,#custom_draftroom #avg_draft_time th{text-align:left;}
#custom_draftroom #avg_draft_time td:last-of-type,#custom_draftroom #avg_draft_time th:last-of-type{text-align:center}
/*  ADJUST 2 COLUMN MODULES  */
#custom_draftroom .toggle_tabs div.mobile-wrap{max-width:100%;margin:5px;margin-bottom:10px;}
#custom_draftroom .toggle_tabs caption{display:table-caption!important}
#custom_draftroom .two_column_layout.mobile-view{padding:0;}

 

 

 

Place this in any homepage message and link to the draft room HPM , do not place this on your homepage or within the homepage tabs

<!-- SET VARIABLE TO USE ICONS -->
<script>
	var UseIcons = true;   // ADD ICONS TO MAKE A DRAFT PICK TABLE SET TO FALSE TO USE TEXT NAMES
</script>

<div id="aj_bod" style="display:none"></div>
<div id="custom_draftroom" style="display:none">
  <h3 class="h3-menu div-nav" style="display:none"></h3>
  <h3 class="h3-menu help-nav" style="display:none"></h3>
  <div id="myfantasyleague_tabs" class="mobile-wrap">
    <table class="homepagemodule report" id="tab_quicklinks" cellspacing="1" align="center">
      <caption>
        <span>%YEAR% Draft</span>
        <span id="timer-h3"></span>
      </caption>
    </table>
    <div id="draft-controller">
      <span>VIEW DRAFT CONTROLS</span>
      <div id="show-control" style="display:none">
        <div id="draft-control"></div>
        <div id="draft-edit"></div>
        <div id="draft-pick-edit"></div>
      </div>
    </div>
    <div class="toggle_tabs">
      <table class="report">
        <tbody>
          <tr>
            <td>
              <div class="myfantasyleague_tabmenu">
                <span id="tab_title_200">200</span>
                <input id="sub200" type="checkbox">
                <label for="sub200"><span></span></label>
                <ul id="homepagetabs">
                  <li id="tab200" onclick="javascript:show_custom_tab('200');"><a class="no-sub">Draft<input id="sub200" type="checkbox"><label for="sub200"></label></a></li>
                  <li id="tab201" onclick="javascript:show_custom_tab('201');"><a class="no-sub">Rosters<input id="sub200" type="checkbox"><label for="sub200"></label></a></li>
                  <li id="tab202" onclick="javascript:show_custom_tab('202');"><a class="no-sub">Chat<input id="sub200" type="checkbox"><label for="sub200"></label></a></li>
                  <li id="tab203" onclick="javascript:show_custom_tab('203');"><a class="no-sub">Activity<input id="sub200" type="checkbox"><label for="sub200"></label></a></li>
                  <li id="tab204" onclick="javascript:show_custom_tab('204');"><a class="no-sub">Avg Draft Time<input id="sub200" type="checkbox"><label for="sub200"></label></a></li>
                  <li id="tab205" onclick="javascript:show_custom_tab('205');"><a class="no-sub">ADP<input id="sub200" type="checkbox"><label for="sub200"></label></a></li>
                  <li id="tab206" onclick="javascript:show_custom_tab('206');"><a class="no-sub">NEWS<input id="sub200" type="checkbox"><label for="sub200"></label></a></li>
                </ul>
              </div>
            </td>
          </tr>
        </tbody>
      </table>
      <div class="tabs_scroll">
        <div id="tabcontent200">
          <div>
            <table class="two_column_layout" align="center">
              <tbody>
                <tr>
                  <td class="two_column_layout mobile-view" valign="top">
                      <div id="Customdraft_makepick" class="mobile-wrap"></div>
                      <div id="Customdraft_profile" class="mobile-wrap"></div>
                  </td>
                  <td class="two_column_layout mobile-view" valign="top">
                      <div id="Customdraft_messages" class="mobile-wrap"></div>
                      <div id="Customdraft_draftpicks" class="mobile-wrap"></div>
                  </td>
                </tr>
              </tbody>
            </table>
          </div>
          <span class="alert alert-info-table" style="text-align:center"></span>
        </div>
        <div id="tabcontent201">
            <div id="Customdraft_rostertable" class="mobile-wrap"></div>
          <span class="alert alert-info-table" style="text-align:center"></span>
        </div>
        <div id="tabcontent202">
          <div>
            <table class="two_column_layout" align="center">
              <tbody>
                <tr>
                  <td class="two_column_layout mobile-view" valign="top">
                    <div class="mobile-wrap"><module name="LEAGUE_CHAT" /></div>
                  </td>
                  <td class="two_column_layout mobile-view" valign="top">
                    <div class="mobile-wrap"><module name="MESSAGE_BOARD_SUMMARY" /></div>
                  </td>
                </tr>
              </tbody>
            </table>
          </div>
        </div>
        <div id="tabcontent203">
          <div class="mobile-wrap"><module name="OWNER_ACTIVITY" /></div>
        </div>
        <div id="tabcontent204">
          <div class="mobile-wrap"><module name="AVG_DRAFT_TIME" /></div>
        </div>
        <div id="tabcontent205" style="max-height:400px;overflow-y:auto;">
          <div class="mobile-wrap"><module name="DRAFT_TRACKER" COUNT="200" /></div>
        </div>
        <div id="tabcontent206">
          <div>
            <table class="two_column_layout" align="center">
              <tbody>
                <tr>
                  <td class="two_column_layout mobile-view" valign="top">
                    <div class="mobile-wrap"><module name="HOT_NEWS" /></div>
                  </td>
                  <td class="two_column_layout mobile-view" valign="top">
                    <div class="mobile-wrap"><module name="MY_NEWS" /></div>
                  </td>
                </tr>
              </tbody>
            </table>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>


<!-- MFL DRAFT SCRIPT -->
<script src="//nitrografixx.com/MFL-Draft/customDraft.js"></script>

FREE Player Cuts Collection
https://www.nitrogra...om/player-cuts/


#2 Squintz82

Squintz82

    Veteran

  • Members
  • PipPipPip
  • 59 posts

Posted 13 July 2017 - 07:38 PM

Thanks for this TOS. Set this up, but I'm getting a "League not setup for live draft" message. Does this not work for long-running email drafts?

 

http://www65.myfanta...MODULE=MESSAGE6

 

*Edit*

 

Realize now that these components don't work on custom templates



#3 theeohiostate

theeohiostate

    Veteran

  • Members
  • PipPipPip
  • 3,373 posts
  • Gender:Male
  • Location:O-H-I-O

Posted 13 July 2017 - 08:17 PM

All scripts function on any site, but they are not designed for anything but skins, so if using on a custom template there is some work to do

As far as draft script, it only replaces the live draft room, so if using email only draft, the live draft room is not active thereby the live draft script does not work

FREE Player Cuts Collection
https://www.nitrogra...om/player-cuts/


#4 Bishopmish

Bishopmish

    Veteran

  • Members
  • PipPipPip
  • 133 posts
  • Gender:Male

Posted 03 August 2017 - 07:09 AM

TOS,

 

Morning. Checking to see if any movement on script for live auction drafts?


One step at a time...

#5 theeohiostate

theeohiostate

    Veteran

  • Members
  • PipPipPip
  • 3,373 posts
  • Gender:Male
  • Location:O-H-I-O

Posted 03 August 2017 - 09:01 AM

TOS,

 

Morning. Checking to see if any movement on script for live auction drafts?

 

 

yes i've had it done a few weeks  - Demo here http://www50.myfanta...ODULE=MESSAGE12

 

MFL auction system is so bad that i really didn't even want to post it  

 

Habman and I worked out the kinks as best we could , but we can only do so much since MFL controls the timers and the way auctions are handled

 

 

Here is the HPM  - have jQuery loaded in a header message , as well as the font awesome js , same as noted above for the normal draft room script

 

not sure how this will look on the MFL skins or custom sites , i created a new demo for this season and wrote all our new scripts for it specifically as it pertains to the format and style 

 

<!-- CSS HIDE BANNER-TABS-FOOTER -->
<style>
.banner-container,#tabmenu-wrap,footer{display:none!important}
</style>

<!-- SET VARIABLE TO USE ICONS -->
<script>
	var UseIcons = true;   // ADD ICONS TO MAKE A DRAFT PICK TABLE SET TO FALSE TO USE TEXT NAMES
</script>

<div id="aj_auction" style="display:none"></div>
<div id="custom_draftroom" style="display:none">
  <h3 class="h3-menu div-nav" style="display:none"></h3>
  <h3 class="h3-menu help-nav" style="display:none"></h3>
  <div id="myfantasyleague_tabs" class="mobile-wrap">
    <table class="homepagemodule report" id="tab_quicklinks" cellspacing="1" align="center">
      <caption>
        <span>%YEAR% Live Auction</span>
        <span id="timer-h3"></span>
      </caption>
    </table>
    <div id="draft-controller">
      <span>VIEW AUCTION CONTROLS</span>
      <div id="show-control" style="display:none">
        <div id="draft-pick-edit"></div>
      </div>
    </div>
    <div class="toggle_tabs">
      <table class="report">
        <tbody>
          <tr>
            <td>
              <div class="myfantasyleague_tabmenu">
                <span id="tab_title_200">200</span>
                <input id="sub200" type="checkbox">
                <label for="sub200"><span></span></label>
                <ul id="homepagetabs">
                  <li id="tab200" onclick="javascript:show_custom_tab('200');"><a class="no-sub">Auction<input id="sub200" type="checkbox"><label for="sub200"></label></a></li>
                  <li id="tab201" onclick="javascript:show_custom_tab('201');"><a class="no-sub">Rosters<input id="sub200" type="checkbox"><label for="sub200"></label></a></li>
                  <li id="tab202" onclick="javascript:show_custom_tab('202');"><a class="no-sub">Chat<input id="sub200" type="checkbox"><label for="sub200"></label></a></li>
                  <li id="tab203" onclick="javascript:show_custom_tab('203');"><a class="no-sub">Activity<input id="sub200" type="checkbox"><label for="sub200"></label></a></li>
                  <li id="tab204" onclick="javascript:show_custom_tab('204');"><a class="no-sub">Avg Draft Time<input id="sub200" type="checkbox"><label for="sub200"></label></a></li>
                  <li id="tab205" onclick="javascript:show_custom_tab('205');"><a class="no-sub">ADP<input id="sub200" type="checkbox"><label for="sub200"></label></a></li>
                  <li id="tab206" onclick="javascript:show_custom_tab('206');"><a class="no-sub">NEWS<input id="sub200" type="checkbox"><label for="sub200"></label></a></li>
                </ul>
              </div>
            </td>
          </tr>
        </tbody>
      </table>
      <div class="tabs_scroll">
        <div id="tabcontent200">
          <div>
            <table class="two_column_layout" align="center">
              <tbody>
                <tr>
                  <td class="two_column_layout mobile-view" valign="top">
                      <div id="Customdraft_current_auctions" class="mobile-wrap"></div>
                      <div id="Customdraft_makepick" class="mobile-wrap"></div>
                  </td>
                  <td class="two_column_layout mobile-view" valign="top">
                      <div id="Customdraft_draftpicks" class="mobile-wrap"></div>
                      <div id="Customdraft_messages" class="mobile-wrap"></div>
                      <div id="Customdraft_profile" class="mobile-wrap"></div>
                  </td>
                </tr>
              </tbody>
            </table>
          </div>
          <span class="alert alert-info-table" style="text-align:center"></span>
        </div>
        <div id="tabcontent201">
            <div id="Customdraft_rostertable" class="mobile-wrap"></div>
          <span class="alert alert-info-table" style="text-align:center"></span>
        </div>
        <div id="tabcontent202">
          <div>
            <table class="two_column_layout" align="center">
              <tbody>
                <tr>
                  <td class="two_column_layout mobile-view" valign="top">
                      <div class="mobile-wrap"><module name="LEAGUE_CHAT" /></div>
                  </td>
                  <td class="two_column_layout mobile-view" valign="top">
                      <div class="mobile-wrap"><module name="MESSAGE_BOARD_SUMMARY" /></div>
                  </td>
                </tr>
              </tbody>
            </table>
          </div>
        </div>
        <div id="tabcontent203">
            <div class="mobile-wrap"><module name="OWNER_ACTIVITY" /></div>
        </div>
        <div id="tabcontent204">
            <div class="mobile-wrap"><module name="AVG_DRAFT_TIME" /></div>
        </div>
        <div id="tabcontent205" style="max-height:400px;overflow-y:auto;">
            <div class="mobile-wrap"><module name="DRAFT_TRACKER" COUNT="200" /></div>
        </div>
        <div id="tabcontent206">
          <div>
            <table class="two_column_layout" align="center">
              <tbody>
                <tr>
                  <td class="two_column_layout mobile-view" valign="top">
                      <div class="mobile-wrap"><module name="HOT_NEWS" /></div>
                  </td>
                  <td class="two_column_layout mobile-view" valign="top">
                      <div class="mobile-wrap"><module name="MY_NEWS" /></div>
                  </td>
                </tr>
              </tbody>
            </table>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

<!-- MFL AUCTION SCRIPT -->
<script src="//nitrografixx.com/MFL-Draft/customAuction.js"></script>

 

 

 

Here is the CSS

/***************************************/
/*         AUCTION DRAFT STYLE         */
/***************************************/
#custom_draftroom h3[id^="auction_countdown_timer"],#custom_draftroom #autorotateCountdown{visibility:hidden}
#auction-status td{text-align:center}
#auction-status td[id^="auction_status_nominate"],#auction-status .reportnavigationheader,#make_pick td .reportnavigationheader{color:#da3636;font-weight:600}
#auction-status .reportnavigation,#make_pick td .reportnavigation{text-align:center;font-size:10px}
#make_pick #current_nominator{background:#da3636;color:#fff;padding:2px;border-radius:3px;}
#make_pick .detach-input input{vertical-align:middle}
#current_auctions h3{font-size:16px;font-weight:normal;text-align:left}
#current_auctions input[type="button"]{padding:4px;vertical-align:middle}
#current_auctions input{vertical-align:middle}
#current_auctions td{text-align:left;width:100%;float:left;padding:0!important;line-height:24px;background:none}
#current_auctions th{display:none;}
#current_auctions td:before{color:#ccc;text-transform:uppercase;font-weight:bold;background: rgba(0,0,0,.2);font-size:14px;float:left;clear:both;width:100%;}
#current_auctions td:nth-child(1):before{content:"Player Name"}
#current_auctions td:nth-child(2):before{content:"High Bid"}
#current_auctions td:nth-child(3):before{content:"Highest Bidder"}
#current_auctions td:nth-child(4):before{content:"Make A Bid"}
#current_auctions td:nth-child(5):before{content:"Timer"}
#current_auctions td:nth-child(6):before{content:"Remove This Auction"}
#current_auctions #lastAuctionOverCountdownRow td:nth-child(1):before{content:"Auction Status"}
#current_auctions #lastAuctionOverCountdownRow td:nth-child(2):before{content:"Timer"}
#current_auctions #lastAuctionOverCountdownRow td:nth-child(3):before{content:"";display:none;}
#current_auctions #lastAuctionOverCountdownRow td:nth-child(3){display:none;}
#current_auctions td input{margin:2px 6px;margin-left:0;}
@media (pointer:coarse) {#custom_draftroom .draft_picks_header th:last-of-type:after{right:15px}}

FREE Player Cuts Collection
https://www.nitrogra...om/player-cuts/


#6 theeohiostate

theeohiostate

    Veteran

  • Members
  • PipPipPip
  • 3,373 posts
  • Gender:Male
  • Location:O-H-I-O

Posted 03 August 2017 - 09:09 AM

here are desktop and mobile screen shots , i think i linked the dark version css , but not much to edit for coloring

 

2.jpg

 

 

 

 

1.jpg


FREE Player Cuts Collection
https://www.nitrogra...om/player-cuts/


#7 MrBaffl

MrBaffl

    Veteran

  • Members
  • PipPipPip
  • 155 posts
  • Gender:Not Telling

Posted 03 August 2017 - 10:48 AM

This question is for the standard live draft setup.

 

Will the Commissioner Controls buttons be added later in the Make A Draft Pick section?  These are located under the Draft button in the original draft room; Skip Pick - Undo Last Pick - Change Draft Pick.  I'm logged in as Commish and didn't see these on the new MFL Draft Room.


__________
MrBaffl

baffl_avatar.gif


#8 theeohiostate

theeohiostate

    Veteran

  • Members
  • PipPipPip
  • 3,373 posts
  • Gender:Male
  • Location:O-H-I-O

Posted 03 August 2017 - 11:12 AM

Commish draft buttons are there

did you click on the View Commission Controls ?

if they are not there you don't have all the needed libraries installed referenced in the first post 


FREE Player Cuts Collection
https://www.nitrogra...om/player-cuts/


#9 MrBaffl

MrBaffl

    Veteran

  • Members
  • PipPipPip
  • 155 posts
  • Gender:Not Telling

Posted 04 August 2017 - 11:43 AM

Below is my custom header HPM in HPM #1.  I believe it contains all 3 libraries.

 

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<script src="//nitrografixx.com/MFL-Lineup/lineup.js"></script>
<script src="//use.fontawesome.com/6ccd97559b.js"></script>
 
<!-- used in MFL DraftRoom -->
<script src="//nitrografixx.com/MFL-CustomTabs/customTabs.js"></script>
 
<!-- for menu icon changes -->
<script>
jQuery('.mfl-icon img').attr('src','http://baffl.mrbaffl...tarlogo3dee.gif');
jQuery('.mfl-icon span').html('BAFFL');
jQuery('.mfl-icon a').attr('href', 'http://www74.myfanta...2017/home/67242');
jQuery('.mfl-icon + li').remove();
</script>
 
<!-- for custom Commish Abilities -->
<script>
var SetHPMability = 18; // Set this value to the number of the homepage message you are loading the commissioner.js script in
// DISPLAY A LINK IN THE COMMISSIONER MENU FOR THE MFL MENU OR THE MOBILE REPLACEMENT MFL MENU 
jQuery('.myfantasyleague_menuMobile ul li:contains("For Commissioners") a:contains("Setup")').parent().before('<li><a class="no-sub" href="//%HOST%/%YEAR%/options?L=%LEAGUEID%&O=247&SEQNO=' + (SetHPMability) + '">Custom Abilities</a></li>');
jQuery('.myfantasyleague_menu ul li:contains("For Commissioners") a:contains("Setup")').parent().before('<li><a class="no-sub" href="//%HOST%/%YEAR%/options?L=%LEAGUEID%&O=247&SEQNO=' + (SetHPMability) + '">Custom Abilities</a></li>');
</script>
 
I would show screen shot of the Draft tab, but i can't copy it in this post for some freaking reason.  I've tried IE, FireFox and Chrome.  Regardless, I'm not seeing any Controls on this tab or any of the others.

__________
MrBaffl

baffl_avatar.gif


#10 MrBaffl

MrBaffl

    Veteran

  • Members
  • PipPipPip
  • 155 posts
  • Gender:Not Telling

Posted 04 August 2017 - 11:46 AM

Could this be the reason?  From the original code above...

 

    <div id="draft-controller">
      <span>VIEW DRAFT CONTROLS</span>
      <div id="show-control" style="display:none">
        <div id="draft-control"></div>
        <div id="draft-edit"></div>
        <div id="draft-pick-edit"></div>
      </div>
    </div>


__________
MrBaffl

baffl_avatar.gif


#11 t1break

t1break

    Member

  • Members
  • PipPip
  • 29 posts

Posted 04 August 2017 - 01:37 PM

Hopefully this doesn't derail this thread but would anyone recommend using the MFL auction draft room for their auction draft? I used espn last year and then imported, using clickydraft this year primarily because I keep hearing how bad MFL auction is. Is MFL auction being "trash" accurate and any other alternative people would recommend?

#12 MrBaffl

MrBaffl

    Veteran

  • Members
  • PipPipPip
  • 155 posts
  • Gender:Not Telling

Posted 04 August 2017 - 03:10 PM

Could someone please tell me the magic trick of pasting a screen shot?  Each time I try I get the message "Post is too short" when I click Post button.


__________
MrBaffl

baffl_avatar.gif


#13 MrBaffl

MrBaffl

    Veteran

  • Members
  • PipPipPip
  • 155 posts
  • Gender:Not Telling

Posted 04 August 2017 - 03:26 PM

I figured it out.  You have to have your draft date set for today or earlier to see the draft controls.  Once I set the draft for today, the controls were present.


__________
MrBaffl

baffl_avatar.gif


#14 dejesusofnazareth

dejesusofnazareth

    Veteran

  • Members
  • PipPipPip
  • 177 posts
  • Gender:Male
  • Location:DynastyOGs

Posted 04 August 2017 - 04:29 PM

We simply use the MFL auction module on the main page then have the auction option in the GM tab to actually place the bid - you can see current bids there too. Our auction runs several days but I don't see/know why a live auction would be problematic.

I css'ed the heck out of the auction bid page esp. for mobile but looks like TOS & Habman did a great job from the screen shots to take it to a new level. I don't think you need to do your auction on another site and import. This looks great!

#15 theeohiostate

theeohiostate

    Veteran

  • Members
  • PipPipPip
  • 3,373 posts
  • Gender:Male
  • Location:O-H-I-O

Posted 04 August 2017 - 05:00 PM

I figured it out.  You have to have your draft date set for today or earlier to see the draft controls.  Once I set the draft for today, the controls were present.

 

 

correct , no controls until draft starts

 

you should see text for "View Draft Controls"

 

and when you click you get the controls

 

demo-img.jpg


FREE Player Cuts Collection
https://www.nitrogra...om/player-cuts/




Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users