Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Multiquote (on) Multiquote (off)
Add Reply
Problem With CD Code in Board Template
Topic Started: Jan 4 2014, 09:17 PM (329 Views)
dypko
Member
[ * ]
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.
Offline Profile Quote Post Goto Top
 
DaPizzaMan
Member Avatar
#TeamSupport

Your missing some user IDs for a few of the awards. Notice the multiple instances of [,
Offline Profile Quote Post Goto Top
 
Draculea
Member Avatar
Member
[ * ]
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 :P
Edited by Draculea, Jan 6 2014, 08:19 PM.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · ZetaBoards Support · Next Topic »
Add Reply