Paid affiliate advertisement

Cyclist Training Log Project

Cycler - November 29, 2005 - 01:13

I’m curious to know if anyone would be interested in a small and *hopefully* simple project. From what I’ve read, it seems a pretty straight-forward customization using the forms module. However, I can also see that it is beyond my capabilities. I’m hoping that this task which seems intimidating to me might seem easy to an experienced programmer.

Here’s the gist of it…

We have a small group of cyclists using a simple table on Quickbase.com (online flatfile database service) to keep track of our training rides. Each member of the group has access to all records and can view and sort them in a few different ways and get some subtotals, nothing fancy… The most useful view is to see total mileage since the beginning of the calendar year, subtotaled by user. Views of prior years are also used for comparison.

There are about 10 fields:

Indoor/Outdoor: - pull down True/False type field
Date: - date
Hours: - number
Minutes: - number
Seconds: - number
- Hours, Min, Sec, three fields now, could be one but needs to be able to be used to calculate average speed
Miles: - number, 2 decimal places
Max Speed: - number, 1 decimal place
Avg Speed: - number, 2 decimal places (calculated by database)
Weight: - number, 1 decimal place
Picture: - link to photo (ideally uploaded at time of data entry, but this entire field could be separate or simply be eliminated if it complicates things)
URL: - url reference
Bike: - text
Comments: - text
Recent Purchases: - text

The only other nifty feature from Quickbase.com is that all users are notified by email when a record is added. It seems that the Drupal mailhandler, already in use at my site, should handle this.

If this is truly a simple application, the “wish list” I would have would expand functionality to allow multiple training groups to be setup in Drupal, each sharing data among themselves but not with other groups. Finally, it would be good to have a way for individuals to track their own training data and have it only accessible to themselves. Again, these items are far from critical and can be dropped if they complicate matters.

Given our modest fees to Quickbase, I could probably only justify $50 - $100 for such a project. If this is way out of whack, I’d be curious to know what the true cost of something like this would be. It’d be helpful as other ideas come up for my site, which hopefully will be expanding to a much wider audience next cycling season.

I'd appreciate any and all feedback. You can post a reply or reach me via email by looking up my contact info on this site.

Thanks,
Tom

node access, flexinode and Ssubscriptions

travischristopher - November 29, 2005 - 03:50

All you need is to set up and configure node_access, subscriptions and create a flexinode type.

Travis Christopher

SportTracks

SpzToid - November 29, 2005 - 04:09

Yes, I think Drupal is all you need, not Quickbase.com.

Also, have you considered using SportTracks, and either a heart meter, or heart meter/GPS combo for cyclists' data input? If you haven't then I suggest you google SportTracks right away.

Your project sounds a lot like Motionbased.com, once you combine SportTracks with a web application server like Drupal.

Drupal integrates well with GoogleMaps (and Yahoo maps, and...), and has a number of other event-driven organization features too.

I'll do it... If I can work out a good way of implementing it?

pobster - November 29, 2005 - 11:50

I don't think (if its going to be good) that flexinode will be sufficient as it has no facility for error checking. For example, if say someone enters: "26miles" - a flexinode textfield will accept it as valid. But, of course if you wish to do calculations on the field then it needs to be checked that it's numeric. Plus... There's nothing in flexinode which nicely shows whats been entered, it needs too much customizing to show for instance (thinking out loud):

o A list of all your training rides as clickable links to the full 'write-up'
o Maybe included in that list would be:

  • date
  • miles
  • average speed?

Writing a new module for it would be *much* better :o)

I've VERY nearly finished with my first module (tablemanager) and I run a cycle shop/ cyclists website (http://www.ciclosuno.com) as well. So it's in my interests to create a 'training diary' node type. I'll see what I can do ;o)

Pobster

How can I help?

Cycler - November 29, 2005 - 15:57

Pobster-

Glad to find another cycling enthusiast in the Drupal community... a cycling specific training log module would be an awesome addition!

You bring up good points about making this a more robust application, which would be quite useful for my site. It would allow me to expand this feature beyond a few friends... the public site is about cycling in the state of Massachusetts here in the US, with forums for organizing group rides, sharing route tips, etc. so a training log would probably be well received by the site's general population, as well as my core group of friends....

Let me know what I might be able to do to help. If it would be useful, I could probably get you read-only access to our current Quickbase training log. I beleive you would just need to sign up for the free Quickbase account.

Thanks for your interest.

Tom

Very helpful...

Cycler - November 29, 2005 - 15:49

Thanks for the tips... I had not come accross flexinode in my prior research... looks like it could do the trick...

However, the site I'm building could expand beyond use by the small group now, so the points about data validation and summary views are well taken...

I will also look into SportsTracks and the Google integrations... the more I learn about Drupal, the more I like it...

Nearly done...

pobster - December 9, 2005 - 19:50

