Jump to content


Photo

MFL Draft Room Script


26 replies to this topic

#16 MrBaffl

MrBaffl

    Veteran

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

Posted 05 August 2017 - 07:29 AM

Thanks TOS.  I did get it working and it works just as you've explained.  Also, my apologies for the frustration yesterday.  I just feel stupid when I can't get something so simple to work.  And then the screen shot pasting made it worse.  But I'm better today.


__________
MrBaffl

baffl_avatar.gif


#17 Blasts

Blasts

    Veteran

  • Members
  • PipPipPip
  • 46 posts

Posted 08 August 2017 - 04:09 PM

Can you fix and correct the code for me? please   I'm aware about MFL changed the code.      I am trying to hide the hortixal menu, banner, else.. I only want to see the teams and rounds on draft grid reports?

 

#body_options_113 .pagebody {


    width: 100%;


}


 


 


#options_113  table.pageheader {


    display: none;


}


 


#options_113  #hsubmenu {


    display: none;


}


 


#options_113 #vsubmenu { display: none}


 


 


#options_113 .report {


    border-collapse: collapse;


    width: 100%;


}


 


#options_113 .report a {


    text-decoration: none;


    color: #000000;


    display: block;


    font-size: 12pt;


    font-family: Arial, Helvetica, sans-serif;


    white-space: nowrap;


}


 


#options_113 .report td, #options_113 .report th {


    border: 1px solid #000000;


    text-align: center;


    padding-top: 7px;


    padding-bottom: 7px;


    padding-left: 2px;


    padding-right: 2px;


 


}


 


#options_113 .report td, #options_113 .report th a {


    font-weight: bold;


 


}


 


#body_options_113 .reallysmall .position_rb {


    background-color: aqua;


    color: black;


    height: 24px;


    margin-top: -14px;


    margin-right: -2px;


    margin-left: -2px;


    padding: 2px;


    margin-bottom: -15px;


    font-weight: bold;


}


 


#body_options_113 .reallysmall .position_qb {


    background-color: yellow;


    color: black;


    height: 24px;


    margin-top: -14px;


    margin-right: -2px;


    margin-left: -2px;


    padding: 2px;


    margin-bottom: -15px;


    font-weight: bold;


}


 


#body_options_113 .reallysmall .position_wr {


    background-color: white;


    color: black;


    height: 24px;


    margin-top: -14px;


    margin-right: -2px;


    margin-left: -2px;


    padding: 2px;


    margin-bottom: -15px;


    font-weight: bold;


}


 


#body_options_113 .reallysmall .position_te {


    background-color: orange;


    color: black;


    height: 24px;


    margin-top: -14px;


    margin-right: -2px;


    margin-left: -2px;


    padding: 2px;


    margin-bottom: -15px;


    font-weight: bold;


}


 


#body_options_113 .reallysmall .position_pk {


    background-color: lightgreen;


    color: black;


    height: 24px;


    margin-top: -14px;


    margin-right: -2px;


    margin-left: -2px;


    padding: 2px;


    margin-bottom: -15px;


    font-weight: bold;


}


 


#body_options_113 .reallysmall .position_def {


    background-color: Magenta;


    color: black;


    height: 24px;


    margin-top: -14px;


    margin-right: -2px;


    margin-left: -2px;


    padding: 2px;


    margin-bottom: -15px;


    font-weight: bold;


}


 


#body_options_113 .pagefooter {


    display: none;


}


 


#options_113 h3 {


    display: none;


}


 


#body_options_113 #menu0 {


    display: none;


}


 


#options_113 .report td+td {


    font-size: 0pt;


}


 


/* ######### END ######### */


 


 


 



#18 theeohiostate

theeohiostate

    Veteran

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

Posted 08 August 2017 - 07:06 PM

This might be the most confusing question ever posted here
What does this have to do with the draftroom script?


Can you fix and correct the code for me? please   I'm aware about MFL changed the code.      I am trying to hide the hortixal menu, banner, else.. I only want to see the teams and rounds on draft grid reports?
 
#body_options_113 .pagebody {[/size]
    width: 100%;
}
 
 
#options_113  table.pageheader {
    display: none;
}
 
#options_113  #hsubmenu {
    display: none;
}
 
#options_113 #vsubmenu { display: none}
 
 
#options_113 .report {
    border-collapse: collapse;
    width: 100%;
}
 
#options_113 .report a {
    text-decoration: none;
    color: #000000;
    display: block;
    font-size: 12pt;
    font-family: Arial, Helvetica, sans-serif;
    white-space: nowrap;
}
 
