Jump to content


Photo

Mini-Scoreboard


95 replies to this topic

#61 philwojo99

philwojo99

    Veteran

  • Members
  • PipPipPip
  • 132 posts
  • Gender:Male
  • Location:Darien, IL

  • 2019 MFL: 43109

Posted 27 September 2017 - 07:35 AM

 

 

 

Do you have jquery loaded on your site?

I added this line to my header.  1st line.   

 

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>

 

Should it be going somewhere else?

Maybe we have too many other scripts running on our site?    If I move all the code to the top - it now loads the teams and logos - but not the scores.

 

Plus does not look quite right with the scoreboard at the very top..

 

When I move it below the top bar - nothing loads.  

 

http://www59.myfanta...17/home/42130#0

You have "out-dated" scripts.

 

Remove home page message 10 entirely which is an old version (2008) of the mini-scoreboard.

 

Also remove from you footer HPM anything with regards to the newsicon script

I think I removed everything - still not working correctly....  what am I missing?

 

 

Personally, I would duplicate your league and then remove all the HPM modules and just load them back one at a time until you get what you want/need.  Once you get it all working on your "test" site then duplicate that back to your main site.  

 

Seems like you have years of things in there and not all of them work any more but without knowing what each is, meaning if you didn't name them well or didn't add additional help messages in the code it can be tricky.  I don't like playing on my live site to do these types of things, and they give you a free test site, why not utilize it.

 

I did this for myself this year and cleaned up a lot of crap that wasn't used and found my site now loads a lot quicker than previous years.



#62 UFFLCommish

UFFLCommish

    Veteran

  • Members
  • PipPipPip
  • 423 posts
  • Gender:Male
  • Location:Greenville, SC

Posted 28 September 2017 - 10:40 PM

I don't know if this has been addressed already but is there a way to prevent the projected scores from being doubled in leagues that have double headers?



#63 habman

habman

    Veteran

  • Members
  • PipPipPip
  • 2,759 posts
  • Gender:Male
  • Location:Leamington ON, Canada

  • 2019 MFL: 55681
  • , 18835

Posted 28 September 2017 - 10:49 PM

I don't know if this has been addressed already but is there a way to prevent the projected scores from being doubled in leagues that have double headers?

No.  Give me a league ID and I will have a look.


My MFL scripts . . . . . . . . http://www.habman.com/mfl/

#64 habman

habman

    Veteran

  • Members
  • PipPipPip
  • 2,759 posts
  • Gender:Male
  • Location:Leamington ON, Canada

  • 2019 MFL: 55681
  • , 18835

Posted 29 September 2017 - 09:56 AM

I don't know if this has been addressed already but is there a way to prevent the projected scores from being doubled in leagues that have double headers?

 

Do a hard refresh.  Should be good now.


My MFL scripts . . . . . . . . http://www.habman.com/mfl/

#65 sfancik

sfancik

    Member

  • Members
  • PipPip
  • 13 posts
  • Gender:Male

  • 2019 MFL: 44896

Posted 03 October 2017 - 09:33 AM

Hi -

 

