Jump to content


Photo

One Click Install - MFL Scripts


185 replies to this topic

#181 MarinoFan

MarinoFan

    Member

  • Members
  • PipPip
  • 22 posts

Posted 23 September 2021 - 11:22 AM

Hoping for some help with a few things, TIA!

 

Quick Links -- I'm having the "Activity" section display twice, one below the other.  Happens both on my computer and cell phone.   Doesn't matter if logged in as owner or commish -- happens in both.

 

League History -- It's not linking beyond 2020.   Years 2019 thru 2006 are blank/dashes.   I've reset and reloaded, twice on different days, but no luck.  I've checked my historical linking and it's fine, but one exception -- my 2019 page (If I visit it and try to link historical there) shows the 2019 year as blank. When I try to select teams, I get teams from a different league entirely!  No idea who they are, but I can't pick any from my own league.   I submitted a ticket on this to MFL, too.    Any ideas?

 

Notifications/Now Online -- When I switch between Commish and Owner, it' always announces backwards.   If I switch to Owner, "Commissioner is now online".  If I switch to Commissioner, "Owner is now onine."      Also, the first time I log in, the notifications box that pops up just cycles the loading circle endlessly until I close the box -- it never actually loads.

 

League is 44021.     Any help would be very much appreciated.   I ran the template install, so everything should be installed per that.   



#182 habman

habman

    Veteran

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

  • 2021 MFL: 55681
  • , 18835

Posted 23 September 2021 - 12:03 PM


Notifications/Now Online -- When I switch between Commish and Owner, it' always announces backwards.   If I switch to Owner, "Commissioner is now online".  If I switch to Commissioner, "Owner is now onine."    .   


While TOS tackles your other issues Ill chime in in this.

This is working as coded even though it seems odd.

The script checks all the users that have been logged in within the last two minutes and then reports those user names but ignores your own user id.

Since you just logged out as owner but you were online within the last two minutes it reports that you are online as owner to the commissioner

The opposite happens when you switch back
My MFL scripts . . . . . . . . http://www.habman.com/mfl/

#183 theeohiostate

theeohiostate

    Veteran

  • Members
  • PipPipPip
  • 4,211 posts
  • Gender:Male
  • Location:O-H-I-O

Posted 23 September 2021 - 01:10 PM

Hoping for some help with a few things, TIA!

 

Quick Links -- I'm having the "Activity" section display twice, one below the other.  Happens both on my computer and cell phone.   Doesn't matter if logged in as owner or commish -- happens in both.

 

League History -- It's not linking beyond 2020.   Years 2019 thru 2006 are blank/dashes.   I've reset and reloaded, twice on different days, but no luck.  I've checked my historical linking and it's fine, but one exception -- my 2019 page (If I visit it and try to link historical there) shows the 2019 year as blank. When I try to select teams, I get teams from a different league entirely!  No idea who they are, but I can't pick any from my own league.   I submitted a ticket on this to MFL, too.    Any ideas?

 

Notifications/Now Online -- When I switch between Commish and Owner, it' always announces backwards.   If I switch to Owner, "Commissioner is now online".  If I switch to Commissioner, "Owner is now onine."      Also, the first time I log in, the notifications box that pops up just cycles the loading circle endlessly until I close the box -- it never actually loads.

 

League is 44021.     Any help would be very much appreciated.   I ran the template install, so everything should be installed per that.   

 

 

The franchise activity module is being duplicated on your site because you have it loaded 2 times , once on the homepage tab and once in the communications tab , remove the Activity module on the communications tab

 

There is a script installed on the template that refreshes the Activity module to display most recent users logged in , its finding 2 instances of that report and appending both

 

Once you remove the 2nd instance it will be fine

 

If you wish to keep both instances of the Owner Activity , then open up your #20 Footer message , find this and remove it

$("#tab202").click(function(){
  $("#tabcontent202").load(window.location.href + "#owner_activity", function() {
    updateOnlineStatus();
  });
});

 

 

 

 

Habman addressed the other issue with the alert script and its working as inteneded

 

The only issue left is your league history. First remove the League History script from your homepage tabs, the template has a link to the history page and this script shouldn't be loaded in the homepage tabs setup. Then....

 

Go the the MFL menu
 
For Commissioners > Setup > History Setup and League History Setup
 
Once on the League History Setup page , enter in these URLs for each season in the corresponding years boxes. Next to each box , check the checkbox for each of these seasons, once all league URLs have been entered and each checkbox next to them has been checked , click the "Update League History" button at bottom of the page.
 
 
https://www64.myfantasyleague.com/2020/home/44021
http://www64.myfantasyleague.com/2019/home/44021
http://www64.myfantasyleague.com/2018/home/44021
http://www64.myfantasyleague.com/2017/home/44021
http://www64.myfantasyleague.com/2016/home/44021
http://www64.myfantasyleague.com/2015/home/36362
http://www64.myfantasyleague.com/2014/home/11399
http://www73.myfantasyleague.com/2013/home/44416
http://www56.myfantasyleague.com/2012/home/37500
http://www61.myfantasyleague.com/2011/home/43839
https://www64.myfantasyleague.com/2010/home/36641
http://www98.myfantasyleague.com/2008/home/13071
http://www98.myfantasyleague.com/2007/home/41681
http://www98.myfantasyleague.com/2006/home/75419

 

 
MFL takes 24 hours to regenerate your past leagues history reports
 
After 24 hours , then go to For Commissioners > Setup > History Setup and Link Historical Franchises , review and link up all the teams with past years teams.
 
Once done , then go to the History App Admin tab , run the History AND the Players update and report back here if any issues still exist.

All the scripts I post were created by Habman , with some small contributions from myself. The man has done an outstanding job giving the community a variety of options to enhance the site. Thank you sir !!


#184 Screaming Eagle

Screaming Eagle

    Veteran

  • Members
  • PipPipPip
  • 370 posts
  • Gender:Male

  • 2021 MFL: 36134

Posted Yesterday, 06:40 PM


https://www54.myfant...21/home/15093#3

There is the link sorry I missed that

Thanks , can anyone else confirm his issue ?

I have tried desktop pc chrome , edge and safari
iPhone chrome and safari
iPad chrome and safari
Android chrome
None of which show any issue when scroll down at any point when ticker installed

I can confirm this is happening. I'm not using your template or ticker, but when I visit your site, the page returns to the top at the start/end of a new ticker message. I believe you might want to look into adding a 'return false' on the ticker animations to see if that will solve the issue.

#185 theeohiostate

theeohiostate

    Veteran

  • Members
  • PipPipPip
  • 4,211 posts
  • Gender:Male
  • Location:O-H-I-O

Posted Yesterday, 06:43 PM

The animations are pure CSS

Mobile or desktop ?
What browser , device

Havent been able ton duplicate any issues on PC , chrome , FF , edge or chrome
iPhone- iPAd safari or chrome
Android chrome

None have any issues

All the scripts I post were created by Habman , with some small contributions from myself. The man has done an outstanding job giving the community a variety of options to enhance the site. Thank you sir !!


#186 Screaming Eagle

Screaming Eagle

    Veteran

  • Members
  • PipPipPip
  • 370 posts
  • Gender:Male

  • 2021 MFL: 36134

Posted Yesterday, 06:50 PM

The animations are pure CSS

Mobile or desktop ?
What browser , device

Chrome on Mobile. Galaxy s8+ and a kindle with Google play added.

Edit. Had the phone wrong.

Edit #2. Empire jumped to the top on home page and top performers page. The Lions den jumped to the top on the top performers page, but I dont think it's jumping on the homepage.



Reply to this topic



  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users