|
Problem With CD Code in Board Template
|
|
Topic Started: Jan 4 2014, 09:17 PM (329 Views)
|
|
dypko
|
Jan 4 2014, 09:17 PM
Post #1
|
- Posts:
- 3
- Group:
- Members
- Member
- #178,668
- Joined:
- January 3, 2009
- My Board URL
- http://z9.invisionfree.com/MOFps3/index.php?
|
Hoping someone can help me with a code im putting into my board template. I cannot get it to show up correctly, and i think i might have accidentally changed the close tags at the end, and i cant seem to figure it out. Thank you in advance.
- Quote:
-
<script type="text/javascript"> //<![CDATA[ var t_award = { name : "Trophies", thumbnail : [24,50], closeFunction : "fade", users : [ [,"MOF: Season 1 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Lions 45, Raiders 19 ()","Season 1 / Madden 2004"], [,"MOF: Season 2 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Bears 28, Ravens 24 ()","Season 2 / Madden 2004"], [,"MOF: Season 3 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Bears 52, Jets 10 ()","Season 3 / Madden 2005"], [,"MOF: Season 4 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Vikings 24, Ravens 20 ()","Season 4 / Madden 2005"], [,"MOF: Season 5 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Colts 42, Panthers 20 ()","Season 5 / Madden 2006"], [178095,"MOF: Season 6 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Vikings 27, Steelers 3 (rMossIsDirty)","Season 6 / Madden 2006"], [,"MOF: Season 7 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Raiders 17, Eagles 7 ()","Season 7 / Madden 2007"], [178069,"MOF: Season 8 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Seahawks 20, Raiders 17 (icu-runnin)","Season 8 / Madden 2007"], [,"MOF: Season 9 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Bears 27, Bengals 24 ()","Season 9 / Madden 2008"], [,"MOF: Season 10 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Bears 38, Jets 16 ()","Season 10 / Madden 2008"], [,"MOF: Season 11 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Rams 34, Steelers 23 ()","Season 11 / Madden 2009"], [178099,"MOF: Season 12 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Texans 28, Cardinals 19 (MMXCalibur)","Season 12 / Madden 2009"], [178128,"MOF: Season 13 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Saints 20, Chiefs 17 (MMXcalibur)","Season 13 / Madden 2009"], [178139,"MOF: Season 14 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Jaguars 27, Vikings 24 (littrel)","Season 14 / Madden 2010"], [178081,"MOF: Season 15 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Redskins 31, Giants 10 (whosnext83)","Season 15 / Madden 2010"], [178081,"MOF: Season 16 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Redskins 23, Ravens 20 (Steamrollr22)","Season 16 / Madden 2011"], [178071,"MOF Season 17 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Bears 49, Dolphins 21 (RingingBells)","Season 17 / Madden 2011"], [178183,"MOF Season 18 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Raiders 52, Redskins 35 (portis29)","Season 18 / Madden 2011"], [178226,"MOF Season 19 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Eagles 38, Dolphins 35 (JoeFitz518)","Season 19 / Madden 2012"], [178095,"MOF Season 20 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","49ers 24, Titans 17 (aaronpgh13)","Season 20 / Madden 2012"], [3105592,"MOF Season 21 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Bills 27, Falcons 22 (YoungCat21)","Season 21 / Madden 2012"], [178226,"MOF Season 22 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Bears 28, Patriots 7 (DefensiveEnd99)","Season 22 / Madden 2013"], [178081,"MOF Season 23 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Redskins 45, Jaguars 38 (Hasn2k)","Season 23 / Madden 2013"], [178081,"MOF Season 24 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Redskins 41, Titans 21 (Youngcat21)","Season 24 / Madden 2013"], [3117221,"MOF Season 25 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Panthers 38, Raiders 22 (TeamKA)","Season 25 / Madden 2013"], [3120494,"MOF Season 26 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Broncos 31, 49ers 29 (Trigrdan)","Season 26 / Madden 25"], [178186,"MOF Season 27 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Patriots 30, Bears 28 (Beast10790)","Season 27 / Madden 25"]; }); //]]> </script>
Any help would be greatly appreciated
Edited by dypko, Jan 5 2014, 01:51 PM.
|
|
|
| |
|
DaPizzaMan
|
Jan 6 2014, 07:42 PM
Post #2
|
#TeamSupport
- Posts:
- 5,109
- Group:
- Support Team
- Member
- #386,619
- Joined:
- September 28, 2010
- I'm Browsing With
- Safari · Chrome
- My Board URL
- http://s4.zetaboards.com/zbThemes/index/
|
Your missing some user IDs for a few of the awards. Notice the multiple instances of [,
|
|
|
| |
|
Draculea
|
Jan 6 2014, 07:46 PM
Post #3
|
- Posts:
- 4
- Group:
- Members
- Member
- #613,203
- Joined:
- January 6, 2014
|
I think a bracket at the end, just - Quote:
-
]; <here> }); to close the one opened at - Code:
-
users : [ is missing as well?
Also, I think that, since users : [ is an array, it's last item should not have a semicolon and there should be a closing bracket to wrap everything up, right? And that parenthesis is never opened?
I think the code would be right if it looked like this:
- Quote:
-
<script type="text/javascript"> //<![CDATA[ var t_award = { name : "Trophies", thumbnail : [24,50], closeFunction : "fade", users : [ [,"MOF: Season 1 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Lions 45, Raiders 19 ()","Season 1 / Madden 2004"], [,"MOF: Season 2 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Bears 28, Ravens 24 ()","Season 2 / Madden 2004"], [,"MOF: Season 3 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Bears 52, Jets 10 ()","Season 3 / Madden 2005"], [,"MOF: Season 4 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Vikings 24, Ravens 20 ()","Season 4 / Madden 2005"], [,"MOF: Season 5 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Colts 42, Panthers 20 ()","Season 5 / Madden 2006"], [178095,"MOF: Season 6 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Vikings 27, Steelers 3 (rMossIsDirty)","Season 6 / Madden 2006"], [,"MOF: Season 7 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Raiders 17, Eagles 7 ()","Season 7 / Madden 2007"], [178069,"MOF: Season 8 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Seahawks 20, Raiders 17 (icu-runnin)","Season 8 / Madden 2007"], [,"MOF: Season 9 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Bears 27, Bengals 24 ()","Season 9 / Madden 2008"], [,"MOF: Season 10 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Bears 38, Jets 16 ()","Season 10 / Madden 2008"], [,"MOF: Season 11 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Rams 34, Steelers 23 ()","Season 11 / Madden 2009"], [178099,"MOF: Season 12 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Texans 28, Cardinals 19 (MMXCalibur)","Season 12 / Madden 2009"], [178128,"MOF: Season 13 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Saints 20, Chiefs 17 (MMXcalibur)","Season 13 / Madden 2009"], [178139,"MOF: Season 14 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Jaguars 27, Vikings 24 (littrel)","Season 14 / Madden 2010"], [178081,"MOF: Season 15 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Redskins 31, Giants 10 (whosnext83)","Season 15 / Madden 2010"], [178081,"MOF: Season 16 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Redskins 23, Ravens 20 (Steamrollr22)","Season 16 / Madden 2011"], [178071,"MOF Season 17 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Bears 49, Dolphins 21 (RingingBells)","Season 17 / Madden 2011"], [178183,"MOF Season 18 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Raiders 52, Redskins 35 (portis29)","Season 18 / Madden 2011"], [178226,"MOF Season 19 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Eagles 38, Dolphins 35 (JoeFitz518)","Season 19 / Madden 2012"], [178095,"MOF Season 20 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","49ers 24, Titans 17 (aaronpgh13)","Season 20 / Madden 2012"], [3105592,"MOF Season 21 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Bills 27, Falcons 22 (YoungCat21)","Season 21 / Madden 2012"], [178226,"MOF Season 22 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Bears 28, Patriots 7 (DefensiveEnd99)","Season 22 / Madden 2013"], [178081,"MOF Season 23 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Redskins 45, Jaguars 38 (Hasn2k)","Season 23 / Madden 2013"], [178081,"MOF Season 24 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Redskins 41, Titans 21 (Youngcat21)","Season 24 / Madden 2013"], [3117221,"MOF Season 25 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Panthers 38, Raiders 22 (TeamKA)","Season 25 / Madden 2013"], [3120494,"MOF Season 26 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Broncos 31, 49ers 29 (Trigrdan)","Season 26 / Madden 25"], [178186,"MOF Season 27 Champion","http://i251.photobucket.com/albums/gg307/dypko/mini_lombardi.png","Patriots 30, Bears 28 (Beast10790)","Season 27 / Madden 25"] ]}; //]]> </script> I don't know if the id's are required, but if DaPizzaMan says so, I think his words are more certain than mine
Edited by Draculea, Jan 6 2014, 08:19 PM.
|
|
|
| |
| 1 user reading this topic (1 Guest and 0 Anonymous)
|