I had asked a few pages back about the mini-scoreboard not changing to display weeks with fantasy teams on bye.  (Our league goes through to Week 17 and each team has a bye week where they score points but don't W or L.)

 

The scoreboard at the top of the main scoreboard app displays these weeks correctly (8-11 in our league) but the mini scoreboard does not.  Sticks on Week 7 as you go through 8-11 and then changes when you hit Week 12.....and same when you scroll back, sticks on Week 12 til you get back to 7.

 

Was wondering if it was something easy to fix or if there was an error in the way I had it set up.  Any help or advice would be appreciated.

 

Love both apps...that issue aside.

 

http://www51.myfanta...17/home/44896#0

 

peace



#66 habman

habman

    Veteran

  • Members
  • PipPipPip
  • 2,759 posts
  • Gender:Male
  • Location:Leamington ON, Canada

  • 2019 MFL: 55681
  • , 18835

Posted 03 October 2017 - 10:01 AM

Hi -

 

I had asked a few pages back about the mini-scoreboard not changing to display weeks with fantasy teams on bye.  (Our league goes through to Week 17 and each team has a bye week where they score points but don't W or L.)

 

The scoreboard at the top of the main scoreboard app displays these weeks correctly (8-11 in our league) but the mini scoreboard does not.  Sticks on Week 7 as you go through 8-11 and then changes when you hit Week 12.....and same when you scroll back, sticks on Week 12 til you get back to 7.

 

Was wondering if it was something easy to fix or if there was an error in the way I had it set up.  Any help or advice would be appreciated.

 

Love both apps...that issue aside.

 

http://www51.myfanta...17/home/44896#0

 

peace

Sorry about that.  Your post kind of got lost in the shuffle.  I will have a look at this today sometime.


My MFL scripts . . . . . . . . http://www.habman.com/mfl/

#67 habman

habman

    Veteran

  • Members
  • PipPipPip
  • 2,759 posts
  • Gender:Male
  • Location:Leamington ON, Canada

  • 2019 MFL: 55681
  • , 18835

Posted 04 October 2017 - 02:31 PM

Hi -

 

I had asked a few pages back about the mini-scoreboard not changing to display weeks with fantasy teams on bye.  (Our league goes through to Week 17 and each team has a bye week where they score points but don't W or L.)

 

The scoreboard at the top of the main scoreboard app displays these weeks correctly (8-11 in our league) but the mini scoreboard does not.  Sticks on Week 7 as you go through 8-11 and then changes when you hit Week 12.....and same when you scroll back, sticks on Week 12 til you get back to 7.

 

Was wondering if it was something easy to fix or if there was an error in the way I had it set up.  Any help or advice would be appreciated.

 

Love both apps...that issue aside.

 

http://www51.myfanta...17/home/44896#0

 

peace

Okay do a CTRL-F5 and it should be working.


My MFL scripts . . . . . . . . http://www.habman.com/mfl/

#68 sfancik

sfancik

    Member

  • Members
  • PipPip
  • 13 posts
  • Gender:Male

  • 2019 MFL: 44896

Posted 06 October 2017 - 01:31 PM

Hi -

 

I had asked a few pages back about the mini-scoreboard not changing to display weeks with fantasy teams on bye.  (Our league goes through to Week 17 and each team has a bye week where they score points but don't W or L.)

 

The scoreboard at the top of the main scoreboard app displays these weeks correctly (8-11 in our league) but the mini scoreboard does not.  Sticks on Week 7 as you go through 8-11 and then changes when you hit Week 12.....and same when you scroll back, sticks on Week 12 til you get back to 7.

 

Was wondering if it was something easy to fix or if there was an error in the way I had it set up.  Any help or advice would be appreciated.

 

Love both apps...that issue aside.

 

http://www51.myfanta...17/home/44896#0

 

peace

Okay do a CTRL-F5 and it should be working.

 

Cool.  Thanks a lot.  Perfect.  You got a "donate" button anywhere?



#69 UCanCallMeMitch

UCanCallMeMitch

    Veteran

  • Members
  • PipPipPip
  • 3,557 posts
  • Gender:Male
  • Location:Colorado

  • 2019 MFL: 38948
  • , 64543

Posted 07 October 2017 - 03:49 AM

PayPal

lmastron@netscape.net

ldsportslogoindex_32x32.png  LuckyDog Sports 

" Fantasy Fun For Football Fanatics "


#70 habman

habman

    Veteran

  • Members
  • PipPipPip
  • 2,759 posts
  • Gender:Male
  • Location:Leamington ON, Canada

  • 2019 MFL: 55681
  • , 18835

Posted 09 September 2018 - 08:15 PM

I have been playing around with this a bit over the last couple of days.
 
I haven't included this in the actual shared js file yet as I want to get input.
 
Check out the following league and click on any one of the team rows in the scoreboard.  A popup should come up with all the players for that team with their projected points and actual points and whether they have played, are currently playing or have yet to play.
 
For those that are using this script is it too much or is it a worthwhile addition?
 
http://www65.myfanta...18/home/18835#0
My MFL scripts . . . . . . . . http://www.habman.com/mfl/

#71 FFTL

FFTL

    Veteran

  • Members
  • PipPipPip
  • 214 posts
  • Gender:Male
  • Location:Baltimore

Posted 10 September 2018 - 09:39 AM

When i place the code in at the top the scoreboard does not show correctly. Below is my css, any advice? My guess is I should not place it at the top? (I took out the scoreboard code on the site since it was messing it up. http://www74.myfanta...2018/home/19908

 

<script>
var mflBoxStylesheetPath = "//www.nitrografixx.com/MFL-Scoreboard/skin/";
var mflBoxHomePageOnly = true;
var mflBoxDetails = true;
var mflBoxDeclareLiveWinner = true;

//MFL SCOREBOARD
var mflBoxUseIcon = true; // if true will use mfl icon unless user-defined below has been set
var mflBoxUseLogo = false; // if true will use mfl logo unless user-defined below has been set
var mflBoxUseAbbrev = false; // if true will use mfl abbrev
var mflBoxIconBase = ""; // user-defined image (example where images are mini0001.gif, mini0002.gif etc. use "http://www.myhost.com/images/mini")
var mflBoxIconExt = ""; //user-defined extension (from example above use "gif")

//NFL SCOREBOARD
var mflBoxNFLLogoPath = "//www.nitrografixx.com/MFL-Popups/NFL-custom-logos/";
var mflBoxNFLLogoExt = "png";
</script>

<script src="//www.nitrografixx.com/MFL-Mini-Scoreboard/mini_scoreboard.js"></script>


 

<div class="row">

 <div class="col-md-4 col-md-push-8">

   <div class="utility-nav">

     <div class="utility-nav--button">

       <a href="//%HOST%/%YEAR%/options?L=%LEAGUEID%&O=133">

         <svg class="icon-exchange">

           <use xlink:href="#icon-exchange"></use>

         </svg>

         <div class="svg-text">Trade Block</div>

       </a>

     </div>

     <div class="utility-nav--button">

       <a href="//%HOST%/%YEAR%/home/%LEAGUEID%?MODULE=MESSAGE20">

         <svg class="icon-file-text">

           <use xlink:href="#icon-file-text"></use>

         </svg>

         <div class="svg-text">Rules</div>

       </a>

     </div>

     <div id="loginlink" class="utility-nav--button loginbutton">

       <svg class="icon-sign-in">

         <use xlink:href="#icon-sign-in"></use>

       </svg>

       <div class="svg-text"></div>

     </div>

   </div>

   <module name="TRADES" />

   <module name="LEAGUE_CHAT" COUNT="10" />

   <div class="hidden-xs hidden-sm">

     <module name="OWNER_ACTIVITY" />

     <module name="MY_NEWS" COUNT="10" />

     <module name="NEXT_WEEKS_FANTASY_SCHEDULE" />

   </div>

 </div>

 <div class="col-md-8 col-md-pull-4">

   <div class="mobile-standings-wrapper hidden-xs">

           

   </div>

   <div class="visible-xs visible-sm">

    

   </div>

   <module name="MESSAGE_BOARD_SUMMARY" COUNT="5" />

<module name="STANDINGS" UNIT="DIVISION00" />

   <module name="POWER_RANK" DISPLAY="LEAGUE" />  

<module name="FANTASY_PREVIEW"/>

<module name="FANTASY_RECAP"/>

   <div class="visible-xs visible-sm">

     <module name="MY_NEWS" COUNT="10" />

   </div>

   <module name="TOP_PERFORMERS" />

   <div class="visible-xs visible-sm">

     <module name="NEXT_WEEKS_FANTASY_SCHEDULE" />

     <module name="OWNER_ACTIVITY" />

   </div>

 </div>

</div>

<script src="//mfl.football/assets/js/homepage.js"></script>


@lilbitmawhney


#72 DA-G-GURU

DA-G-GURU

    Veteran

  • Members
  • PipPipPip
  • 1,177 posts
  • Gender:Male
  • Location:DAGrafixDesigns.com

Posted 10 September 2018 - 10:15 AM

When i place the code in at the top the scoreboard does not show correctly. Below is my css, any advice? My guess is I should not place it at the top? (I took out the scoreboard code on the site since it was messing it up. http://www74.myfanta...2018/home/19908

 

<script>
var mflBoxStylesheetPath = "//www.nitrografixx.com/MFL-Scoreboard/skin/";
var mflBoxHomePageOnly = true;
var mflBoxDetails = true;
var mflBoxDeclareLiveWinner = true;

//MFL SCOREBOARD
var mflBoxUseIcon = true; // if true will use mfl icon unless user-defined below has been set
var mflBoxUseLogo = false; // if true will use mfl logo unless user-defined below has been set
var mflBoxUseAbbrev = false; // if true will use mfl abbrev
var mflBoxIconBase = ""; // user-defined image (example where images are mini0001.gif, mini0002.gif etc. use "http://www.myhost.com/images/mini")
var mflBoxIconExt = ""; //user-defined extension (from example above use "gif")

//NFL SCOREBOARD
var mflBoxNFLLogoPath = "//www.nitrografixx.com/MFL-Popups/NFL-custom-logos/";
var mflBoxNFLLogoExt = "png";
</script>

<script src="//www.nitrografixx.com/MFL-Mini-Scoreboard/mini_scoreboard.js"></script>


 

<div class="row">

 <div class="col-md-4 col-md-push-8">

   <div class="utility-nav">

     <div class="utility-nav--button">

       <a href="//%HOST%/%YEAR%/options?L=%LEAGUEID%&O=133">

         <svg class="icon-exchange">

           <use xlink:href="#icon-exchange"></use>

         </svg>

         <div class="svg-text">Trade Block</div>

       </a>

     </div>

     <div class="utility-nav--button">

       <a href="//%HOST%/%YEAR%/home/%LEAGUEID%?MODULE=MESSAGE20">

         <svg class="icon-file-text">

           <use xlink:href="#icon-file-text"></use>

         </svg>

         <div class="svg-text">Rules</div>

       </a>

     </div>

     <div id="loginlink" class="utility-nav--button loginbutton">

       <svg class="icon-sign-in">

         <use xlink:href="#icon-sign-in"></use>

       </svg>

       <div class="svg-text"></div>

     </div>

   </div>

   <module name="TRADES" />

   <module name="LEAGUE_CHAT" COUNT="10" />

   <div class="hidden-xs hidden-sm">

     <module name="OWNER_ACTIVITY" />

     <module name="MY_NEWS" COUNT="10" />

     <module name="NEXT_WEEKS_FANTASY_SCHEDULE" />

   </div>

 </div>

 <div class="col-md-8 col-md-pull-4">

   <div class="mobile-standings-wrapper hidden-xs">

           

   </div>

   <div class="visible-xs visible-sm">

    

   </div>

   <module name="MESSAGE_BOARD_SUMMARY" COUNT="5" />

<module name="STANDINGS" UNIT="DIVISION00" />

   <module name="POWER_RANK" DISPLAY="LEAGUE" />  

<module name="FANTASY_PREVIEW"/>

<module name="FANTASY_RECAP"/>

   <div class="visible-xs visible-sm">

     <module name="MY_NEWS" COUNT="10" />

   </div>

   <module name="TOP_PERFORMERS" />

   <div class="visible-xs visible-sm">

     <module name="NEXT_WEEKS_FANTASY_SCHEDULE" />

     <module name="OWNER_ACTIVITY" />

   </div>

 </div>

</div>

<script src="//mfl.football/assets/js/homepage.js"></script>

 

 

 

 

 

You should read the CSS 101 topic to learn the basics (difference) between CSS, HTML, scripts, etc.

There's a link to that topic inside the pinned topic at the top of this coding forum.


Simply The Best in Grafix and CSS webdesign since 2005

www.dagrafixdesigns.com

---------------
Twitter @DA_Sticks

#73 BobA

BobA

    Veteran

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

  • 2019 MFL: 44355

Posted 10 September 2018 - 12:31 PM

I have been playing around with this a bit over the last couple of days.
 
<<<<snip>>>
 
For those that are using this script is it too much or is it a worthwhile addition?

 

 

Yes, I like it. I have your regular scoreboard on my league's page but I may include this one and move the more in-depth regular one to my Gameday tab. 


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


#74 UCanCallMeMitch

UCanCallMeMitch

    Veteran

  • Members
  • PipPipPip
  • 3,557 posts
  • Gender:Male
  • Location:Colorado

  • 2019 MFL: 38948
  • , 64543

Posted 14 September 2018 - 05:17 AM

Since I didn't get a response in This Thread, I thought I would see if the Script for this Mini-Scoreboard could be modified for use off-site (not MFL hosted) displaying only the current Week's NFL Scores


ldsportslogoindex_32x32.png  LuckyDog Sports 

" Fantasy Fun For Football Fanatics "


#75 UCanCallMeMitch

UCanCallMeMitch

    Veteran

  • Members
  • PipPipPip
  • 3,557 posts
  • Gender:Male
  • Location:Colorado

  • 2019 MFL: 38948
  • , 64543

Posted 25 September 2018 - 04:14 PM

Check this out.

 

When all the Franchises in the League have a Bye in ProDraft when we Redraft the Mini Scoreboard shows matchups and the Live ScoreBoard shows the matchups as if they are All-Play

 

Click on Week 4 to see what I mean.

 

Can someone explain?


ldsportslogoindex_32x32.png  LuckyDog Sports 

" Fantasy Fun For Football Fanatics "




Reply to this topic



  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users