Okay... I'm verrrry nearly done with this module, just need to do a stats type page and then I need to 'beautify' it a LOT as its quite messy ;o)

Watch this space...

...By the way... Yeah would like to see how you're doing it at the moment - what exactly do I need to do to be able to try it out?

Pobster

Good deal... I'll be very

Cycler - December 12, 2005 - 01:55

Good deal... I'll be very anxious to try it out...

To see our current system, sign up for a free account at quickbase.com and then email me your quickbase user id.

Cycling Project

Cycler - July 24, 2006 - 01:56

Like to revive this topic to see if there is any new information or tools available, or if anyone is willing to take this project on. I've got a cycling tour book that is about to launch in September and this would be a great feature for the companion web site.

Wow! You should have

pobster - July 27, 2006 - 08:23

Wow! You should have prodded me ages ago about this module! I forgot all about it!!! I actually did nearly finish a 4.6 version before I more or less became homeless ;o) I'm afraid I'm only using 4.7 now and the code won't transfer well onto the new formsAPI... I've got a few things I need to finish up first, but yes I'll get on with rewriting it for 4.7 very soon.

VERY sorry I forgot I said I'd do this!

Pobster

Cylcling Log Project Complete

cumidrupal - June 22, 2008 - 17:13

I've completed a project I call Travel Log that was originally developed to be a cycling log. It addresses many if not all the functionality requested in this project.

To read more about it go to:

Travel Log

Here it is in a nut shell:

  • Provides user ability to manage multiple travel (cycling) logs
  • Provides site administrators to manage multiple travel log groups (cycling clubs, help facilitate competition between groups)
  • Makes use of Open Flash Charts API to provide graphical summaries - individual user and overall site dashboards
  • Provides user ability to manage multiple vehicles (bikes)
  • Validates user input
  • Uses normalized table structures for better data analysis and report creation

I'm waiting for maintainer privileges from drupal. Once I get it, I will maintain it as a drupal module.

It's also available for *use at your own risk* testing from my site at the link above.

Denied maintainer / contributor privileges

cumidrupal - June 22, 2008 - 18:45

Looks like the Drupal CVS Administrators do not see this module as worthy of being a new module. I will continue to develop and maintain this module independently of the Drupal.org site.

Spoke to soon

cumidrupal - June 23, 2008 - 00:24

I reapplied for CVS access. This time I provided much more documentation, a more comprehensive description, and links. I've been granted access, so I'll be reading up on contributor conventions and best practices. I am worthy ;)

I'll update once the module is available on drupal.org.

Refreshing this thread... Way

murrdogg - April 3, 2009 - 12:35

Refreshing this thread...

Way to go chaosinbalance! This is a great module!

I started looking for something like this today and found this thread. I'm hoping to generate some new interest in this subject.

I am Vice-President and webmaster of the Bicycles Plus Cycling Club in Nova Scotia, Canada. I have recently put together a Drupal 6.0 website with an attached SMF forum. (The club really wanted the forum!) I am now looking at adding some cool functionality to the site and I thought a cycling log for the club would be a great feature. Many of our riders have GPS systems that they use everyday and all record and post their stats in the forum, but I'd like a way to keep track and show off some of this information on the site.

First of all, that SportTracks software looks really comprehensive and cool, but does anyone have any experience using it? I'm worried that it may be too much. How easily can it integrate into Drupal?

I am not an advanced Drupal developer, only started in the fall last year. I am primarily a CSS and HTML developer with some scripting experience and enough PHP to get by. I may look into this Travel Log module and see if it does the trick. It looks simple and clean enough that our club riders, many of whom are not computer savvy, will use it.

If there are any updates to this info. Please post back and let me know. I'd like to get this ball rolling again. Or wheel spinning, whatever!

Thanks.

Joining thread

mikew_is - July 8, 2009 - 04:49

I would like to join this thread as well - I have tried to install the Travel Log but got many DB errors on drupal-6.13 :( I am quite a newbie as well and have been searching for something like this for a while.

I have also tried using trackfield to connect with garmin, but so far have been unsuccessful.

Any help on travellog will be great

For both of you, what have

trevorwh - July 8, 2009 - 06:59

For both of you, what have been the issues with Travel Log (http://drupal.org/project/travellog) and Trackfield (http://drupal.org/project/trackfield)?

All the best,

Trevor White
CEO, webdevwithtrev
http://www.webdevwithtrev.com

Thanks

mikew_is - July 8, 2009 - 07:15

Hey trevowrwh

Thanks for the pointers. As a newbie I am finding it hard to understand how things are working. However I have now managed to install travellog, but have the following problems which are not documented in the project directory (I have since added my issues there), http://drupal.org/node/513324

I am unable to add a group and am unable to get any view on the dashboard.
I have added a group via mysql, but have no idea if i gave it the right key, or if i need to add anything else....

 
 

Drupal is a registered trademark of Dries Buytaert.