Relocated Teams Information on DL - by jayenomics on 2014-10-24 02:55:18 | |
---|---|
jayenomics | on 2014-10-24 02:55:18 |
Since 11 years ago |
Would love to see teams that have moved not called by their old teams names on Daddy Leagues. |
jayenomics | on 2014-10-26 01:21:14 |
Since 11 years ago |
No one else? |
papi83dm | on 2014-10-29 13:39:40 |
827 Posts
Since 12 years ago |
when you go to the team pages, it should show the team name and logo. |
jayenomics | on 2014-11-02 20:53:03 |
Since 11 years ago |
any plan to make that league wide? It seems kinda half done at this point. |
papi83dm | on 2014-11-07 15:08:58 |
827 Posts
Since 12 years ago |
what do you mean league wide? |
GBDawg1 | on 2015-02-28 10:49:48 |
27 Posts
Since 12 years ago |
I think what he means is that the team page is ok, but the results boxes and the logos at the top of the page where you link to the teams still shows the old team. We have had the St Louis Rams relocate to LA and become the Crusaders and whilst the team page now shows who they are, it would be good if at least the results boxes could show "LOS" or "LAC" or something like that, rather than still STL. |
jayenomics | on 2015-03-31 18:36:41 |
Since 11 years ago |
This, exactly this. |
papi83dm | on 2015-04-06 14:07:23 |
827 Posts
Since 12 years ago |
some of the images are static like the power ranking and playoff race, the new team relocation don't have abbreviation that's why it shows the old team abbreviation on the scoreboard navigation. |
Deleted | on 2015-04-07 14:05:15 |
175 Posts
Since 12 years ago |
Hey Jay. This isn't perfect and it takes alot of work, but here is what I came up with a few years ago when I wanted to change this in my old league. The example I am giving is for the Oakland Raiders to the Portland Snowcats... Enter the following codes beneath your CSS code in the league header. It should begin like this... <script> Here is the code for changing the team link on the player's profile... $('.player-team-links>a:contains("OAKLAND RAIDERS")').replaceWith('<a href="http://daddyleagues.com/heavyhitters/team/oak"><font color="GREY"> PORTLAND SNOWCATS</font>'); Next, here is the code for changing the team abbreviation in the scoring menu. However, you must change it frequently. I never figured out how to make it update the road or visitor team automatically. Whenever this team is the visitor, then the visitor code must go on top. Whenever they are the home team, then the home code must be on the top. I'm not a web designer, so I don't know how to fix it, but this is the best I could come up with by just playing around with it... $('a>span:contains("oak")').replaceWith('<span class="yui3-scorestrip-tile-vta yui3-scorestrip-tile-visitor vui3-scorestrip-tile-abbr">   por</span>');
Here is the code for changing the team logo and name in the standings table... $('.oak:contains("Oakland Raiders")').replaceWith('<img src="http://madden.content.easports.com/madden15_assets/logos/332/220-left.png" width="29" height="25" border="0" alt="Team logo" class="teamLogo"><a href="http://www.daddyleagues.com/HeavyHitters/team/oak"> Portland Snowcats</a>'); Finally, close up your script by using this... </script> I hope this helps. Oh, and if you want to find a certain team, EA uses this url... http://madden.content.easports.com/madden15_assets/logos/332/220-left.png The number '332' represents the Portland Snowcats. Open a new tab and past this url inside the address box. EA uses numbers ranging from 288-339 for created team logos. You will have to change the number in the url until you find the team you are looking for and then enter that number in the code I listed above to show the new team logo. This won't fix every area but at least it will show the new team location in your standings, scoring menu, and player links. So all together it should look like this... <script>
$('a>span:contains("oak")').replaceWith('<span class="yui3-scorestrip-tile-vta yui3-scorestrip-tile-visitor vui3-scorestrip-tile-abbr">   por</span>');
$('.oak:contains("Oakland Raiders")').replaceWith('<img src="http://madden.content.easports.com/madden15_assets/logos/332/220-left.png" width="29" height="25" border="0" alt="Team logo" class="teamLogo"><a href="http://www.daddyleagues.com/HeavyHitters/team/oak"> Portland Snowcats</a>');
|
H4LFB34RP1G | on 2015-05-12 15:49:30 |
Since 11 years ago |
This is great info, just one question though, where do you put this code? I tried in the League Homepage section under the Admin>Layout tab and it didn't work. Thanks |