South Africa’s biggest forum. Discuss, discover, and connect with thousands of members.
It's really not needed - but if you guys absolutely want to then: https://erikthiart.com/donations.php@Thor is there a way we could support you for doing this?
F)kkit, if I could eat Sushi every day, I wouldSushi bra.
K@k is I'm in there with Jakkals and Live666I see some heavies...
So What is your Tonnage again??K@k is I'm in there with Jakkals and Live666![]()
I believe it's 137 kgSo What is your Tonnage again??
@Thor how do you stack the leader board on the site? Looks like it only does join order, because ATM I should be at the top, for now
View attachment 774394
number_format(($user_stats['starting_weight'] - $user_stats['current_weight'])/($user_stats['starting_weight'] - $user_stats['goal_weight']),2);
Good stack, If I can add something, order of weight loss percentageUntil everyone/most are registered it's oldest to newest - when more join I will take some time and implement data tables instead to handle the progress as the sort order - the reason I am not doing it at the moment is because that thing is generated on the fly and not from SQL.
The code is:
Code:number_format(($user_stats['starting_weight'] - $user_stats['current_weight'])/($user_stats['starting_weight'] - $user_stats['goal_weight']),2);
What I should do instead is store these values in a table.
Thanks Thor. That's awesome.Hey guys,
@Sinbad asked me to build this for you guys.
Enjoy.
(After the weight data is there I will write a script to generate an image from the leaderboard and then that can be shared in the OP.)
Note:
Passwords are hashed and not stored, so no way to see it.
The email is to prevent someone from stealing forum usernames.
Screenshots:
View attachment 774048
View attachment 774050
View attachment 774052
I will do when I'm back in gauteng
Leader board should be based on percentage weight loss.Until everyone/most are registered it's oldest to newest - when more join I will take some time and implement data tables instead to handle the progress as the sort order - the reason I am not doing it at the moment is because that thing is generated on the fly and not from SQL.
The code is:
Code:number_format(($user_stats['starting_weight'] - $user_stats['current_weight'])/($user_stats['starting_weight'] - $user_stats['goal_weight']),2);
What I should do instead is store these values in a table.

The knowledge that you accomplished your goal. And the resolve that you might accomplish your next one.Leader board should be based on percentage weight loss.
What do I get when I win![]()