#options_113 .report td, #options_113 .report th {
    border: 1px solid #000000;
    text-align: center;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 2px;
    padding-right: 2px;
 
}
 
#options_113 .report td, #options_113 .report th a {
    font-weight: bold;
 
}
 
#body_options_113 .reallysmall .position_rb {
    background-color: aqua;
    color: black;
    height: 24px;
    margin-top: -14px;
    margin-right: -2px;
    margin-left: -2px;
    padding: 2px;
    margin-bottom: -15px;
    font-weight: bold;
}
 
#body_options_113 .reallysmall .position_qb {
    background-color: yellow;
    color: black;
    height: 24px;
    margin-top: -14px;
    margin-right: -2px;
    margin-left: -2px;
    padding: 2px;
    margin-bottom: -15px;
    font-weight: bold;
}
 
#body_options_113 .reallysmall .position_wr {
    background-color: white;
    color: black;
    height: 24px;
    margin-top: -14px;
    margin-right: -2px;
    margin-left: -2px;
    padding: 2px;
    margin-bottom: -15px;
    font-weight: bold;
}
 
#body_options_113 .reallysmall .position_te {
    background-color: orange;
    color: black;
    height: 24px;
    margin-top: -14px;
    margin-right: -2px;
    margin-left: -2px;
    padding: 2px;
    margin-bottom: -15px;
    font-weight: bold;
}
 
#body_options_113 .reallysmall .position_pk {
    background-color: lightgreen;
    color: black;
    height: 24px;
    margin-top: -14px;
    margin-right: -2px;
    margin-left: -2px;
    padding: 2px;
    margin-bottom: -15px;
    font-weight: bold;
}
 
#body_options_113 .reallysmall .position_def {
    background-color: Magenta;
    color: black;
    height: 24px;
    margin-top: -14px;
    margin-right: -2px;
    margin-left: -2px;
    padding: 2px;
    margin-bottom: -15px;
    font-weight: bold;
}
 
#body_options_113 .pagefooter {
    display: none;
}
 
#options_113 h3 {
    display: none;
}
 
#body_options_113 #menu0 {
    display: none;
}
 
#options_113 .report td+td {
    font-size: 0pt;
}
 
/* ######### END ######### */
 
 
 


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


#19 Squintz82

Squintz82

    Veteran

  • Members
  • PipPipPip
  • 59 posts

Posted 08 August 2017 - 07:46 PM

ToS, just curious but has anyone customized the draft and pre-draft screens for long-term drafts? I had done a lot of work making these pages responsive last season. However, with the updated code and new scrolling table structure that MFL uses, it's a complete nightmare to modify now. 



#20 theeohiostate

theeohiostate

    Veteran

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

Posted 09 August 2017 - 05:35 PM

ToS, just curious but has anyone customized the draft and pre-draft screens for long-term drafts? I had done a lot of work making these pages responsive last season. However, with the updated code and new scrolling table structure that MFL uses, it's a complete nightmare to modify now. 

 

 

Habman and i worked for about a month on a new demo site using a global footer and header js file that fixes all the MFL issues we found.

 

We have coding to make all the pages look very nice on mobile , stats pages , all the draft pages , waiver pages , trades , transactions.....all the pages with option boxes ect..

 

This is a pretty advanced demo we built , so you would need to know your way around understanding basic html / css   , and then understand all the var settings we have 

 

We included everyone of our custom scripts , i think i have this demo ready for 23 custom scripts , all css in place , and i have a light and dark version

 

Its by far the most comprehensive all out bad ass site we've ever built , every page MFL has not addressed , is now addressed by our global footer js file , all reports , forms , navigation menu , h3  is all wrapped and can be styled to make the site cohesive on every single page , css is well marked up

 

I can share you a downloadable zip file that has all the HPM , css files  , but i'm not sharing with anyone that will ask me a 100 questions , i just don't have the time to answer them for at least another month

 

 

here are a few screen shots - pm for link to zip file  dark and light skin download

 

1.jpg2.jpg3.jpg4.jpg5.jpg6.jpg

 

7.jpg


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


#21 Squintz82

Squintz82

    Veteran

  • Members
  • PipPipPip
  • 59 posts

Posted 09 August 2017 - 05:50 PM

ToS, just curious but has anyone customized the draft and pre-draft screens for long-term drafts? I had done a lot of work making these pages responsive last season. However, with the updated code and new scrolling table structure that MFL uses, it's a complete nightmare to modify now. 

 
 
Habman and i worked for about a month on a new demo site using a global footer and header js file that fixes all the MFL issues we found.
 
We have coding to make all the pages look very nice on mobile , stats pages , all the draft pages , waiver pages , trades , transactions.....all the pages with option boxes ect..
 
