Page 10 of 13

Re: Meterboard 2 - bugs and feature requests

Posted: Thu Nov 01, 2018 7:28 am
by Thomas W-P
Tritorow wrote:It is there now, Thomas. Took several hours or you fixed it, but either way all is good!
The challenges are updated every 4 hours, the meterboard, every hour. Hope that helps!

Welcome on board Image

Re: Meterboard 2 - bugs and feature requests

Posted: Fri Nov 30, 2018 7:39 am
by Swinny
Hi Thomas, just a little thing I noticed on the meterboard, I'm not showing having done the holiday challenge 50k or 100k snowman. I'm Jim Swinfield on the Meterboard. Thanks

Re: Meterboard 2 - bugs and feature requests

Posted: Fri Nov 30, 2018 8:06 am
by Thomas W-P
Yeah, that was interesting. My code was confused for some reason but it looks like it is working now. I think C2 might have changed something their end. We have been using the filtered "Free Spirits" page for the screen scrape, but somehow the code didn't like it any more. It now goes to the generic page and trawls through.

C2 were going to give me an API years ago, they even sent me some example XML to play with but I think they lost interest/ran out of money/didn't publicise it.

Re: Meterboard 2 - bugs and feature requests

Posted: Sun Dec 02, 2018 10:10 pm
by Thomas W-P
Erk. Updated the php on the server to 7.2 and the Meterboard exploded. Think it is fixed now. It actually rolled the season over! This will need unpicking :(

Re: Meterboard 2 - bugs and feature requests

Posted: Sun Dec 02, 2018 10:10 pm
by Thomas W-P
Erk. Updated the php on the server to 7.2 and the Meterboard exploded. Think it is fixed now. It actually rolled the season over! This will need unpicking :(

Re: Meterboard 2 - bugs and feature requests

Posted: Mon Dec 24, 2018 11:11 am
by Thomas W-P
It has been reported that the Snowmen are not updating. I have looked at this and have found that although my code asks for the "Free Spirits" data page, the C2 site returns the full set of results (180+ pages). The script also asks for the next page in the honour board but keeps getting the first one. I am not sure why this might be. It is very confusing.

I am at a bit of a loss what to do. Plus it is Christmas Eve, so I am going to have to put it on the back burner.

Later:
This is driving me nuts. If I remove the code from the page and put it in its own separate testing page, it works fine.
If I hard code the string for the url (copying and pasting it from the output of the code that does not work!), it works fine.
But the code itself doesn't work.

Re: Meterboard 2 - bugs and feature requests

Posted: Wed Jan 02, 2019 6:08 pm
by Thomas W-P
This is now fixed. Sadly, it was my dodgy code at fault. Thanks to Tako for pointing me in the right direction. Image

Re: Meterboard 2 - bugs and feature requests

Posted: Wed Jan 30, 2019 7:18 am
by Tako
In case you wonder where the snow on the meterboard comes from; it is not a bug.
I added (with Thomas’ help) an icon for the VTC.
If you have a better icon, as January is not as snowy everywhere as in Norway (I have more than half a meter in my backyard), we can swap it in.

Re: Meterboard 2 - bugs and feature requests

Posted: Fri Mar 01, 2019 10:38 pm
by Tako
Does anyone remember whether the C2 mud challenge had its own icon on the meterboard?

I thought that we had it earlier, but when trying to activate it for this season I could not find it anywhere. Also when looking at the last two season’s meterboard it was not there.

Will keep investigating and plan to add it before the end of the month.

Re: Meterboard 2 - bugs and feature requests

Posted: Fri Mar 01, 2019 10:58 pm
by Thomas W-P
It was a sort of splat icon I think? I'm abroad and busy this weekend (riding the Spring classics in Belgium) so it will have to wait before I can look at it.

Re: Meterboard 2 - bugs and feature requests

Posted: Sat Mar 02, 2019 6:43 am
by Tako
No stress Thomas, the challenge runs until the end of the month and people need to row 5k/10k or 2,5k for adaptive/junior on 25 days to earn the icon, so we have plenty of time!
Enjoy your weekend/ride!

Re: Meterboard 2 - bugs and feature requests

Posted: Sat Mar 02, 2019 4:45 pm
by lcantey
Thomas W-P wrote: Fri Mar 01, 2019 10:58 pm It was a sort of splat icon I think? I'm abroad and busy this weekend (riding the Spring classics in Belgium) so it will have to wait before I can look at it.
Muddy footprints?

Meterboard 2 - bugs and feature requests

Posted: Sun Mar 03, 2019 9:31 pm
by Tako
Yes, I also somehow recall muddy boot prints.

Had a first go at it today, but it looks like I have some work to do with fixing small stuff, but confident that I will fix it by the end of the month ;-)

Known issues so far:
- people getting double icons (those doing the 10k should not also get the 5k)
- people without meters in the meterboard got the icon (as meterboard only shows row erg meters, while challenge also accepts ski erg and bike erg)
-wrong icon (currently same for all and should be boot prints)

Re: Meterboard 2 - bugs and feature requests

Posted: Mon Mar 04, 2019 9:15 pm
by Tako
Thanks to great teamwork it is all sorted out. So now we just need to put in the meters to earn the icon, which is one of the toughest!

Re: Meterboard 2 - bugs and feature requests

Posted: Tue Apr 02, 2019 4:55 pm
by MaxMacLaren1
Hi Thomas,

I installed the recent C2 software update on the 28th of March and it has impacted on the meterboard showing all my season meters on the 28th. It's not really an issue because it hasn't doubled the season total but thought you would want to know. It is a pity it didn't double my meters because it would have been nice to overtake Tako :lol:.


20190402_184319.jpg
20190402_184319.jpg (433.97 KiB) Viewed 4863 times

Re: Meterboard 2 - bugs and feature requests

Posted: Tue Apr 02, 2019 7:05 pm
by Tako
Hi Max
You are welcome to try ;-)
The explanation I think is that on days where you delete workouts in a way that the total gets negative, the days total gets confused. It has no bad effects except for the impressive number. As you rightly pointed out totals are not affected.
That is what happened to me when doing some SkiErg meters and noticing that it added to my Lifetime total. When I removed it, I saw the same as you.
There is only one real way to get the meters; hard work!

