Sign Up! Login: Password: New User? Forgot? Support
Code 
 
 
Forums 
Forums : General Discussion > The Race to Level 85 Gadget
Enniewan (Applicant) 12/4/2010 11:48 AM EST : The Race to Level 85 Gadget

Enniewan
Posts: 509

0
Like

0
Dislike

Hi Mottie,

We talked about this recently in e-mail. 

Our guild suffered through the two previous WoW expansions from (the top of the guild) fast levelers that would leave because there were'nt enough players to raid with yet. Therefor I try to avoid that now and do everything to get enough fast levelers to make two teams (evening & night). There are incentives like financial premiums and character pampering.

What I would like is a widget as exerpt from the wow-armory that lists the ten fastest levelers to be put on our home page. Maybe it can update through the automatic GuildPortal update program. I think a widget like that will increase the competition if the focus is on them like that. 

You liked the idea and would try to look into it. 
I'm just anxious to know whether you think it's possible.
Any news yet?

Cheers!
Enniewan
TopBottom

Mottie (SuperAdmin) 12/5/2010 6:26 PM EST : RE: The Race to Level 85 Gadget
ACK!
Mottie
Posts: 3884

0
Like

0
Dislike

Hi Enniewan!

I'm sorry... I spent a bunch of time today trying to get something working. But I just don't know server side scripting well enough. The biggest hurdle is actually for me to get the armory page to load. I don't know if it is just the site I'm using or my script - it just won't load the page. I'm pulling my hair out here and frankly I hate giving up, but with as much time as I have spent on this and not progressing, and only two days until the expansion... I think I will have to do just that, give up. I am sorry.

