Aiken Full Member
    
 
 ![[Avatar]](http://uploads.virtualforums.co.uk/forums/support/me-yat.jpeg)  Posts: 333 Status: Offline Gender: Male Location: In a very lonely place, the domain of despair Age: 35 Joined:  
  pmskypemsnyahooxfire |  | 
Michael Moderator
      
 
 ![[Avatar]](http://av.wservices.co.uk/av.png)  Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:  
  Additional Groups:  Coding Team
    
 
 
  pmvForum | | Re: Progress bar for posting ranks (26th Apr 10 at 11:31pm UTC) |  |  The Divs are being outputted... look into your html for the divs.    |  |
 
  | 
Aiken Full Member
    
 
 ![[Avatar]](http://uploads.virtualforums.co.uk/forums/support/me-yat.jpeg)  Posts: 333 Status: Offline Gender: Male Location: In a very lonely place, the domain of despair Age: 35 Joined:  
  pmskypemsnyahooxfire |  | 
Michael Moderator
      
 
 ![[Avatar]](http://av.wservices.co.uk/av.png)  Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:  
  Additional Groups:  Coding Team
    
 
 
  pmvForum | | Re: Progress bar for posting ranks (27th Apr 10 at 1:24am UTC) |  |  Well why don't you tell me what you want it to do, and I will then code it up for you   
  |  |
 
  | 
Aiken Full Member
    
 
 ![[Avatar]](http://uploads.virtualforums.co.uk/forums/support/me-yat.jpeg)  Posts: 333 Status: Offline Gender: Male Location: In a very lonely place, the domain of despair Age: 35 Joined:  
  pmskypemsnyahooxfire |  | 
Michael Moderator
      
 
 ![[Avatar]](http://av.wservices.co.uk/av.png)  Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:  
  Additional Groups:  Coding Team
    
 
 
  pmvForum | | Re: Progress bar for posting ranks (27th Apr 10 at 3:54am UTC) |  |  Global Header:  <script type = 'text/javascript'> /* Post bar to next rank - Wrighty */ var r = [0, 20, 50, 100, 250, 500];
  function postBar(x){       for(i = r.length-1; i >= 0; i--)             if(x >= r[i]){                   document.write('<tr><td class="window2" colspan="2"><div style="width:98px; height:18px; background-color:#000;"><div style="float:left; width:' + ((x-r[i])/(r[i+1]-r[i]))*98 + 'px; height:16px; background-color:#FF0;"></div></div></td></tr>');                   break;             } } </script> 
  Alter the red to be a list of the number of posts for each rank, making sure that they are incrementing   
  In Mini Profile Template:  <script type = 'text/javascript'> postBar({posts}); </script> 
  |  |
 
  | 
Aiken Full Member
    
 
 ![[Avatar]](http://uploads.virtualforums.co.uk/forums/support/me-yat.jpeg)  Posts: 333 Status: Offline Gender: Male Location: In a very lonely place, the domain of despair Age: 35 Joined:  
  pmskypemsnyahooxfire |  | 
Michael Moderator
      
 
 ![[Avatar]](http://av.wservices.co.uk/av.png)  Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:  
  Additional Groups:  Coding Team
    
 
 
  pmvForum | | Re: Progress bar for posting ranks (27th Apr 10 at 4:51am UTC) |  |  | I updated my code in my previous post, (the first section only), please recopy. |  |
 
  | 
Aiken Full Member
    
 
 ![[Avatar]](http://uploads.virtualforums.co.uk/forums/support/me-yat.jpeg)  Posts: 333 Status: Offline Gender: Male Location: In a very lonely place, the domain of despair Age: 35 Joined:  
  pmskypemsnyahooxfire |  | 
Michael Moderator
      
 
 ![[Avatar]](http://av.wservices.co.uk/av.png)  Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:  
  Additional Groups:  Coding Team
    
 
 
  pmvForum | | Re: Progress bar for posting ranks (27th Apr 10 at 10:26pm UTC) |  |  the for doesn't require them. Try adding quotes around the digits .... eg:
  "5", "10", "50" etc... |  |
 
  | 
Aiken Full Member
    
 
 ![[Avatar]](http://uploads.virtualforums.co.uk/forums/support/me-yat.jpeg)  Posts: 333 Status: Offline Gender: Male Location: In a very lonely place, the domain of despair Age: 35 Joined:  
  pmskypemsnyahooxfire |  | 
Michael Moderator
      
 
 ![[Avatar]](http://av.wservices.co.uk/av.png)  Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:  
  Additional Groups:  Coding Team
    
 
 
  pmvForum | | Re: Progress bar for posting ranks (27th Apr 10 at 10:50pm UTC) |  |  The code works flawlessly on my forum (as posted in my last post)... you have this in your headers:
  <script>SetDisLink(Guest);</script> 
  (might be in the Welcome Table Template) .. remove it, as it's returning an errror. |  |
 
  | 
Aiken Full Member
    
 
 ![[Avatar]](http://uploads.virtualforums.co.uk/forums/support/me-yat.jpeg)  Posts: 333 Status: Offline Gender: Male Location: In a very lonely place, the domain of despair Age: 35 Joined:  
  pmskypemsnyahooxfire |  | 
Michael Moderator
      
 
 ![[Avatar]](http://av.wservices.co.uk/av.png)  Recoding the future Posts: 4,043 Status: Offline Gender: Male Location: UK Joined:  
  Additional Groups:  Coding Team
    
 
 
  pmvForum | | Re: Progress bar for posting ranks (27th Apr 10 at 11:14pm UTC) |  |  | Is it at the bottom of your global header?  |  |
 
  | 
Aiken Full Member
    
 
 ![[Avatar]](http://uploads.virtualforums.co.uk/forums/support/me-yat.jpeg)  Posts: 333 Status: Offline Gender: Male Location: In a very lonely place, the domain of despair Age: 35 Joined:  
  pmskypemsnyahooxfire |  |