The 2020 Weight Loss Thread!

Status
Not open for further replies.
@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

774394
 
@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

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.
 
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.
Good stack, If I can add something, order of weight loss percentage
 
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
Thanks Thor. That's awesome.
 
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.
Leader board should be based on percentage weight loss.

What do I get when I win
 
Going down....
c33e21db9c64d0c15bc02bb9d67d4a9a.jpg
 
101.4kg this week. Up 600g after a terrible week in Zimbabwe for work. Had very little choice in what to eat and what was on offer was all deep fried, literally everything :(
 
Status
Not open for further replies.
Top
Sign up to the MyBroadband newsletter
X