Jump to content


Photo

MFLScripts.com


66 replies to this topic

#16 BobA

BobA

    Veteran

  • Members
  • PipPipPip
  • 843 posts
  • Gender:Male
  • Location:Houston, Texas

  • 2020 MFL: 44355

Posted 13 October 2020 - 10:56 AM

Thanks TOS. Ill fix it when I get home. Sorry, btw, thought I had league link in my sig. My bad

2020 League Home

 

The Ed Hughes Football League, Since 1980
2020...Our 41st Season!! 


----------
"Yes, well, everybody in Casablanca has problems. Yours may work out." -Rick Blaine


#17 grooves12

grooves12

    Veteran

  • Members
  • PipPipPip
  • 81 posts

Posted 13 October 2020 - 08:58 PM

TOS,

 

I've been using modified versions of your global header/footer/CSS. About the only thing I'm not a fan of are moving the filters on the add/drop pages to the header. They are too difficult to use on mobile. So, I host a copy of the footer with that section of code deleted. I noticed you are adding more options to your code to allow the ability to turn portions on/off (such as the chat enhancements and box scores.) Is there any possibility you can make moving the filters an option? If not, I understand. I would just prefer to link directly to your code, so I can always have the latest.

 

Also, I made a bunch of CSS changes to make the site more readable/usable on mobile. It's mostly increasing font sizes, but there are a few fixes for reports that didn't display properly too. If you care to see what I have, let me know.



#18 theeohiostate

theeohiostate

    Veteran

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

Posted 14 October 2020 - 10:06 AM

pm me the css you added

 

I added mobile detection for the add drop filters , if mobile detected then filters are default to MFL layout , if not , then filters are applied in the table header



#19 theeohiostate

theeohiostate

    Veteran

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

Posted 28 October 2020 - 02:34 PM

all scripts have been moved to new domain , please start relinking any of these files from the Nitrografixx domain to the MFLScripts domain.

 

I will be leaving files on nitro till the end of the year then closing that domain down .  No scripts on nitro server will be updated the rest of the year also.



#20 BobA

BobA

    Veteran

  • Members
  • PipPipPip
  • 843 posts
  • Gender:Male
  • Location:Houston, Texas

  • 2020 MFL: 44355

Posted 28 October 2020 - 03:27 PM

Hi TOS...I'm wondering about something re: the Live Scoreboard enhancement....

 

When I read the instructions that are here:

 

 

Install instructions here - https://www.mflscripts.com/mfl-apps/scoreboard/replace-mflScoring/1.READ_ME_HELP.html
 

And I get to this:

 

H2H JS                           PLACE IN FOOTER MESSAGE

 

I see this:

 

 

<script>
var ls_scoreboardName = "LEAGUE SCOREBOARD";   //enter text to name your scoreboard
var showTeamName = false;                      //set to true to display franchise names in scoreboard header
var showTeamIcon = true;                       //set to true to display franchise icons in scoreboard header
var ls_includeProjections = true;              //set to true to display projections next to player scores
var ls_includeInjuryStatus = true;             //set to true to display injury status as per the norm
var ls_excludeIR = true;                       //set to true to remove players on fantasy IR
var ls_excludeTaxi = true;                     //set to true to remove players on taxi squad
var ls_popup_abbrev_name_icon = 2;             // -1=disable; 0=abbrev; 1=name; 2=icon
var ls_orig_proj_when_final = true;            //set true to change pace to projection when games go final
var ls_popup_status = true;                    //set true to add status of player to popup
var ls_box_abbrev_name_icon = 2;               //0=abbrev; 1=name; 2=icon; 3=icon+abbrev; 4=icon+name
var ls_hide_bye_teams = false;                 //set to true to hide boxscore matchup teams on bye weeks
</script>
<!-- MFL LIVE SCORING SCRIPT H2H LEAGUES -->
<script src="//nitrografixx.com/MFL-Scoreboard/mfl_ls_scoring.js"></script>
 

The nitrografixx.com throws me since I know you have moved away from there.....is that supposed to be replaced with this:

 

 

https://www.mflscripts.com/mfl-apps/scoreboard/replace-mflScoring/h2h.js
 

 

my league here: https://www61.myfant...2020/home/44355

 

Thanks


2020 League Home

 

The Ed Hughes Football League, Since 1980
2020...Our 41st Season!! 


----------
"Yes, well, everybody in Casablanca has problems. Yours may work out." -Rick Blaine


#21 theeohiostate

theeohiostate

    Veteran

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

Posted 28 October 2020 - 03:36 PM

good catch , forgot to update those links , have that fixed now



#22 BobA

BobA

    Veteran

  • Members
  • PipPipPip
  • 843 posts
  • Gender:Male
  • Location:Houston, Texas

  • 2020 MFL: 44355

Posted 28 October 2020 - 03:49 PM

Quick followup, TOS, if you don't mind...

 

 

nm..had a question on styling and I puzzled it out.

 

 

 

 

 

Thanks again for all you and Hab do. My owners love the customizations. I think I've got everything updated, too.


2020 League Home

 

The Ed Hughes Football League, Since 1980
2020...Our 41st Season!! 


----------
"Yes, well, everybody in Casablanca has problems. Yours may work out." -Rick Blaine


#23 theeohiostate

theeohiostate

    Veteran

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

