Sign Up! Login: Password: New User? Forgot? Support
Code 
 
 
Forums 
Forums : WoW > WoW Progression (automatic updating)
Mottie (SuperAdmin) 11/17/2012 3:23 AM EST : RE: WoW Progression (automatic updating)
ACK!
Mottie
Posts: 3883

0
Like

0
Dislike

Hi Dethmaul!

It should work now! The problem was the script was trying to include a raider with an empty string name:
'all' : [ '' ],
This was causing a javascript error so I've updated the script to properly ignore these. It's been fixed on my end so there's no need for you to update your mod!

Sorry about that.

Edit: Oh the reason some of your Catacylsm instances are showing lower than expected kills is because the ratio is set to 75% (0.75) and since Openwounds has no kills in that expansion he's really dragging down the kill count - click on the progress bar to see who contributes to the count - so either remove him from that expansion or lower the ratio.
Characters: Mottie Motty Mortie Ooshiny Mot Fudgems
TopBottom

Lightrox (Applicant) 11/27/2012 4:14 PM EST : RE: WoW Progression (automatic updating)
Lightrox
Posts: 95

0
Like

0
Dislike

First off I want to say thank you for your work putting this together.  Absolutely stellar!  I came upon 2 things that were stumping me that I was hoping you could help with.

1. A player name causing code to break.  The players name is Myá (http://us.battle.net/wow/en/character/illidan/My%C3%A1/advanced).  Whenever I add this player to our player list, the code breaks and nothing displays (except for the widget title banner).  I believe this may have something to do with a couple of people not getting anything to display for their website.  It wasn't till I reverted the code (uninstall/reinstall) that I started testing in stages I found this issue.

2. I'm trying to change the bar color (downed bosses FG bar color), but I'm a CSS nub.  I can get hex codes for colors such as our primary FG color #d3d398, but I wasn't sure where to plug this in at on the css code.  When I did start changing the css code I wasn't seeing changes reflected on the page so I just changed it all back lol.

Thanks again for your hard work!

-Light


----------------------

<script>Sys.Application.add_load(function(){<br>
<br>
// target wow-progression element<br>
$('.wow-progression').wowProgression({<br>
<br>
// ** Guild Info ***<br>
// battlenet domain = "us", "eu", "kr", "tw" or "sea";<br>
// use "cn" for china<br>
region  : "us",<br>
// locale = "en_US", "es_MX", "pt_BR", "en_GB", "es_ES", "fr_FR",<br>
// "ru_RU", "de_DE", "pt_PT", "it_IT", "ko_KR", "zh_TW" or "zh_CN"<br>
locale  : "en_US",<br>
// game server name; include spaces and apostrophes<br>
server  : "Illidan",<br>
// guild name; include spaces and apostrophes<br>
guild   : "Legion of Light",<br>
// list raiders under "all" for all expansion;<br>
// or under a specific expansion<br>
raiders : {<br>
    'all'   : [ 'Lightrox' ],<br>
    'mists' : [ 'Apostolos', 'Sigmax', 'Tealian', 'Chilahpriest', 'Aramothe', 'Evilbrooklyn', 'Cryostasis', 'Zorixon' ],<br>
    'cat'   : [ '' ]<br>
},<br>
<br>
// ** Appearance **<br>
// expansion to show. The order can be changed<br>
// use "mists" and/or "cat"<br>
show    : [ 'mists' ],<br>
// show heroics?<br>
heroics : true,<br>
// 75% of raiders showing kill before boss counted as killed<br>
ratio   : 0.75,<br>
// instance boss count: {n} = number kill count,<br>
// {t} = total, {p} = percentage<br>
count   : '{n}/{t}', // '{p}',<br>
// tooltip - boss killed: use {s} for none/killed status text,<br>
// {n} for number of kills<br>
// this is an avg from all raiders<br>
status  : "{s}",<br>
// use instance abbreviation - "Firelands" becomes "FL"<br>
useAbbr : false,<br>
// boss status text<br>
text    : {<br>
    zero    : '',  // zero boss kills - when using {n} in status<br>
    none    : '',  // boss not killed text<br>
    killed  : 'Killed' // boss killed text<br>
}<br>
});});</script><style><br>
/********************<br>
 tooltip styling<br>
 ********************/<br>
.tips { width: 250px; }<br>
/* tooltip title */<br>
.tips .inst { border-bottom: #555 1px solid; margin: 2px; }<br>
.tips .inst-title { font-size: 14px; font-weight: bold; }<br>
.tips .inst-count { float: right; }<br>
<br>
/* boss listing */<br>
.tips .boss { font-size: 13px; position: relative; } /* wrapper */<br>
.tips .boss-icon { width: 18px; height: 18px; margin: 0 5px 1px 0; vertical-align: middle; }<br>
.tips .boss-name {}<br>
.tips .boss-status { position: absolute; right: 5px; }<br>
.tips .boss-killed { color: red; text-decoration: line-through; }<br>
<br>
/* overall */<br>
.wowprogression { width: 100%; margin: 0 auto; }<br>
.wowprogression h3.expansion { margin: 10px 5px; text-align: center; }<br>
.wowprogression .inst-name { font: 12px verdana, "trebuchet MS", helvetica, sans-serif; min-width: 50%; display: inline-block; }<br>
<br>
/********************<br>
 expansion blocks<br>
 ********************/<br>
/* expansion Title */<br>
.wowprogression h3.expansion-mists {}<br>
.wowprogression h3.expansion-cat {}<br>
<br>
/* expansion instances wrapper */<br>
.wowprogression div.instances-mists {}<br>
.wowprogression div.instances-cat {}<br>
<br>
/********************<br>
 instance blocks<br>
 ********************/<br>
/* instance listing */<br>
.wowprogression .instance { width: 100%; border-spacing: 0; }<br>
.wowprogression .instance td.icon { /* wraps div.icon */<br>
    width: 36px;<br>
}<br>
.wowprogression .instance div.icon {<br>
    max-width: 35px;<br>
    width: 35px;<br>
    height: 35px;<br>
    margin: 15px 2px 2px 5px;<br>
}<br>
<br>
/* specific instances */<br>
/* mists */<br>
.wowprogression .inst-HoF .icon { background-position: -1780px -5px; }<br>
.wowprogression .inst-MV .icon { background-position: -1719px -5px; }<br>
.wowprogression .inst-TES .icon { background-position: -1841px -5px; }<br>
<br>
/* cat */<br>
.wowprogression .inst-DS .icon { background-position: -1658px -5px; }<br>
.wowprogression .inst-FL .icon { background-position: -1597px -5px; }<br>
.wowprogression .inst-ToFW .icon { background-position: -1536px -5px; }<br>
.wowprogression .inst-BoT .icon { background-position: -1414px -5px; }<br>
.wowprogression .inst-BD .icon { background-position: -1475px -5px; }<br>
.wowprogression .inst-BH .icon { background-position: -1353px -5px; }<br>
<br>
/********************<br>
 progress bars<br>
 ********************/<br>
.wowprogression .bar-bkgd { height: 15px; }<br>
.wowprogression .bar-color { height: 15px; text-align: right; }<br>
.wowprogression .bar-text { height: 15px; font: 10px verdana, "trebuchet MS", helvetica, sans-serif; padding-right: 5px; }<br>
<br>
.wowprogression .bar-normal, .bar-heroic {<br>
    width: 98%;<br>
    border: 1px solid #555;<br>
    background: #222;<br>
    background: -webkit-gradient(linear, left top, left bottom, from(#222), to(#444));<br>
    background: -moz-linear-gradient(center top, #222, #444) repeat scroll 0 0 transparent;<br>
}<br>
.wowprogression .bar-normal .bar-text { color: #fff; }<br>
.wowprogression .bar-normal .bar-color {<br>
    background-color: #00f;<br>
    background: -webkit-gradient(linear, left top, left bottom, from(#00f), to(#006));<br>
    background: -moz-linear-gradient(center top, #00f, #006) repeat scroll 0 0 transparent;<br>
}<br>
.wowprogression .bar-heroic .bar-text { color: #fff; }<br>
.wowprogression .bar-heroic .bar-color {<br>
    background-color: #c00;<br>
    background: -webkit-gradient(linear, left top, left bottom, from(#c00), to(#600));<br>
    background: -moz-linear-gradient(center top, #c00, #600) repeat scroll 0 0 transparent;<br>
}<br>
</style>
TopBottom

Mottie (SuperAdmin) 11/29/2012 9:07 AM EST : RE: WoW Progression (automatic updating)
ACK!
Mottie
Posts: 3883

0
Like

0
Dislike

Hi Lightrox!

Ok sorry, there was an issue in the script with special characters which has now been fixed, so Myá's info will now load properly. Make sure you reload a couple of times (use shift-reload (f5)) to refresh the browser cache. No need to update the mod.

I'm not sure what you mean by FG bar color, but at the bottom of the customization code section of the mod you'll see this css:
.wowprogression .bar-normal, .bar-heroic {
    width: 98%;
    border: 1px solid #555;
    background: #222; /* bar background */
    background: -webkit-gradient(linear, left top, left bottom, from(#222), to(#444));
    background: -moz-linear-gradient(center top, #222, #444) repeat scroll 0 0 transparent;
}
.wowprogression .bar-normal .bar-text { color: #fff; }
.wowprogression .bar-normal .bar-color {
    background-color: #00f; /* normal: blue */
    background: -webkit-gradient(linear, left top, left bottom, from(#00f), to(#006));
    background: -moz-linear-gradient(center top, #00f, #006) repeat scroll 0 0 transparent;
}
.wowprogression .bar-heroic .bar-text { color: #fff; }
.wowprogression .bar-heroic .bar-color {
    background-color: #c00; /* heroic: red */
    background: -webkit-gradient(linear, left top, left bottom, from(#c00), to(#600));
    background: -moz-linear-gradient(center top, #c00, #600) repeat scroll 0 0 transparent;
}
All the colors in light blue change the color of the bar. It's broken down into three parts:
  • The top definition is for the bar background (dark grey) for contrast
  • The second definition is for the normal instance mode bar - blue
  • And the last definition is for the heroic instance mode bar - red

This is actually css3, which doesn't work in IE9 and less. but basically is makes the bar color a gradient going from() a color at the top, to() a color at the bottom. Webkit is for Chrome and Safari while moz is for Firefox. All other browsers will see a solid color. It's actually not a complete gradient definition, but I didn't want to make it too confusing.

Characters: Mottie Motty Mortie Ooshiny Mot Fudgems
TopBottom

Darkriddle (Applicant) 1/6/2013 10:53 AM EST : RE: WoW Progression (automatic updating)

Darkriddle
Posts: 51

0
Like

0
Dislike

Cant seem to get it to show more then an empty black bar and the title, i must have done something wrong with the code;

UPDATE: Got it to work now with just one raider listed, if i hover over the progress bar tho i just see code and not the bosses that are killed, any idea as to why that is? (updated code as it is now)


<script>Sys.Application.add_load(function(){
 
// target wow-progression element
$('.wow-progression').wowProgression({
 
// ** Guild Info ***
// battlenet domain = "us", "eu", "kr", "tw" or "sea";
// use "cn" for china
region  : "eu",
// locale = "en_US", "es_MX", "pt_BR", "en_GB", "es_ES", "fr_FR",
// "ru_RU", "de_DE", "pt_PT", "it_IT", "ko_KR", "zh_TW" or "zh_CN"
locale  : "en_GB",
// game server name; include spaces and apostrophes
server  : "Terokkar",
// guild name; include spaces and apostrophes
guild   : "Immortality",
// list raiders under "all" for all expansion;
// or under a specific expansion
raiders : {
    'all'   : [ '' ],
    'mists' : [ 'Alurian' ],
    'cat'   : [ '' ]
},
 
// ** Appearance **
// expansion to show. The order can be changed
// use "mists" and/or "cat"
show    : [ 'mists' ],
// show heroics?
heroics : true,
// 75% of raiders showing kill before boss counted as killed
ratio   : 0.75,
// instance boss count: {n} = number kill count,
// {t} = total, {p} = percentage
count   : '{p}',
// tooltip - boss killed: use {s} for none/killed status text,
// {n} for number of kills
// this is an avg from all raiders
status  : "{s}",
// use instance abbreviation - "Firelands" becomes "FL"
useAbbr : false,
// boss status text
text    : {
    zero    : '',  // zero boss kills - when using {n} in status
    none    : '',  // boss not killed text
    killed  : 'Killed' // boss killed text
}
});});</script><style>
/********************
 tooltip styling
 ********************/
.tips { width: 250px; }
/* tooltip title */
.tips .inst { border-bottom: #555 1px solid; margin: 2px; }
.tips .inst-title { font-size: 14px; font-weight: bold; }
.tips .inst-count { float: right; }
 
/* boss listing */
.tips .boss { font-size: 13px; position: relative; } /* wrapper */
.tips .boss-icon { width: 18px; height: 18px; margin: 0 5px 1px 0; vertical-align: middle; }
.tips .boss-name {}
.tips .boss-status { position: absolute; right: 5px; }
.tips .boss-killed { color: red; text-decoration: line-through; }
 
/* overall */
.wowprogression { width: 100%; margin: 0 auto; }
.wowprogression h3.expansion { margin: 10px 5px; text-align: center; }
.wowprogression .inst-name { font: 12px verdana, "trebuchet MS", helvetica, sans-serif; min-width: 50%; display: inline-block; }
 
/********************
 expansion blocks
 ********************/
/* expansion Title */
.wowprogression h3.expansion-mists {}
.wowprogression h3.expansion-cat {}
 
/* expansion instances wrapper */
.wowprogression div.instances-mists {}
.wowprogression div.instances-cat {}
 
/********************
 instance blocks
 ********************/
/* instance listing */
.wowprogression .instance { width: 100%; border-spacing: 0; }
.wowprogression .instance td.icon { /* wraps div.icon */
    width: 36px;
}
.wowprogression .instance div.icon {
    max-width: 35px;
    width: 35px;
    height: 35px;
    margin: 15px 2px 2px 5px;
}
 
/* specific instances */
/* mists */
.wowprogression .inst-HoF .icon { background-position: -1780px -5px; }
.wowprogression .inst-MV .icon { background-position: -1719px -5px; }
.wowprogression .inst-TES .icon { background-position: -1841px -5px; }
 
/* cat */
.wowprogression .inst-DS .icon { background-position: -1658px -5px; }
.wowprogression .inst-FL .icon { background-position: -1597px -5px; }
.wowprogression .inst-ToFW .icon { background-position: -1536px -5px; }
.wowprogression .inst-BoT .icon { background-position: -1414px -5px; }
.wowprogression .inst-BD .icon { background-position: -1475px -5px; }
.wowprogression .inst-BH .icon { background-position: -1353px -5px; }
 
/********************
 progress bars
 ********************/
.wowprogression .bar-bkgd { height: 15px; }
.wowprogression .bar-color { height: 15px; text-align: right; }
.wowprogression .bar-text { height: 15px; font: 10px verdana, "trebuchet MS", helvetica, sans-serif; padding-right: 5px; }
 
.wowprogression .bar-normal, .bar-heroic {
    width: 98%;
    border: 1px solid #555;
    background: #222;
    background: -webkit-gradient(linear, left top, left bottom, from(#222), to(#444));
    background: -moz-linear-gradient(center top, #222, #444) repeat scroll 0 0 transparent;
}
.wowprogression .bar-normal .bar-text { color: #fff; }
.wowprogression .bar-normal .bar-color {
    background-color: #00f;
    background: -webkit-gradient(linear, left top, left bottom, from(#00f), to(#006));
    background: -moz-linear-gradient(center top, #00f, #006) repeat scroll 0 0 transparent;
}
.wowprogression .bar-heroic .bar-text { color: #fff; }
.wowprogression .bar-heroic .bar-color {
    background-color: #c00;
    background: -webkit-gradient(linear, left top, left bottom, from(#c00), to(#600));
    background: -moz-linear-gradient(center top, #c00, #600) repeat scroll 0 0 transparent;
}
</style>
TopBottom

Mottie (SuperAdmin) 1/6/2013 7:19 PM EST : RE: WoW Progression (automatic updating)
ACK!
Mottie
Posts: 3883

0
Like

0
Dislike

Make sure you install the "Modified Tooltips" mod as well.
Characters: Mottie Motty Mortie Ooshiny Mot Fudgems
TopBottom

Darkriddle (Applicant) 1/7/2013 8:20 AM EST : RE: WoW Progression (automatic updating)

Darkriddle
Posts: 51

0
Like

0
Dislike

That was it, cheers for the quick reply!
TopBottom

Zuuma (Applicant) 1/14/2013 5:22 AM EST : RE: WoW Progression (automatic updating)

Zuuma
Posts: 33

0
Like

0
Dislike

I appear to have an issue with the mod, It might just be me being silly but I hope you can help none the less. The Mod Shows up on my site, but dos´nt provide any infomation. it just has a black space where the progress is supposed to be.
I´d appreciate any help you can offer, 
TopBottom

Mottie (SuperAdmin) 1/14/2013 4:03 PM EST : RE: WoW Progression (automatic updating)
ACK!
Mottie
Posts: 3883

0
Like

0
Dislike

Hi Zuuma!

It looks like there's a missing single quote and there is an extra comma at the end.
'all' : [ 'Zuuma', 'Lions',  Maye', Emtob', 'Crizz', 'Diabolos', 'Drakaria', 'Mece', ],
change it to this:
'all' : [ 'Zuuma', 'Lions', 'Maye', Emtob', 'Crizz', 'Diabolos', 'Drakaria', 'Mece'  ],

Characters: Mottie Motty Mortie Ooshiny Mot Fudgems
TopBottom

Zuuma (Applicant) 1/14/2013 6:18 PM EST : RE: WoW Progression (automatic updating)

Zuuma
Posts: 33

0
Like

0
Dislike

Thanks for the answer, I corrected what you said, but it seems there still is an issue with it. I`m not really all that good at codes, so I hope that you can help. 
TopBottom

Mottie (SuperAdmin) 1/14/2013 6:40 PM EST : RE: WoW Progression (automatic updating)
ACK!
Mottie
Posts: 3883

0
Like

0
Dislike

DOH sorry Zuuma!

You'll need to remove everything in red. The reason it isn't working is because "raider3", "raider4" and "raider3alt" don't exist, so it crashes... I need to figure out how to get around that issue.

raiders : {
    'all' : [ 'Zuuma', 'Lions', 'Maye', 'Emtob', 'Crizz', 'Diabolos', 'Drakaria', 'Mece' ],
    'mists' : [ 'raider3', 'raider4' ],
    'cat' : [ 'raider3alt' ]

},

Characters: Mottie Motty Mortie Ooshiny Mot Fudgems
TopBottom

 
 
Key 
New posts No new posts
New posts ( popular ) No new posts ( popular )
New posts ( sticky ) No new posts ( sticky )
New posts ( locked ) No new posts ( locked )
 
 
Who's Online 
There are   members online.
 
 
So-and-so has logged on!
%title%
%message%