Jump to content

Featured Replies

Posted

Hello Invision Team.

The rank progress bar in the personal menu is calculated incorrectly, if your rank is higher than the lowest rank.

The bar is counting as if the progression to the next Rank would start from 0 points. So if you have just been promoted to the next rank then the bar starts not empty (as it should), but instead is already almost completely filled.

grafik.png

Here is what is currently used to calculate the width of the bar (untouched default theme):

grafik.png

This calculation does not take into account that the points needed to get the next rank do not start from zero but from the starting point level of the current rank.

So the correct calculation would be:

calc((myCurrentPoints-currentRankStartPoints) / (nextRankStartPoints-currentRankStartPoints) * 100%)

So in my case this would be:

calc((2949-2600) / (3900-2600) * 100%)

Which would be 27% (which is correct) instead of 75%.

Could you please fix this (please fix for v4.7).

Edited by Christian Meixner

Thank you for bringing this issue to our attention! I can confirm this should be further reviewed and I have logged an internal bug report for our development team to investigate and address as necessary, in a future maintenance release.

Recently Browsing 0

  • No registered users viewing this page.