Re: Meterboard 2 - bugs and feature requests

Posted: Wed Apr 03, 2019 9:53 am
by MaxMacLaren1
Thanks Tako. I'll be happy to break 2mm this season and it would be nice to be top 20.

Re: Meterboard 2 - bugs and feature requests

Posted: Sat May 11, 2019 3:54 pm
by Swinny
Hi, I just completed a full marathon for the challenge that is running at the minute, and I haven't been given a red foot on the meter board. My 3 half marathons are under the black foot. I only did it for the Red foot so if it can be fixed I would very much appreciate it. Cheers Jim

Meterboard 2 - bugs and feature requests

Posted: Sat May 11, 2019 4:10 pm
by Tako
Hi Jim, it might take some hours before it pops up. But if it does not appear at all, I am sure Thomas can fix it.

Re: Meterboard 2 - bugs and feature requests

Posted: Sat May 11, 2019 4:56 pm
by Swinny
Whoooooooow

Re: Meterboard 2 - bugs and feature requests

Posted: Sat May 11, 2019 8:07 pm
by Tako
For me your red feet are displayed now :-)

Re: Meterboard 2 - bugs and feature requests

Posted: Sat May 11, 2019 10:17 pm
by Draggon
It's amazing what some people will do for a red foot! ;) :D

Re: Meterboard 2 - bugs and feature requests

Posted: Wed Jun 26, 2019 11:08 am
by Phil Lamb
Hi,
Board not displaying on my iPhone this morning. Is it me?
Cheers

Re: Meterboard 2 - bugs and feature requests

Posted: Wed Jun 26, 2019 11:14 am
by Thomas W-P
It appears not. I'll take a look after work.



Re: Meterboard 2 - bugs and feature requests

Posted: Wed Jun 26, 2019 11:37 am
by Phil Lamb
I went back in and hit the update button, what ever you've done it is now displaying correctly.
Cheers