Posted 28 October 2020 - 05:36 PM

you still have History script to point to new domain i see on your site



#24 BobA

BobA

    Veteran

  • Members
  • PipPipPip
  • 843 posts
  • Gender:Male
  • Location:Houston, Texas

  • 2020 MFL: 44355

Posted 28 October 2020 - 06:26 PM

you still have History script to point to new domain i see on your site


TY

 

I just figured that out and came here to get the new link. I kept seeing a reference to 'reading nitrografixx.com' when it was laoding and figured I'd missed something.


2020 League Home

 

The Ed Hughes Football League, Since 1980
2020...Our 41st Season!! 


----------
"Yes, well, everybody in Casablanca has problems. Yours may work out." -Rick Blaine


#25 theeohiostate

theeohiostate

    Veteran

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

Posted 30 October 2020 - 07:28 AM

added a few more scripts and think i'm 100% finished unless anyone sees any script they use that i have missed



#26 theeohiostate

theeohiostate

    Veteran

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

Posted 06 November 2020 - 10:56 AM

redid the popup scripts to load api calls asynchronous instead synchronous , so its loading much faster now

 

habman working on redoing some of the major scripts this way , should help with page load times tremendously 



#27 theeohiostate

theeohiostate

    Veteran

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

Posted 07 November 2020 - 08:10 AM

We have found these updates have lowered page load times by several seconds. Scripts running much much faster now. We are working our way through several scripts to make these changes so overall performance should be significantly better. No edits need to be made on your sites as long as scripts are linked to my new domain. Maybe do hard refresh to re cache updated file or add/change version number of script url

#28 theeohiostate

theeohiostate

    Veteran

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

Posted 30 November 2020 - 02:35 PM

Habman has revised the playoff seeding script to work as a stand alone script , and not need to use the old generator to create you file.

 

If you had been or have used the script , you can leave all your var settings as they are , and just copy the script file , css , and the html

 

 

See here

 

https://www.mflscrip...AD_ME_HELP.html

 

 

<!-- CSS FOR PLAYOFF SEEDINGS -->
<style>
/* set width or heights for franchise icons or logos */
  .franchise-icon{width:150px}

/* playoff popup box style to match light or dark sites */
  .playoff-report-modal-content{background:#fff;color:#000}

/* playoff popup box "x" button to close */
  .playoff-report-modal-header .close{position:absolute;z-index:1;cursor:pointer;border-radius:3px;text-align:center;font-weight:700;background:red;border:2px solid #000;color:#fff;right:9px;top:10px;height:22px;width:22px;line-height:1.4;font-size:13px}
  .playoff-report-modal-header .close:hover,.playoff-report-modal-header .close:focus{background:#fff;border-color:#000;color:red}

/* playoff popup box player caption area - style to match your sites captions */
  .playoff-report-modal-header h2{width:100%;border-left:0;border-right:0;border-top:0;display:inline-block;border-radius:0;font-weight:700;font-size:22px;background:none;padding:8px 5px;text-align:left;line-height:100%;text-transform:uppercase;color:red;padding-bottom:0}
  
#playoff-report-modal-content .seed-group ul,#playoff-report-modal-content .still-tied ul{font-size:smaller;padding-left:20px}
#playoff-report-modal-content .seed-group ul ul{font-size:100%;padding-left:10px}

#playoff-report-modal-content .still-tied li::before,#playoff-report-modal-content .seed-group ul ul li::before{content:"\f005";font-family:FontAwesome;padding-right:3px;color:red}
#playoff-report-modal-content .still-tied{font-style:italic;margin:10px;margin-bottom:0;border-top:2px solid #000;border-bottom:2px solid #000;padding:10px 0}

.seed-advanced{font-weight:700}
.seed-eliminated{text-decoration:line-through}
.tie-broken{font-weight:700;text-align:center;font-size:large;padding-top:10px}
.tie-broken-team{text-align:center}
</style>

<script src="https://www.mflscripts.com/mfl-apps/playoffs/script.js?v=1.0.4"></script>

<!-- HTML FOR PLAYOFF SEEDINGS -->
<div id="playoffTable"></div>

<!-- VAR SETTINGS FOR PLAYOFF SEEDINGS -->
<script>

HERE YOU CAN JUST COPY AND PASTE YOUR OLD OR EXISTING VAR SETTINGS OR SEE THE HELP ME LINK FOR A FULL LIST OF ALL VAR SETTINGS

</script>


#29 GMD2047

GMD2047

    Veteran

  • Members
  • PipPipPip
  • 41 posts

Posted 30 November 2020 - 08:51 PM

Hey guys, 

I tried using this but for some reason it isn't showing up at all for me.

I have tried copying the script directly from MFLScripts.com and the version edited for my league. 

 

I have it on the playoff tab: http://www63.myfanta...20/home/31769#6

 

Any ideas?

 

Thanks



#30 theeohiostate

theeohiostate

    Veteran

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

Posted 30 November 2020 - 09:36 PM

copy it EXACTLY as its listed on mlfscripts without changing any settings and see if it loads
 
if it loads , then adjust 1 setting at a time and see what var setting your using is causing the script to break and let us know

Im guessing is your tie breaker rules , you have about 10 different rules in place that may be a better shot at winning the lottery then using all those tie breakers.



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users