This is a pretty advanced demo we built , so you would need to know your way around understanding basic html / css   , and then understand all the var settings we have 
 
We included everyone of our custom scripts , i think i have this demo ready for 23 custom scripts , all css in place , and i have a light and dark version
 
Its by far the most comprehensive all out bad ass site we've ever built , every page MFL has not addressed , is now addressed by our global footer js file , all reports , forms , navigation menu , h3  is all wrapped and can be styled to make the site cohesive on every single page , css is well marked up
 
I can share you a downloadable zip file that has all the HPM , css files  , but i'm not sharing with anyone that will ask me a 100 questions , i just don't have the time to answer them for at least another month
 
 
here are a few screen shots - pm for link to zip file  dark and light skin download
 

 

That would be amazing, if you don't mind sharing the zip. I tried PMimg you, but it says you're not accepting messages.

#22 Blasts

Blasts

    Veteran

  • Members
  • PipPipPip
  • 46 posts

Posted 09 August 2017 - 07:39 PM

This might be the most confusing question ever posted here
What does this have to do with the draftroom script?

 

Can you fix and correct the code for me? please   I'm aware about MFL changed the code.      I am trying to hide the hortixal menu, banner, else.. I only want to see the teams and rounds on draft grid reports?
 
#body_options_113 .pagebody {[/size]
    width: 100%;
}
 
 
#options_113  table.pageheader {
    display: none;
}
 
#options_113  #hsubmenu {
    display: none;
}
 
#options_113 #vsubmenu { display: none}
 
 
#options_113 .report {
    border-collapse: collapse;
    width: 100%;
}
 
#options_113 .report a {
    text-decoration: none;
    color: #000000;
    display: block;
    font-size: 12pt;
    font-family: Arial, Helvetica, sans-serif;
    white-space: nowrap;
}
 
#options_113 .report td, #options_113 .report th {
    border: 1px solid #000000;
    text-align: center;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 2px;
    padding-right: 2px;
 
}
 
#options_113 .report td, #options_113 .report th a {
    font-weight: bold;
 
}
 
#body_options_113 .reallysmall .position_rb {
    background-color: aqua;
    color: black;
    height: 24px;
    margin-top: -14px;
    margin-right: -2px;
    margin-left: -2px;
    padding: 2px;
    margin-bottom: -15px;
    font-weight: bold;
}
 
#body_options_113 .reallysmall .position_qb {
    background-color: yellow;
    color: black;
    height: 24px;
    margin-top: -14px;
    margin-right: -2px;
    margin-left: -2px;
    padding: 2px;
    margin-bottom: -15px;
    font-weight: bold;
}
 
#body_options_113 .reallysmall .position_wr {
    background-color: white;
    color: black;
    height: 24px;
    margin-top: -14px;
    margin-right: -2px;
    margin-left: -2px;
    padding: 2px;
    margin-bottom: -15px;
    font-weight: bold;
}
 
#body_options_113 .reallysmall .position_te {
    background-color: orange;
    color: black;
    height: 24px;
    margin-top: -14px;
    margin-right: -2px;
    margin-left: -2px;
    padding: 2px;
    margin-bottom: -15px;
    font-weight: bold;
}
 
#body_options_113 .reallysmall .position_pk {
    background-color: lightgreen;
    color: black;
    height: 24px;
    margin-top: -14px;
    margin-right: -2px;
    margin-left: -2px;
    padding: 2px;
    margin-bottom: -15px;
    font-weight: bold;
}
 
#body_options_113 .reallysmall .position_def {
    background-color: Magenta;
    color: black;
    height: 24px;
    margin-top: -14px;
    margin-right: -2px;
    margin-left: -2px;
    padding: 2px;
    margin-bottom: -15px;
    font-weight: bold;
}
 
#body_options_113 .pagefooter {
    display: none;
}
 
#options_113 h3 {
    display: none;
}
 
#body_options_113 #menu0 {
    display: none;
}
 
#options_113 .report td+td {
    font-size: 0pt;
}
 
/* ######### END ######### */
 
 
 

Sorry for confusing you..  I updated some css.  here is 

 
 
/* ######### Style for Draft Grid Report######### */
 
#options_113  #hsubmenu {
    display: none;
}
 
#body_options_113 td.pagetitle {
    display: none;
}
#body_options_113 div.myfantasyleague_menu, td.welcome {
    display: none;
}
 
#body_options_113 {
    background-position: -9000px -9000px
}
 
#body_options_113 td.bannerimage {
    display: none;
}
 
