Page 1 of 2

New site for target sig images

Posted: Sun Feb 26, 2012 7:10 pm
by DarrenM
Can you guys try this site and see how you get on with it?

http://statmonkey.is-a-geek.net/cycling/" onclick="window.open(this.href);return false;

Cookies for remembering the login aren't working for some reason, but the rest should be.

It only has the sig image and progress graph at the moment. Hopefully now that the tricky bits are in place I can get the other stuff done quickly.

Do any of you use the garmin site? I'd like to see if it's possible to add an option to get the data from there as well. It does Strava and Bike Journal at the moment.

It would be best if we keep it to ourselves for a few days to make sure everything is working before taking it to BNA etc.

Re: New site for target sig images

Posted: Sun Feb 26, 2012 7:12 pm
by norbs
DarrenM wrote:Can you guys try this site and see how you get on with it?

http://statmonkey.is-a-geek.net/cycling/" onclick="window.open(this.href);return false;

Cookies for remembering the login aren't working for some reason, but the rest should be.

It only has the sig image and progress graph at the moment. Hopefully now that the tricky bits are in place I can get the other stuff done quickly.

Do any of you use the garmin site? I'd like to see if it's possible to add an option to get the data from there as well. It does Strava and Bike Journal at the moment.

It would be best if we keep it to ourselves for a few days to make sure everything is working before taking it to BNA etc.

Excellent Darren. Will give it a go.

Re: New site for target sig images

Posted: Mon Feb 27, 2012 9:16 am
by Brett_S
All good Darren :)

Thanks for setting it up

Re: New site for target sig images

Posted: Mon Feb 27, 2012 10:55 am
by norbs
Darren, can you look at this one..


http://statmonkey.is-a-geek.net/cycling/sig?id=83" onclick="window.open(this.href);return false;

It is reporting WAY over what he has done.

Re: New site for target sig images

Posted: Mon Feb 27, 2012 11:58 am
by Speed
Done, thanks Darren.

Re: New site for target sig images

Posted: Mon Feb 27, 2012 12:09 pm
by norbs
For id=83

Just my Strava number as instructed. I changed it to my son's number and it worked. Swapped back to mine and it went high again.


Sblack, who is strava # 6942 says this...

After a few attempts thanks to issue with work's system I finally got it to tell me the data was all fetched but mine is showing too few kilometres. Looking at the graph it hasn't got the rides from the start of the year, appears to be showing the past 5 weeks.

I used the number only.

Re: New site for target sig images

Posted: Mon Feb 27, 2012 12:18 pm
by DarrenM
For 83 it looks like he may have double clicked of the fetch button. I'll have to find a way to protect against that, but I've put a unique index on the table for the time being which should prevent it though it may cause ugly errors. I've deleted the rides so if he does the fetch again once it should fix it.

I'll look into sblack.

Speed, you'll need to change the source for yours to Bike Journal. If you've switched to strava you'll need to get your account id number from the strava site url.

Re: New site for target sig images

Posted: Mon Feb 27, 2012 12:32 pm
by DarrenM
Ah, problem for sblack and possibly a few others is that the strava site only returns 50 rows at a time so I only have his last 50 rides. Shouldn't be too hard to fix.

Re: New site for target sig images

Posted: Mon Feb 27, 2012 12:46 pm
by norbs
DarrenM wrote:Ah, problem for sblack and possibly a few others is that the strava site only returns 50 rows at a time so I only have his last 50 rides. Shouldn't be too hard to fix.

Excellent. Thanks Darren.

Re: New site for target sig images

Posted: Mon Feb 27, 2012 12:55 pm
by Speed
DarrenM wrote:Speed, you'll need to change the source for yours to Bike Journal. If you've switched to strava you'll need to get your account id number from the strava site url.
I had changed it & it's saying that my fetch is complete but when I click the Home button nothing has updated.
When I go back to the settings page, Strava is the default again.

Re: New site for target sig images

Posted: Mon Feb 27, 2012 1:10 pm
by DarrenM
You need to hit save for the changes before you hit fetch.

I need to change that fetch button because it can be confusing.

Re: New site for target sig images

Posted: Mon Feb 27, 2012 2:53 pm
by DarrenM
sblack should be fixed now. If anyone else found their total was too low and they've done more that 50 rides this year, go hit the fetch button and it should pick up the extra rides.

I've also changed the buttons on that page to try help avoid the fetch before save problem.

Re: New site for target sig images

Posted: Mon Feb 27, 2012 2:56 pm
by Speed
Thanks Darren.

Do I need to fetch data each day or just update Bike Journal as I have been.....or both? :)

Re: New site for target sig images

Posted: Mon Feb 27, 2012 2:59 pm
by Emjay
I've updated mine too now, and it looks like it's all working ok. Thanks Darren :yes:

Re: New site for target sig images

Posted: Mon Feb 27, 2012 3:00 pm
by Crowella
Yeah, does the fetching take a few minutes to appear on the image or as soon as the page is processed? I pressed mine and it read out 0km. I'm fairly sure i've done more than that.

Re: New site for target sig images

Posted: Mon Feb 27, 2012 3:02 pm
by DarrenM
No, Speed. It should automatically update each night from bike journal same as the other one did.

I just put the fetch button there so that people can run it when they sign up or want to have a big ride show straight away, as I do sometimes :)

Fetching from strava can take a minute or 2. It's a pretty shitty api they have because I have to call separately for each ride just to get the date and distance. Just wait until the loading icon is gone from the screen and it should tell you when it's finished.

Bike Journal should be done in a few seconds. Have you set your details to private by any chance?

If you can't see your figures here without being logged in, then neither will the site.
http://bikejournal.com/profiles.asp?rname=Crowella" onclick="window.open(this.href);return false;

Re: New site for target sig images

Posted: Mon Feb 27, 2012 3:05 pm
by Crowella
Hmm, interesting. What does this read to people?

Image

Re: New site for target sig images

Posted: Mon Feb 27, 2012 3:08 pm
by DarrenM
Oops, you replied as I was editing

Have you set your details to private by any chance?

If you can't see your figures here without being logged in, then neither will the site.
http://bikejournal.com/profiles.asp?rname=Crowella" onclick="window.open(this.href);return false;

Re: New site for target sig images

Posted: Mon Feb 27, 2012 3:11 pm
by Crowella
I just realised my other bar is frozen at 748km... hmm, wonder whats going on...

Edit: sorted :)

Re: New site for target sig images

Posted: Mon Feb 27, 2012 4:10 pm
by Duke
Darren, seems I didn't get the email after registering as Flinty72, anyway you can fix for me please?

Re: New site for target sig images

Posted: Mon Feb 27, 2012 4:39 pm
by norbs
I think we killed it. :(

Re: New site for target sig images

Posted: Mon Feb 27, 2012 6:06 pm
by DarrenM
Modem in the office has fucked up again :(

Fingers crossed I can convince my boss to buy a new one.

Re: New site for target sig images

Posted: Mon Feb 27, 2012 8:31 pm
by Duke
Forget my previous post, I found the email in my gmail spam folder. :doh: :wtf:
But yep she's a broken.... let us know if you restore it Darren.

Re: New site for target sig images

Posted: Tue Feb 28, 2012 2:23 pm
by DarrenM
New modem now, so give it a go. Fingers crossed it fixes the problem.

Re: New site for target sig images

Posted: Wed Feb 29, 2012 9:39 am
by norbs
I like the new fonts Darren. Looks cleaner, if that is the right descriptor.