Jump to content

Welcome to TrackJunkies.Org
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. If you already have an account, login here - otherwise create an account for free today!
Photo

tracklaps.net - build thread.


  • You cannot start a new topic
  • Please log in to reply
192 replies to this topic

#181
lobster

lobster

    TRACKJUNKIE

  • Junkies
  • PipPipPipPipPip
  • 522 posts
  • LocationHouston
  • Track Vehicle:2015 Corvette Z51

you can now edit tire sets. 

 

that marks a milestone for me. 

 

you can edit vehicles, tires & laps. 



#182
AhmadHasib

AhmadHasib

    Track Freak

  • Junkies
  • PipPipPipPip
  • 149 posts
  • LocationSugar Land, Texas
  • Track Vehicle:1995 Mazda Miata

For Video URL and Data file link, maybe you can put an IF statement hiding the link buttons if cell is empty.



#183
lobster

lobster

    TRACKJUNKIE

  • Junkies
  • PipPipPipPipPip
  • 522 posts
  • LocationHouston
  • Track Vehicle:2015 Corvette Z51

For Video URL and Data file link, maybe you can put an IF statement hiding the link buttons if cell is empty.

 

 

That would make usability considerably better. 



#184
turbogrill

turbogrill

    Track Enthusiast

  • Junkies
  • PipPip
  • 10 posts
  • LocationAusti
  • Track Vehicle:280ZX

Maybe make it possible to add a comment to your lap times.

For instance if there was a lot of traffic on the track, during a race, might be something worth mentioning in the video etc.



#185
lobster

lobster

    TRACKJUNKIE

  • Junkies
  • PipPipPipPipPip
  • 522 posts
  • LocationHouston
  • Track Vehicle:2015 Corvette Z51

Maybe make it possible to add a comment to your lap times.

For instance if there was a lot of traffic on the track, during a race, might be something worth mentioning in the video etc.

 

done.  

 

I had added it yesterday to new lap creation but didn't update the edit lap page. 

 

That is completed so you can add notes to existing laps. 



#186
lobster

lobster

    TRACKJUNKIE

  • Junkies
  • PipPipPipPipPip
  • 522 posts
  • LocationHouston
  • Track Vehicle:2015 Corvette Z51

I'm taking this time to make an update on lap edit to dynamically load tracks ( i had  been typing out tracks manually on the lap edit page) 



#187
BryanPendleton

BryanPendleton

    Track Freak

  • Junkies
  • PipPipPipPip
  • 424 posts
  • LocationHouston
  • Track Vehicle:2001 C5, 1999 SM

So, if I copy the "shortened" youtube link into my lap, I get an error when trying to view the video.  When I copy in the full URL link into my lap record it works.

 

Bad: http://www.tracklaps...link.php?ID=189)'> 

Good: http://www.tracklaps...link.php?ID=188



#188
lobster

lobster

    TRACKJUNKIE

  • Junkies
  • PipPipPipPipPip
  • 522 posts
  • LocationHouston
  • Track Vehicle:2015 Corvette Z51
Yep I'm aware I have a php scrip that disects a YouTube URL and gives me the Id to show it in the embedded player.

The shortened URL breaks the script so I have to extend it.

#189
AhmadHasib

AhmadHasib

    Track Freak

  • Junkies
  • PipPipPipPip
  • 149 posts
  • LocationSugar Land, Texas
  • Track Vehicle:1995 Mazda Miata

Yep I'm aware I have a php scrip that disects a YouTube URL and gives me the Id to show it in the embedded player.

The shortened URL breaks the script so I have to extend it.

 

Are you doing all the coding yourself? I miss my database days.



#190
lobster

lobster

    TRACKJUNKIE

  • Junkies
  • PipPipPipPipPip
  • 522 posts
  • LocationHouston
  • Track Vehicle:2015 Corvette Z51
Yah most of it I have a friend helping me with angular and some of it is google code

#191
lobster

lobster

    TRACKJUNKIE

  • Junkies
  • PipPipPipPipPip
  • 522 posts
  • LocationHouston
  • Track Vehicle:2015 Corvette Z51

So, if I copy the "shortened" youtube link into my lap, I get an error when trying to view the video.  When I copy in the full URL link into my lap record it works.

 

Bad: http://www.tracklaps...link.php?ID=189)'> 

Good: http://www.tracklaps...link.php?ID=188

 

 

Many different youtube URL formats should work now.  

 

Your "bad" link is now "good" 
 

 

Next I'm going to add some logic that won't display the video player if there isn't a valid ID garnered from whatever data provided (or not provided) 



#192
lobster

lobster

    TRACKJUNKIE

  • Junkies
  • PipPipPipPipPip
  • 522 posts
  • LocationHouston
  • Track Vehicle:2015 Corvette Z51

fixed a bug on the lap edit page that would sometimes prevent the track name from changing. 

 

 

 

I'm shooting for 100 laps before I'll consider this thing even moderately successful.



#193
lobster

lobster

    TRACKJUNKIE

  • Junkies
  • PipPipPipPipPip
  • 522 posts
  • LocationHouston
  • Track Vehicle:2015 Corvette Z51

added some logic, if no video url is provided video player will not load  

 

Next I will dynamically remove the links in the tables on the lap pages if no video or data is available.