#options_113  table.pageheader {
    display: none;
}
#options_113  table.pageheader {
    display: none;
}
 
#options_113 .report a {
    text-decoration: none;
    color: #000000;
    display: block;
    font-size: 12pt;
    font-family: Arial, Helvetica, sans-serif;
    white-space: nowrap;
}
 
#options_113 .report td, #options_113 .report th {
    border: 1px solid #000000;
    text-align: center;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 2px;
    padding-right: 2px;
 
}
 
#options_113 .report td, #options_113 .report th a {
    font-weight: bold;
 
}
 
#body_options_113 .reallysmall .position_rb {
    background-color: aqua;
    color: black;
    height: 24px;
    margin-top: -14px;
    margin-right: -2px;
    margin-left: -2px;
    padding: 2px;
    margin-bottom: -15px;
    font-weight: bold;
}
 
#body_options_113 .reallysmall .position_qb {
    background-color: yellow;
    color: black;
    height: 24px;
    margin-top: -14px;
    margin-right: -2px;
    margin-left: -2px;
    padding: 2px;
    margin-bottom: -15px;
    font-weight: bold;
}
 
#body_options_113 .reallysmall .position_wr {
    background-color: white;
    color: black;
    height: 24px;
    margin-top: -14px;
    margin-right: -2px;
    margin-left: -2px;
    padding: 2px;
    margin-bottom: -15px;
    font-weight: bold;
}
 
#body_options_113 .reallysmall .position_te {
    background-color: orange;
    color: black;
    height: 24px;
    margin-top: -14px;
    margin-right: -2px;
    margin-left: -2px;
    padding: 2px;
    margin-bottom: -15px;
    font-weight: bold;
}
 
#body_options_113 .reallysmall .position_pk {
    background-color: lightgreen;
    color: black;
    height: 24px;
    margin-top: -14px;
    margin-right: -2px;
    margin-left: -2px;
    padding: 2px;
    margin-bottom: -15px;
    font-weight: bold;
}
 
#body_options_113 .reallysmall .position_def {
    background-color: Magenta;
    color: black;
    height: 24px;
    margin-top: -14px;
    margin-right: -2px;
    margin-left: -2px;
    padding: 2px;
    margin-bottom: -15px;
    font-weight: bold;
}
 
#body_options_113 .pagefooter {
    display: none;
}
 
#options_113 h3 {
    display: none;
}
 
#body_options_113 #menu0 {
    display: none;
}
 
#options_113 .report td+td {
    font-size: 0pt;
}
 
/* ######### END ######### */
 
 
 
 
I need the draft grid to be extended between screen.  Can you do?    something related to table or grid.


#23 Blasts

Blasts

    Veteran

  • Members
  • PipPipPip
  • 46 posts

Posted 09 August 2017 - 07:53 PM

http://www59.myfanta...&DISPLAY=LEAGUE

 
 
I am not sure if you are able to see this.
 
 


#24 theeohiostate

theeohiostate

    Veteran

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

Posted 09 September 2017 - 08:40 AM

We cleaned up the top table for the waiver selections , added icons , rearranged some cells , now you can read on mobile and clean on desktop

 

added to global footer js file , you will need to redownload the css file to get the changes

 

 

8.jpg


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


#25 jro

jro

    Member

  • Members
  • PipPip
  • 15 posts
  • Gender:Male
  • Location:New York

  • 2019 MFL: 22972
  • , 31677

Posted 02 August 2018 - 08:56 AM

It looks like MFL has changed addresses for Draft Timer Settings and Change Draft Pick:

 

%HOST%/%YEAR%/csetup?L=%LEAGUEID%&C=DRAFT

%HOST%/%YEAR%/select_unit?LEAGUE_ID=%LEAGUEID%&COPT=CHNGPICK

 

Can you update this in your script accordingly?

 

Also, I am having a few issues getting this to work with my league which has 2 conferences with separated drafts - would you be willing to look at a test site I have and see if you can help me to get it to work properly (2018 LEAGUE ID: 13835)?

 

Basically when I click between conferences the draft timer and some Commissioner Draft Control buttons are disappearing.

 

Thanks,

Jason



#26 2001Canes

2001Canes

    Member

  • Members
  • PipPip
  • 19 posts

Posted 03 April 2019 - 06:33 PM

Has anyone tried this on there 2019 site, I can't seem to get it to work, it worked last year.



#27 pclivingood

pclivingood

    Veteran

  • Members
  • PipPipPip
  • 72 posts

Posted 27 August 2019 - 11:42 AM

I am drafting tonight. For the last 2 years I have used this script, but it does not appear to be working right now. Is there an update? Thanks!





Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users