Jump to content


Photo

Mini-Scoreboard


80 replies to this topic

#1 habman

habman

    Veteran

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

  • 2017 MFL: 55681
  • , 18835

Posted 06 May 2017 - 05:49 AM

This mini-scoreboard shows the MFL matchups in a given week.  It can be toggled to show NFL scores and it will scroll from one week to the next.

 

While the games are in progress it will show the "on pace" points in addition to the actual score for MFL games.  

 

If no matchups are set it will default to an "all-play" scoreboard.

 

The mini-scoreboard uses css classes from the skin so that it will match the rest of the site as best as possible and will scale down to mobile sites nicely.

 

I like to place mine in the header because that is where I think it looks best but it does not have to be placed in a header message.

 

The script supports custom icons, icon, logos and abbrev if set.

 

This script will replaces any previous versions of my mini-scoreboard script.

 

Here is what it looks like on one of my sites: http://www66.myfanta...2017/home/55681

 

If you are not already using jQuery then place the following script in a home page message marked as a header message:

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

 

Here is the script to paste in a home page message:

<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>

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

#2 Zcarter

Zcarter

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 06 May 2017 - 08:19 AM

Hey Habman, this is awesome!! What do I need to do to fix the heading size? The scroll arrows are bigger. See here....https://www50.myfant...17/home/54227#0



#3 theeohiostate

theeohiostate

    Veteran

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

Posted 06 May 2017 - 10:30 AM

Hey Habman, this is awesome!! What do I need to do to fix the heading size? The scroll arrows are bigger. See here....https://www50.myfant...17/home/54227#0

 

 

add this to your css

 

.MFLBoxArrowLeft,.MFLBoxArrowRight {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

 


FREE Player Cuts Collection
http://www.nitrograf...nfl-playercuts/

#4 habman

habman

    Veteran

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

  • 2017 MFL: 55681
  • , 18835

Posted 06 May 2017 - 01:49 PM

I wil

 

Hey Habman, this is awesome!! What do I need to do to fix the heading size? The scroll arrows are bigger. See here....https://www50.myfant...17/home/54227#0

 

 

add this to your css

 

.MFLBoxArrowLeft,.MFLBoxArrowRight {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

 

TOS I will add this to the script so it is there by default


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

#5 UFFLCommish

UFFLCommish

    Veteran

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

Posted 06 May 2017 - 05:50 PM

I copied and pasted the script into a HPM and put it on the homepage.

 

Any idea why it's not working like yours?

 

http://www57.myfanta...17/home/26088#0

 

Thanks for any help.



#6 DA-G-GURU

DA-G-GURU

    Veteran

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

Posted 06 May 2017 - 05:59 PM

Probably Karma.... Nice top player images you have there, you just continue to take don't you.


Simply The Best in Grafix and CSS webdesign since 2005

www.dagrafixdesigns.com

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

#7 habman

habman

    Veteran

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

  • 2017 MFL: 55681
  • , 18835

Posted 06 May 2017 - 09:45 PM

I edited the file to add some additional CSS that will hopefully resolve some of the issues that some users are experiencing.

 

Once TOS compresses and uploads the script you may have to do a CTRL-F5 to clear your cache.  

 

Either TOS or myself will post when the file is uploaded.


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

#8 theeohiostate

theeohiostate

    Veteran

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

Posted 07 May 2017 - 05:12 AM

file updated


FREE Player Cuts Collection
http://www.nitrograf...nfl-playercuts/

#9 NateDawg

NateDawg

    Veteran

  • Members
  • PipPipPip
  • 54 posts
  • Gender:Male

Posted 09 May 2017 - 08:07 PM

Love what you guys do. Is there any way I can make the logos bigger on the scoreboard?

 

http://www65.myfanta...17/home/75853#0



#10 theeohiostate

theeohiostate

    Veteran

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

Posted 09 May 2017 - 08:16 PM

Love what you guys do. Is there any way I can make the logos bigger on the scoreboard?
 
http://www65.myfanta...17/home/75853#0


Use CSS and make them any size u want
FREE Player Cuts Collection
http://www.nitrograf...nfl-playercuts/

#11 Gschube

Gschube

    Member

  • Members
  • PipPip
  • 29 posts

Posted 07 September 2017 - 09:11 PM

I am having trouble with my mini scoreboard. Hoping someone might have some helpful suggestions to fix?

http://www61.myfanta...17/home/43740#0

#12 theeohiostate

theeohiostate

    Veteran

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

Posted 07 September 2017 - 09:17 PM

I am having trouble with my mini scoreboard. Hoping someone might have some helpful suggestions to fix?
http://www61.myfanta...17/home/43740#0


I suppose we could guess the problem or you could share with us
FREE Player Cuts Collection
http://www.nitrograf...nfl-playercuts/

#13 Gschube

Gschube

    Member

  • Members
  • PipPip
  • 29 posts

Posted 07 September 2017 - 10:28 PM

My mini scoreboard scores have disappeared for fantasy games. NFL games are fine. I checked the coding and everything is the same.

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

Homepage module
<script>
var mflBoxStylesheetPath = "//www.nitrografixx.com/MFL-Scoreboard/skin/";
var mflBoxHomePageOnly = 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>

#14 habman

habman

    Veteran

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

  • 2017 MFL: 55681
  • , 18835

Posted 07 September 2017 - 10:41 PM

My mini scoreboard scores have disappeared for fantasy games. NFL games are fine. I checked the coding and everything is the same.

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

Homepage module
<script>
var mflBoxStylesheetPath = "//www.nitrografixx.com/MFL-Scoreboard/skin/";
var mflBoxHomePageOnly = 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>

 

I will try to do some testing but if I can't figure it out you may have to duplicate your league then give me commish access to that league.  I will get back to you.


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

#15 Gschube

Gschube

    Member

  • Members
  • PipPip
  • 29 posts

Posted 07 September 2017 - 10:48 PM

Give me a moment and I'll duplicate



Reply to this topic



  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users