Jump to content


Photo

Commissioners Ability script updated


No replies to this topic

#1 theeohiostate

theeohiostate

    Veteran

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

Posted 15 February 2020 - 07:21 PM

Habman has Updated this to work for 2020

 

Reference thread - http://forums.myfant...showtopic=35603

 

 

PLACE THE FOLLOWING IN A HEADER MESSAGE - BE SURE TO SET VAR FOR "SetHPMability" for where you install the script file commissioner.js
<script>

var SetHPMability = 18; // Set HPM# of where you you installed commissioner abilities script

jQuery('.myfantasyleague_ menuMobile ul li:contains("For Commissioners") a:contains("Setup")').parent().before('<li><a class="no-sub" href="' + baseURLDynamic + '/' + year + '/home/' + league_id + '?MODULE=MESSAGE' + SetHPMability + '">Custom Abilities</a></li>');
jQuery('.myfantasyleague_menu ul li:contains("For Commissioners") a:contains("Setup")').parent().before('<li><a class="no-sub" href="' + baseURLDynamic + '/' + year + '/home/' + league_id + '?MODULE=MESSAGE' + SetHPMability + '">Custom Abilities</a></li>');
</script> 

 

 
 
PLACE THE FOLLOWING IN A HOMEPAGE MESSAGE
<h3>FOR COMMISSIONERS > CUSTOM ABILITIES</h3>
<div id="commishContainer" style="text-align:center"></div>


<script src="//www.nitrografixx.com/MFL-Abilities/commissioner.js"></script> 

 


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




Reply to this topic



  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users