Maybe you can just set up a table and update it manually instead? =(
Characters: Mottie Motty Mortie Ooshiny Mot Fudgems
TopBottom

Enniewan (Applicant) 12/5/2010 11:44 PM EST : RE: The Race to Level 85 Gadget

Enniewan
Posts: 509

0
Like

0
Dislike

Oh Mottie!

Please don't pull your hair out! After 7 times they won't grow back.

Sorry to hear you spent so much time in vain. I can understand your frustration and completely agree that you should not continue. Not worth it to try any longer. I am very grateful for the time you put in already willing to give it a try. It was a nice idea, but since it would last for only a week you must have more important things to work on. Thanks for all your effort. Really appreciate it.

Enniewan
TopBottom

Mottie (SuperAdmin) 12/9/2010 7:09 PM EST : RE: The Race to Level 85 Gadget
ACK!
Mottie
Posts: 3884

0
Like

0
Dislike

Hi Enniewan!

Hey maybe you can copy how LoranWoW has set up a progression table on their site.

Basically here is the code (add all the code to a Free Form Text/HTML widget in Raw mode)
 <style type="text/css">
  .ui-progressbar { height: 1em; text-align: left; }
  .ui-progressbar .ui-progressbar-value {margin: -1px; height: 100%; }
  .ui-widget { font-family: Segoe UI, Arial, sans-serif; font-size: 1.1em; }
  .ui-widget-content { border: 1px solid
#444444; background: #333333 url() 50% bottom repeat-x; color: #ffffff; }
  .ui-widget-content a { color: #ffffff; }
  .ui-widget-header { border: 1px solid
#333333; background: #771cc1 url(http://www.axiomfiles.com/Files/258012/bar.png) 50% 50% repeat-x; color: #ffffff; font-weight: bold; }
  .ui-corner-all { -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; }
 </style>

 <script type="text/javascript">
  $(document).ready(function(){
   var pb = {
    // Name : [ level, % 333+ gear, % 346+ gear ] - do not include the % sign
    // Joe : [ 85, 100, 50 ]
    // Tanks

    Tank1   : [ 85, 50, 0 ],
    Tank2   : [ 85, 100, 10 ],
    // Healers
    Heals1  : [ 85, 100, 50 ],
    Heals2  : [ 83, 0, 0 ],
    Heals3  : [ 84, 0, 0 ],
    Heals4  : [ 85, 40, 0 ],
    Heals5  : [ 85, 50, 0 ],
    // DPS
    Derp1   : [ 85, 100, 40 ],
    Derp2   : [ 85, 100, 20 ],
    Derp3   : [ 82, 0, 0 ],
    Derp4   : [ 80, 0, 0 ],
    Derp5   : [ 85, 100, 10 ],
    Derp6   : [ 85, 50, 0 ],
    Derp7   : [ 85, 0, 0 ],
    Derp8   : [ 84, 0, 0 ]
   };
   // Don't change anything below
   $('.character-progress div.bar')
   .addClass('ui-progressbar ui-widget ui-widget-content ui-corner-all')
   .append('<div class="ui-progressbar-value ui-widget-header ui-corner-all"></div>');
   for ( b in pb ){
    $('#' + b + ' .ui-widget-header')
     .width( (pb[0] - 80) * 20 + '%' )
     .closest('td').next()
     .find('.ui-widget-header').width( pb[1] + '%' )
     .closest('td').next()
     .find('.ui-widget-header').width( pb[2] + '%' );
   }
  })
 </script>

<div class="character-progress">
 <table width="100%" border="0">
  <tbody>
   <tr><th align="left">Tanks</th><td align="right">81</td><td align="right">82</td><td align="right">83</td><td align="right">84</td><td align="right">85</td><td align="center">iLvl 333+</td><td align="center">iLvl 346+</td></tr>

   <tr>
    <td width="10%"><span style="color:#C79C6E">
Tank1</span></td>
    <td colspan="5"><div id="
Tank1" class="bar"></div></td>
    <td width="25%"><div class="bar"></div></td>
    <td width="25%"><div class="bar"></div></td>
   </tr>

   <tr>
    <td><span style="color:#FF7D0A">
Tank2</span></td>
    <td colspan="5"><div id="
Tank2" class="bar"></div></td>
    <td><div class="bar"></div></td>
    <td><div class="bar"></div></td>
   </tr>

  </tbody>
 </table>

 <br /><br />

 <table width="100%" border="0">
  <tbody>
   <tr><th align="left">Healers</th><td align="right">81</td><td align="right">82</td><td align="right">83</td><td align="right">84</td><td align="right">85</td><td align="center">iLvl 333+</td><td align="center">iLvl 346+</td></tr>

   <tr>
    <td width="10%"><span style="color:#F58CBA">
Heals1</span></td>
    <td colspan="5"><div id="
Heals1" class="bar"></div></td>
    <td width="25%"><div class="bar"></div></td>
    <td width="25%"><div class="bar"></div></td>
   </tr>

   <tr>
    <td width="10%"><span style="color:#FF7D0A">
Heals2</span></td>
    <td colspan="5"><div id="
Heals2" class="bar"></div></td>
    <td width="25%"><div class="bar"></div></td>
    <td width="25%"><div class="bar"></div></td>
   </tr>

   <tr>
    <td>
<span style="color:#ffffff">Heals3</span></td>
    <td colspan="5"><div id="
Heals3" class="bar"></div></td>
    <td><div class="bar"></div></td>
    <td><div class="bar"></div></td>
   </tr>

   <tr>
    <td><span style="color:#0070DE">
Heals4</span></td>
    <td colspan="5"><div id="
Heals4" class="bar"></div></td>
    <td width="25%"><div class="bar"></div></td>
    <td width="25%"><div class="bar"></div></td>
   </tr>

   <tr>
    <td><span style="color:#0070DE">
Heals5</span></td>
    <td colspan="5"><div id="
Heals5" class="bar"></div></td>
    <td width="25%"><div class="bar"></div></td>
    <td width="25%"><div class="bar"></div></td>
   </tr>

  </tbody>
 </table>

 <br /><br />

 <table width="100%" border="0">
  <tbody>
   <tr><th align="left">DPS</th><td align="right">81</td><td align="right">82</td><td align="right">83</td><td align="right">84</td><td align="right">85</td><td align="center">iLvl 333+</td><td align="center">iLvl 346+</td></tr>

   <tr>
    <td width="10%"><span style="color:#69CCF0">
Derp1</span></td>
    <td colspan="5"><div id="
Derp1" class="bar"></div></td>
    <td width="25%"><div class="bar"></div></td>
    <td width="25%"><div class="bar"></div></td>
   </tr>

   <tr>
    <td>
<span style="color:#ffffff">Derp2</span></td>
    <td colspan="5"><div id="
Derp2" class="bar"></div></td>
    <td><div class="bar"></div></td>
    <td><div class="bar"></div></td>
   </tr>

   <tr>
    <td><span style="color:#9482C9">
Derp3</span></td>
    <td colspan="5"><div id="
Derp3" class="bar"></div></td>
    <td><div class="bar"></div></td>
    <td><div class="bar"></div></td>
   </tr>

   <tr>
    <td><span style="color:#FFF569">
Derp4</span></td>
    <td colspan="5"><div id="
Derp4" class="bar"></div></td>
    <td><div class="bar"></div></td>
    <td><div class="bar"></div></td>
   </tr>

   <tr>
    <td><span style="color:#C41F3B">
Derp5</span></td>
    <td colspan="5"><div id="
Derp5" class="bar"></div></td>
    <td><div class="bar"></div></td>
    <td><div class="bar"></div></td>
   </tr>

   <tr>
    <td><span style="color:#0070DE">
Derp6</span></td>
    <td colspan="5"><div id="
Derp6" class="bar"></div></td>
    <td><div class="bar"></div></td>
    <td><div class="bar"></div></td>
   </tr>

   <tr>
    <td>
<span style="color:#ffffff">Derp7</span></td>
    <td colspan="5"><div id="
Derp7" class="bar"></div></td>
    <td><div class="bar"></div></td>
    <td><div class="bar"></div></td>
   </tr>

   <tr>
    <td><span style="color:#69CCF0">
Derp8</span></td>
    <td colspan="5"><div id="
Derp8" class="bar"></div></td>
    <td><div class="bar"></div></td>
    <td><div class="bar"></div></td>
   </tr>

  </tbody>
 </table>
</div>

  • Change the names in green to match the character names, and adjust the class color in blue to match their class.
  • Change the character level, percent 333 item level gear and percent 346 item level gear in red.
Characters: Mottie Motty Mortie Ooshiny Mot Fudgems
TopBottom

Enniewan (Applicant) 12/10/2010 5:13 PM EST : RE: The Race to Level 85 Gadget

Enniewan
Posts: 509

0
Like

0
Dislike

Woot! That looks great! Gonna try now and let you know:)

Ok, tried it. The bars won't show the level and percentages that I changed in red. The main problem is it doesn't gather it's data from battle.net. Everything has to be changed manually. That is a lot to ask, but if I could get it to work I would certainly love to have it on our site. Then I would also like an iLvl 359 & 372 bar . Can you pls help me with that?



Thanks anyway for thinking of me.

Enniewan
TopBottom

Enniewan (Applicant) 12/15/2010 10:10 PM EST : RE: The Race to Level 85 Gadget

Enniewan
Posts: 509

0
Like

0
Dislike

Thank you Mottie! It looks awesome
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%